Invoices (INV-*) are generated at the close of each billing period for each active Subscription. They consolidate charges from all Service Lines under that subscription into a single billable document.Every invoice line item traces to a LIN-* identifier. This makes invoice data directly reconcilable with usage summaries and execution records.Invoices are immutable once finalized. Draft invoices exist during the billing period as the accrual grows.
draft -> open -> paid | +-> void +-> uncollectible
Invoices move from draft (accruing usage) to open (issued, awaiting payment) at period close. Successful payment moves them to paid. Finance teams can void an invoice if there is a billing dispute.
Each line item on an invoice corresponds to one Service Line’s usage for the period. The line item shows the service_line_id, the billing model applied, the quantity consumed, the rate or price, and the total. This structure makes the invoice auditable at the delivery level.
# List all open invoicesGET /v1/invoices?organization_id=ORG-26-090500&status=open# Get full line item detail for each invoiceGET /v1/invoices/INV-26-001341# Download PDF for approval workflowGET /v1/invoices/INV-26-001341/pdf# Pay once approvedPOST /v1/invoices/INV-26-001341/pay
Each line item carries a service_line_id. Cross-reference that against Service Line project_tags to attribute costs to the correct internal projects or cost centres.
# Get the invoice line itemsGET /v1/invoices/INV-26-001341# For each line item, check the project tags on the service lineGET /v1/service-lines/LIN-26-084729 # -> project_tags: ["PROJ-26-004281"]
Build finance tooling against line items, not invoice totals. The total field is useful for payment flows, but cost attribution, reporting, and reconciliation require line-item-level data tied to service_line_id.
Subscribe to invoice.finalized webhooks. When an invoice moves from draft to open, the platform emits invoice.finalized. Use this to trigger finance approval workflows rather than polling.
Verify due_date before invoking POST /pay. Some plans have extended payment terms. Do not auto-pay immediately on invoice.finalized; respect the due date.