e-Boekhouden: Create relation
e-boekhouden_create_relatione-Boekhouden: Add a customer or supplier with name, address, email, VAT number and IBAN. Creates one relation. Only name is required; type defaults to business (B) and the code is generated if you leave it out. It reaches nobody and is undone in one call with update_relation (set inactive), so it does not wait for your OK. Check list_relations first so you do not create a duplicate. Needs the user's Cotlet API key with access to this app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Primary city. | |
| iban | No | IBAN. | |
| name | Yes | Company or person name. | |
| type | No | B (business) or P (private). Default: B. | |
| No | Email address. | ||
| address | No | Primary address. | |
| country | No | Primary country. | |
| vat_number | No | VAT number. | |
| postal_code | No | Primary postal code. | |
| email_invoice | No | Email address for invoices. | |
| term_of_payment | No | Default payment term in days. |