v1

latestOpenAPI 3.1.02026-08-066484183.6 MB
Invoices

Preview invoice

The preview endpoint lets you simulate invoice line item generation without persisting any changes. It returns the exact line items and invoice attributions that would be created for a given invoice based on the selected invoicing method and options.

  • Builds line items using the same logic as the line items "generate" method
  • Returns data only, does not modify the invoice
get/api/v2/invoices/{id}/preview

Path parameters

idstring required

ID

Headers

X-Organization-Idstring required

Organization ID

Response

Single invoice