Create a person or company
cashctrl_create_personDestructive
WRITE: changes the accounting records. Makes one request that is never repeated; check the result before trying again. Creates a customer, vendor or other contact. Give company, first_name or last_name (at least one). Search first with cashctrl_list_persons so no duplicate is created. POST /person/create.json.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nr | No | Person number, for example the customer number. | |
| company | No | Company name. | |
| vat_uid | No | VAT number (UID), for example CHE-123.456.789 MWST. | |
| contacts | No | E-mail addresses, phone numbers and websites. | |
| language | No | Language of documents for this person. | |
| addresses | No | Addresses. | |
| is_vendor | No | Mark as vendor. | |
| last_name | No | Last name. | |
| first_name | No | First name. | |
| category_id | No | Person category id. | |
| is_customer | No | Mark as customer. |