Skip to content

Get Pro-Forma

Required scope: proforma:read

Returns one pro-forma document by its stable ID: status, total, currency, line items, and the linked invoice ID once it is converted. A pro-forma is an off-ledger preview, not a booked invoice. Amounts are integer minor currency units.

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

Returns a pro-forma document by its stable identifier.

Request GetProFormaRequest
Response GetProFormaResponse

GetProFormaRequest

Field Type Description
id string Stable identifier of the pro-forma to fetch.

GetProFormaResponse

Field Type Description
pro_forma ProForma The requested pro-forma.
{
"id": "<pro-forma-id>"
}
{
"proForma": {
"id": "<pro-forma-id>",
"customerId": "<customer-id>",
"orderId": "<order-id>",
"orderVersion": 2,
"status": "PUBLIC_PRO_FORMA_STATUS_FINALIZED",
"totalMinor": "151200",
"currency": "EUR",
"lines": [
{ "description": "Solar panel", "quantity": 8, "unitPriceMinor": "18900", "vatRate": 0.21 }
],
"invoiceId": "<invoice-id>",
"createdAt": "1737936000",
"finalizedAt": "1737939600"
}
}