Create an invoice
create_invoiceMUTATES Quaderno data — create an invoice for a contact. Provide contact_id (or a contact via fields) and items; use fields for any other attribute (currency, issue_date, due_date, po_number, notes, tag_list, custom_metadata, payment_details). Each item = { description, quantity, unit_price, tax_1_name?, tax_1_rate?, discount_rate?, … }. Quaderno API: POST /invoices. Returns the created invoice (incl. permalink, pdf).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Line items, e.g. [{ description, quantity, unit_price, tax_1_name, tax_1_rate }]. | |
| notes | No | Free-text notes on the invoice. | |
| fields | No | Additional raw Quaderno fields merged into the request body (escape hatch for any field not typed above). | |
| currency | No | ISO 4217 currency code. | |
| due_date | No | Due date (YYYY-MM-DD). | |
| po_number | No | Purchase-order number. | |
| contact_id | No | The id of an existing contact to invoice. Omit only if you pass a full `contact` object via `fields`. | |
| issue_date | No | Issue date (YYYY-MM-DD). |