Quote
ResponseA quote: an offer to a customer, numbered from the quote series, that never posts to the ledger. Accepted, it becomes a sales invoice (from_quote_id on create).
Returned in responses. Its enums are open: tolerate values not listed here, which later versions may add.
Attributes
32The rate the document is booked at: document-currency units per 1 book-currency unit. Frozen when the document is issued.
The organization's book currency (ISO 4217), always EUR; the book_ figures are in it.
net_total in the book currency: the sum of the lines' book_net_amount.
The VAT in the book currency: the VAT the document states in it when it states one, else the sum of the lines' book_tax_amount.
The document's total in the book currency, book_net_total plus book_tax_total: the figure the receivable or payable is booked at.
The date the document is booked at -- its ledger entry, the period checked and the VAT return it falls into. Equal to date unless the two were set apart.
Where exchange_rate came from. Null for a document in the book currency (its rate 1 is not looked up) and for a foreign-currency document with no rate yet.
Known values (open: expect new ones) ecb, manual, derived, import
The customer as printed on the document, snapshotted when it is saved.
5 attributes of party
The worst outcome of the document's e-mails; null when never sent. Precedence, worst first: complained, bounced, failed, delivered, sent, queued. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) queued, sent, delivered, bounced, complained, failed, held, previewed
How the document came in: live (entered here), opening (an open item of the opening state) or import (brought over from another system, its posting an imported transaction).
Known values (open: expect new ones) live, opening, import
Details
Exporters skip opening documents: they travel in the opening state. New values may be added: treat a value you do not know as valid, not as an error.
When the record or one of its lines last changed; the version an If-Match names.
Document kind, always quote. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) quote
The offer's lifecycle: draft, sent (e-mailed), accepted or declined. Expiry is derived (is_expired), never stored. New values may be added: treat a value you do not know as valid, not as an error.
Known values (open: expect new ones) draft, sent, accepted, declined
A sent quote whose valid_until has passed. It cannot be accepted or converted until valid_until is moved.
The lines, in order. In lists only with expand=lines.
19 attributes of each item
tax_amount in the book currency; the figure the VAT return reads.
Quantity, up to 10 fraction digits; a negative quantity is a return.
Net price per unit, up to 10 fraction digits (a price component is priced to the tenth of a cent); stored and answered as sent.
The tax code of the line, frozen when the document is issued.
net_amount plus the VAT billed on the line; a reverse-charge line bills none.
VAT rate in percent frozen on the line (24.00); null when the code has no rate.
Dimension values on this line.