Create a contact
smallinvoice_create_contactWRITE: creates a new company contact (customer) in smallinvoice, with its main address. Needs the "contact" scope. POST /contacts. Nothing is sent to anyone. Private persons are not supported here (smallinvoice needs more fields for them): create those in smallinvoice. Check smallinvoice_list_contacts first so you do not create a duplicate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Main address: city. | |
| name | Yes | Company name, as printed on documents. | |
| No | E-mail address. | ||
| street | Yes | Main address: street and number. | |
| country | Yes | Main address: ISO country code, e.g. CH. | |
| currency | No | ISO currency, e.g. CHF or EUR. | |
| postcode | Yes | Main address: postcode. | |
| relation | No | Relation codes (default ['CL'] = client, as in the vendor's example). See the vendor docs for the others. |