Proformas
Get a proforma
Returns a proforma by its identifier, the same card as GET /api: number, lifecycle and commercial status, customer, source order, project, currency and amounts.
invoices:readinvoices:read- 120/min
- Server annotation: Read-only
- Server annotation: Idempotent
Result
generated from the schema
It shares scope with invoices because a proforma is the invoice that is not one yet.
Arguments
Proforma identifier.
Limits: min length 1
Result
On success the result carries structuredContent with data and meta. These are the attributes of data.
Show the attributes of data
Proforma identifier.
Proforma number; null while it is a draft.
Document lifecycle status.
Commercial status: pending (awaiting an answer), confirmed (accepted by the customer) or cancelled; null if not recorded.
Issue date in ISO 8601 UTC; null while it has none.
Currency of the amounts, as an ISO 4217 code.
Contact the proforma is issued to; null if not recorded.
Show child attributesHide child attributes
Contact identifier.
Contact name.
Source order of the proforma; null if it does not come from one.
Number of that order; null if it does not come from one.
Project linked to the proforma; null if none.
Subtotal before discounts and taxes, as a decimal string.
Limits: pattern ^-?\d+\.\d{2}$
Total discounts, as a decimal string.
Limits: pattern ^-?\d+\.\d{2}$
Tax total, as a decimal string.
Limits: pattern ^-?\d+\.\d{2}$
Taxable base, as a decimal string.
Limits: pattern ^-?\d+\.\d{2}$
Total including taxes, as a decimal string.
Limits: pattern ^-?\d+\.\d{2}$
Advance payments received against the proforma, as a decimal string; null if none recorded.
Limits: pattern ^-?\d+\.\d{2}$
Creation date in ISO 8601 UTC.
Last modification date in ISO 8601 UTC.
An error is a result with isError: true and the problem in content[0].; there is no structuredContent. See Errors.
The same operation by REST
This tool runs GET /api/v1/proformas/{proformaId}.
Related pages
Link to this section: Related pagesProformas
Get a proforma
Returns a proforma by its identifier, the same card as
GET /api: number, lifecycle and commercial status, customer, source order, project, currency and amounts./v1 /proformas Guides
Safe writes
An assistant that can write can also write the wrong thing. Decide which tools need a person, retry without duplicating, and know what a write sets in motion.
Guides
Errors
A tool error is a result with
isError: trueand the problem in the first text block. Branch on itscode.
Was this page helpful?