billomat_create_draft_invoice
Destructive
WRITE: create an invoice as a DRAFT (Entwurf) for a client, with optional line items. The invoice is NOT completed, has no number yet and is NOT sent; review and complete it in Billomat. Nothing is charged.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Document date (yyyy-mm-dd; today when omitted). | |
| note | No | Closing note. | |
| intro | No | Introduction text. | |
| items | No | Line items (up to 200). More can be added to the draft later. | |
| label | No | Label / subject. | |
| title | No | Document title. | |
| due_days | No | Days until payment is due. | |
| client_id | Yes | The client id (from billomat_list_clients). | |
| net_gross | No | Whether prices are net or gross. | |
| contact_id | No | A contact of that client. | |
| currency_code | No | ISO currency code, e.g. EUR (account default when omitted). |