Book Invoice
Access
Member of the organization with this permission:
invoices:book
An API key with scopes also needs the permission among its scopes.
Books an invoice, transitioning it from draft to final state. With force: true, users with invoicing:correct may book offer-only extend-occupation lines. With ledgerBalanceOverride, users with invoicing:override-ledger-balance may take a customer's balance on a guarded ledger below zero; the motivation is recorded on the timeline.
ApiKeyAuthx-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
dueDateDays?integer0 <= value <= 365force?booleanledgerBalanceOverride?OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//invoices/string/book' \ -H 'Content-Type: application/json' \ -d '{}'nullPreview invoice bundle lines POST
Resolves bundle child lines for a product with metadata.invoiceBundle using the same resolver and expand rules as replaceInvoice when that invoice rebuild runs for an anchor. Pass anchorLineQuantity when bundle steps use quantityScale anchor_line_quantity so preview matches the extend-occupation / period main line. When the anchor is Extend occupation period, pass terrainId so ICY meter steps match that terrain, and invoiceBillingAnchorEndDateIso (anchor endDate) when steps use extendAccessMethod. Pass invoiceItemsForBillOnceContext and anchorItemListIndex together so steps with billOncePerInvoice behave like replaceInvoice (shared steps only under the first eligible anchor in array order). Optional existingAnchorSnapshots aligns regenerate detection with the last-loaded invoice for preview.
Get Invoice Navigation GET
Gets navigation information for an invoice.