Skip to main content
GET
Error

Authorizations

authorization
string
header
required
X-Workspace-ID
string
header
required

Headers

X-Workspace-ID
string
required

Response

OK

Available merge fields for supplier invoices report templates. Fixed per report kind: the workspace and project records (project resolves to nulls unless the report is generated with a project_id) plus the supplier_invoices collection: one row per invoice, in list order. status / payment_status are labels; overdue the string "true"/"false"; purchase_orders the billed orders' numbers joined with ", "; amounts (format: currency) are "USD 1,234.50" strings in the invoice's currency, plain numbers without one. Plus supplier_invoice_items: each row's lines, nested in the rows.

workspace
object
required
project
object
required
supplier_invoices
object
required
supplier_invoice_items
object
required

Each row's lines, the same collection as in the single supplier invoice pdf. Never a list of its own: each row of supplier_invoices nests its lines under supplier_invoice_items ({{#each supplier_invoice_items}} inside {{#each supplier_invoices}}) when used_fields.collections names supplier_invoice_items.