Create a client
superfaktura_create_clientDestructive
WRITE: adds a new client to the SuperFaktura address book (only the name is required). Nothing is sent to the client. Not idempotent: calling twice creates two clients, so check superfaktura_list_clients first. POST /clients/create.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dic | No | Tax id (DIČ, Slovak). | |
| ico | No | Company id (IČO). | |
| zip | No | ||
| city | No | ||
| iban | No | ||
| name | Yes | Client name (company or person). | |
| No | Client e-mail (stored only; nothing is sent to it). | ||
| phone | No | ||
| swift | No | ||
| ic_dph | No | VAT id (IČ DPH in Slovakia, DIČ in the Czech Republic). | |
| address | No | Street and number. | |
| comment | No | Internal note on the client. | |
| country_id | No | Country id (superfaktura_list_countries); Slovakia is 191. Defaults to the instance's country. |