Skip to main content

Quote Schema

Schemas

QuotationHeader_View

Paginated list response for quotation queries.

PropertyTypeDescription
page_nointegerCurrent page number
page_sizeintegerRecords per page
record_countintegerTotal matching records
quotesarray of QuotationHeaderQuote records
columns_idintegerView column config ID
columns_tilehtmlstringTile HTML template
columnsarray of ViewColumnsDetailsColumn configuration

QuotationHeader

The main quote object.

PropertyTypeDescription
idintegerQuote ID
titlestringQuote title
statusintegerQuote status code
datedatetimeQuote date
expiry_datedatetimeExpiry date
totaldoubleQuote total
carriage_descstringCarriage/shipping description
carriage_pricedoubleCarriage/shipping price
tax_total_estimatedoubleEstimated tax total
po_refstringClient PO reference
ponumberstringPO number
notestringInternal notes
scopestringScope of work
riskstringRisk assessment
ticket_idintegerAssociated ticket ID
user_idintegerContact/user ID
user_namestringContact/user name
site_idintegerSite ID
site_namestringSite name
client_idintegerClient ID
client_namestringClient name
agent_idintegerAgent ID
assigned_agentintegerAssigned agent ID
assigned_agent_namestringAssigned agent name
currencystringCurrency symbol
currency_codeintegerCurrency code ID
currency_conversion_ratedoubleCurrency conversion rate
approvalnamestringName of approver
approvalemailaddressstringApprover email
approvaldatetimedatetimeApproval timestamp
approvalnotestringApproval note
approvalstateintegerApproval state code
internal_approval_statusintegerInternal approval status
approval_startbooleanWhether approval process has started
requires_approvalbooleanWhether quote requires approval
can_approvebooleanWhether current user can approve
salesorder_idintegerAssociated sales order ID
_create_sobooleanTrigger: create sales order on save
linesarray of QuotationDetailQuote line items
signaturestringApproval signature
quote_viewedbooleanWhether quote has been viewed
portal_display_typeintegerHow quote is displayed in portal
last_update_timedatetimeLast modification timestamp
workflow_idintegerWorkflow ID
workflow_stepintegerCurrent workflow step
customfieldsarray of CustomFieldCustom field values

QuotationApproval

Payload for submitting a quote approval decision.

PropertyTypeDescription
idintegerQuote ID being approved
tokenstringApproval token
resultbooleanApproval decision (true = approved, false = rejected)
approvalnamestringName of approver
approvalemailaddressstringApprover email address
approvalnotestringApproval note or rejection reason
ponumberstringPO number provided on approval
signaturestringSignature data
optional_linesarray of QuotationDetailOptional line selections
customfieldsarray of CustomFieldCustom field values
messagestringMessage to include
countersignoutcomeintegerCounter-signature outcome
countersign_action_idintegerCounter-sign action ID

QuotationDetail

A single line item on a quote.

PropertyTypeDescription
idintegerLine item ID
qhidintegerParent quote header ID
sort_seqintegerDisplay sort order
productcodestringProduct code
namestringLine item name
descriptionstringLine item description
costpricedoubleUnit cost price
basepricedoubleBase unit price
net_totaldoubleNet total (read-only)
total_pricedoubleTotal price
total_taxdoubleTotal tax
total_discountdoubleTotal discount
tax_ratedoubleTax rate
discount_percdoubleDiscount percentage
margindoubleMargin
item_idintegerCatalogue item ID
item_skustringItem SKU
item_recurringbooleanWhether item is recurring
notestringLine item note
note_hiddenbooleanWhether note is hidden from client
optionalbooleanWhether line is optional
approval_statusintegerLine-level approval status
supplier_idintegerSupplier ID
supplier_namestringSupplier name
startdatedatetimeContract start date
autorenewbooleanAuto-renew flag
line_periodsintegerNumber of contract periods
group_idintegerLine group ID
customfieldsarray of CustomFieldCustom field values

OrderHead_View

Paginated list response for sales order queries.

PropertyTypeDescription
page_nointegerCurrent page number
page_sizeintegerRecords per page
record_countintegerTotal matching records
salesordersarray of OrderHeadSales order records
columns_idintegerView column config ID
columns_tilehtmlstringTile HTML template
columnsarray of ViewColumnsDetailsColumn configuration

OrderHead

The main sales order object.

