Add a client
client_addAdd or update a client by name for invoice reference. Reusing a name updates stored details; an exact duplicate is refused, returning the id that holds it.
Instructions
Store a client so invoices can refer to them by name. Re-adding the same name updates the stored details; a record identical to one already stored is refused, naming the id that holds it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| No | |||
| vat_id | No | Client VAT id, printed for reverse-charge invoices | |
| address | No |