TYPE REFERENCE
Quote
Referenced by 6 generated operations.
Documented fields
UTC time the quote was made.
Example:
"2026-08-29T04:30:00.000Z"The customer (see
customer).Example:
"0192f0c1-0000-7000-8000-0000000c0002"The customer’s name, so a list needs no second call.
Example:
"Bharat Hydraulics 2"The GST percentage asked for. The rate applied is
totals.gstRate.Example:
12Stable id (UUIDv7).
Example:
"0192f0c1-0000-7000-8000-000000b00002"The priced operations, in the order given.
Example:
[{"id":"0192f0c1-0000-7000-8000-000000b30015","operation":"Turning","description":"Pulley 90","minutesPerPiece":2.5,"setupMinutes":30,"ratePerMinute":800,"amount":424000},{"id":"0192f0c1-0000-7000-8000-000000b30016","operation":"Finishing","description":"","minutesPerPiece":0.5,"setupMinutes":0,"ratePerMinute":600,"amount":60000}]Show children
Integer paise: (quantity × minutesPerPiece + setupMinutes) × ratePerMinute, rounded half up to a whole paisa. Computed by the server.
Example:
424000Free text for the customer; empty when none was given.
Example:
"Pulley 90"Stable id (UUIDv7).
Example:
"0192f0c1-0000-7000-8000-000000b30015"Machine minutes for one piece.
Example:
2.5The operation priced, such as Turning.
Example:
"Turning"Paise per machine minute.
Example:
800One-off machine minutes to set up, charged once per line.
Example:
30
Material to use.
Example:
"EN8"The quote number, such as
QTN/26-27/0001. Assigned by the server.Example:
"QTN/26-27/0002"The order made from this quote; null until converted (see
order).Example:
nullPart name or number.
Example:
"Pulley 90"Pieces quoted.
Example:
200DRAFT or SENT. Whether it became an order is
orderId.Example:
"DRAFT"DRAFTBeing prepared; it can still be edited.SENTSent to the customer; no longer editable.
Subtotal, GST and total, all in paise, worked out by the server.
Example:
{"subtotal":484000,"discount":0,"taxable":484000,"gstRate":12,"supply":"INTER","cgst":0,"sgst":0,"igst":58080,"gst":58080,"total":542080}Show children
Central GST; 0 unless
supplyis INTRA.Example:
0The discount applied. Never more than the subtotal.
Example:
0Total GST: cgst + sgst + igst.
Example:
58080The GST percentage applied; 0 when
supplyis NONE.Example:
12Integrated GST; 0 unless
supplyis INTER.Example:
58080State GST; 0 unless
supplyis INTRA.Example:
0Sum of the line amounts.
Example:
484000Whether CGST + SGST or IGST applies.
Example:
"INTER"INTERDifferent states: IGST.INTRAShop and customer are in the same state: CGST + SGST.NONEThe shop has no GSTIN, so no GST is charged.
Subtotal less discount.
Example:
484000Taxable plus GST.
Example:
542080
UTC time of the last change.
Example:
"2026-10-12T04:30:00.000Z"
Used by
- convertQuoteToOrderMock
- createQuoteMock
- quoteMock
- quotesMock
- sendQuoteMock
- updateQuoteMock