Create Invoice
Authentication
Request
Required when calculationMethod is LINE_ITEMS and sections is not provided.
Flat array of line items (auto-grouped into one unnamed section).
Required when calculationMethod is LINE_ITEMS and lineItems is not provided.
Grouped line items with named sections. May be combined with lineItems (ungrouped items).
Required when calculationMethod is PERCENTAGE.
Optional; defaults to DRAFT when omitted. To finalize the invoice, set SENT,
PARTIALLY_PAID, or PAID — issueDate is then required. Lifecycle statuses
(DECLINED, OVERDUE) cannot be set at creation.
Issue date (ISO 8601). Optional. Applied only when status is SENT/PARTIALLY_PAID/PAID
(required for those); ignored for DRAFT invoices.
Due date (ISO 8601 datetime string)
Response
Calculation method (e.g., LINE_ITEMS)
