Create quotation
Creates a new quotation with line items. Requires clientId (clt_) and templateId (tpl_). Custom field values use cf_* keys — see the Custom fields guide.
Authorizations
API key for authentication. Get yours at app.heffl.com/settings/developers
Body
Contact or company ID (clt_ prefix)
Document template ID (tpl_ prefix)
Quotation date
Line items
1Optional contact person ID (clt_ prefix) when clientId is a company
Deal ID (dl_ prefix)
Expiry date
Subject
Internal title
Initial status (defaults to DRAFT)
DRAFT, SENT, ACCEPTED, REJECTED Whether prices include tax
Document HTML (defaults from template when omitted)
Internal notes
Sales person user ID (usr_ prefix)
ISO 4217 currency code
Quotation currency to team currency rate
Tag IDs (tag_ prefix)
Custom field values using cf_* keys
Response
OK
Quotation ID (qtn_ prefix)
Auto-generated quotation number
Quotation date
Quotation status
DRAFT, SENT, ACCEPTED, REJECTED ISO 4217 currency code
Subject
Expiry date
Quotation currency to team currency rate
Whether prices include tax
Contact or company ID (clt_ prefix)
Optional contact person ID (clt_ prefix) when clientId is a company
Deal ID (dl_ prefix)
Sales person user ID (usr_ prefix)
Document template ID (tpl_ prefix)
Rendered document HTML
Internal notes
Total including tax
Subtotal before tax
Total tax amount
Total discount amount
Tag IDs (tag_ prefix)
Line items (included on get; empty on list)
When the quotation was accepted
When the quotation was rejected
Custom field values using cf_* keys