Skip to content

List Pro-Formas

Required scope: proforma:read

Lists pro-forma documents for one customer. Optionally restrict to one orderId. pageSize is capped at 100. Pro-formas are off-ledger previews, not booked invoices.

Generated Reference
POST /public-api/publicapi.v1.ProForma/ListProFormas

Lists pro-forma documents for one customer with bounded pagination.

Request ListProFormasRequest
Response ListProFormasResponse

ListProFormasRequest

Field Type Description
customer_id string Customer whose pro-formas to list.
order_id optional string Restrict to pro-formas for one order.
page int32 Zero-based page index.
page_size int32 Page size, capped server-side.

ListProFormasResponse

Field Type Description
pro_formas repeated ProForma Pro-formas on the requested page.
total int32 Total pro-formas matching the filters.
{
"customerId": "<customer-id>",
"orderId": "<order-id>",
"page": 0,
"pageSize": 50
}
{
"proFormas": [
{
"id": "<pro-forma-id>",
"customerId": "<customer-id>",
"orderId": "<order-id>",
"orderVersion": 2,
"status": "PUBLIC_PRO_FORMA_STATUS_DRAFT",
"totalMinor": "151200",
"currency": "EUR",
"createdAt": "1737936000"
}
],
"total": 1
}