PropertyTypeDescription
idintegerSales order ID
titlestringOrder title
statusintegerOrder status code
open_statusintegerOpen/closed status
datedatetimeOrder date
ship_datedatetimeShipping date
invoice_datedatetimeInvoice date
totaldoubleOrder total
costdoubleTotal cost
profitdoubleProfit
tax_totaldoubleTotal tax
outstanding_totaldoubleOutstanding amount
notestringOrder notes
po_numberstringCustomer PO number
summarystringOrder summary
client_idintegerClient ID
client_namestringClient name
user_idintegerContact/user ID
user_namestringContact/user name
site_idintegerSite ID
site_namestringSite name
assigned_agentintegerAssigned agent ID
assigned_agent_namestringAssigned agent name
ticket_idintegerAssociated ticket ID
quotation_idintegerOriginating quote ID
consignment_idintegerAssociated consignment ID
currencystringCurrency symbol
currency_codeintegerCurrency code ID
currency_conversion_ratedoubleCurrency conversion rate
linesarray of OrderLineSales order line items
purchaseorder_countintegerNumber of associated POs
invoice_countintegerNumber of associated invoices
percentage_invoiceddoublePercentage already invoiced
do_not_invoicebooleanSuppress invoicing flag
_create_invoicebooleanTrigger: create invoice on save
_create_invoice_methodintegerInvoice creation method
_create_invoice_percentagedoublePercentage to invoice
_create_invoice_amountdoubleFixed amount to invoice
_create_pobooleanTrigger: create purchase order on save
linked_to_ticketbooleanWhether order is linked to a ticket
linked_to_projectbooleanWhether order is linked to a project
last_update_timedatetimeLast modification timestamp
customfieldsarray of CustomFieldCustom field values

SupplierOrderHeader_View

Paginated list response for purchase order queries.

PropertyTypeDescription
page_nointegerCurrent page number
page_sizeintegerRecords per page
record_countintegerTotal matching records
purchaseordersarray of SupplierOrderHeaderPurchase order records
columns_idintegerView column config ID
columns_tilehtmlstringTile HTML template
columnsarray of ViewColumnsDetailsColumn configuration

SupplierOrderHeader

The main purchase order object.

PropertyTypeDescription
idintegerPurchase order ID
titlestringPO title
statusintegerPO status code
po_refstringPO reference number
3rd_party_ponumberstringThird-party PO number
datedatetimePO date
datesentdatetimeDate sent to supplier
est_delivery_datedatetimeEstimated delivery date
duedatedatetimeDue date
pricedoubleOrder price (ex. carriage)
totaldoubleOrder total
tax_totaldoubleTotal tax
carriage_descstringCarriage description
carriage_pricedoubleCarriage cost
notestringOrder notes
supplier_idintegerSupplier ID
supplier_namestringSupplier name
client_idintegerClient ID
client_namestringClient name
user_idintegerUser/contact ID
user_namestringUser/contact name
site_idintegerSite ID
site_namestringSite name
ticket_idintegerAssociated ticket ID
salesorder_idintegerAssociated sales order ID
assigned_agentintegerAssigned agent ID
assigned_agent_namestringAssigned agent name
approval_statusintegerApproval status code
approval_startbooleanWhether approval has been started
requires_approvalbooleanWhether PO requires approval
goodsin_statusintegerGoods-in status
receipt_confirmedbooleanWhether receipt is confirmed
receipt_confirmation_datedatetimeReceipt confirmation date
deliver_to_usbooleanDeliver to MSP address
deliver_to_so_addressbooleanDeliver to sales order address
deliver_to_ticket_addressbooleanDeliver to ticket address
currencystringCurrency symbol
currency_codeintegerCurrency code ID
currency_conversion_ratedoubleCurrency conversion rate
invoice_countintegerNumber of associated invoices
percentage_invoiceddoublePercentage already invoiced
_create_invoicebooleanTrigger: create invoice on save
linesarray of SupplierOrderDetailPO line items
customfieldsarray of CustomFieldCustom field values

ConsignmentHeader

A consignment (goods dispatch/delivery) record.

PropertyTypeDescription
idintegerConsignment ID
datedatetimeConsignment date
notestringNotes
ticket_idintegerAssociated ticket ID
site_idintegerDelivery site ID
salesorder_idintegerAssociated sales order ID
user_namestringUser name
addressstringDelivery address text
stockbin_idintegerStock bin ID
is_returnbooleanWhether this is a return
is_stock_to_stockbooleanStock-to-stock transfer
linesarray of ConsignmentDetailConsignment line items
assetsarray of Device_ListAssociated assets
pdftemplate_idintegerPDF template ID

Viewers

Payload for recording who has viewed a quote/order.

PropertyTypeDescription
idintegerRecord ID (quote/order ID)
changeseqintegerChange sequence number
current_action_typestringCurrent action type
viewersarray of Uname_ListList of viewers