Preview invoice bundle lines
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.
ApiKeyAuthx-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
customerId*stringanchorProductId*stringanchorLineQuantity?numberterrainId?stringinvoiceBillingAnchorEndDateIso?string|nullinvoiceItemsForBillOnceContext?array<>anchorItemListIndex?integer0 <= value <= 9007199254740991existingAnchorSnapshots?array<>OK
application/json- response
[index: integer]?curl -X POST 'https://api.tillor.eu/orgs/string/invoices/preview-bundle-lines' \ -H 'Content-Type: application/json' \ -d '{ "customerId": "string", "anchorProductId": "string"}'[ { "description": "string", "quantity": 0, "taxPercentage": 0, "amountPerUnitWithTax": 0, "amountPerUnit": 0, "amountSubtotal": 0, "amountTax": 0, "amountTotal": 0, "productId": "string", "style": "DEFAULT", "actions": [] }]Update Invoice Automated Reminders POST
Keeps this invoice out of automated overdue reminder flows, or lets it take part again. An optional end date brings it back into those flows after that day. Other invoices of the customer are not affected.
Book Invoice POST
Books an invoice, transitioning it from draft to final state. With force: true, users with invoicing:correct may book offer-only extend-occupation lines.