Skip to main content
GET
Get a quotation

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours at app.heffl.com/settings/developers

Path Parameters

id
string
required

Quotation ID

Response

OK

id
string
required

Quotation ID (qtn_ prefix)

number
string
required

Auto-generated quotation number

date
string<date-time>
required

Quotation date

status
enum<string>
required

Quotation status

Available options:
DRAFT,
SENT,
ACCEPTED,
REJECTED
currency
string
required

ISO 4217 currency code

createdAt
string<date-time>
required
subject
string | null

Subject

expiryDate
string<date-time> | null

Expiry date

conversionRate
number

Quotation currency to team currency rate

isInclusiveTax
boolean

Whether prices include tax

clientId
string | null

Contact or company ID (clt_ prefix)

contactId
string | null

Optional contact person ID (clt_ prefix) when clientId is a company

dealId
string | null

Deal ID (dl_ prefix)

salesPersonId
string | null

Sales person user ID (usr_ prefix)

templateId
string | null

Document template ID (tpl_ prefix)

contentHtml
string | null

Rendered document HTML

internalNotes
string | null

Internal notes

totalAmount
number

Total including tax

subtotalAmount
number

Subtotal before tax

totalTaxAmount
number

Total tax amount

totalDiscountAmount
number

Total discount amount

tagIds
string[]

Tag IDs (tag_ prefix)

lineItems
object[]

Line items (included on get; empty on list)

markedAcceptedOn
string<date-time> | null

When the quotation was accepted

markedRejectedOn
string<date-time> | null

When the quotation was rejected

updatedAt
string<date-time> | null
{key}
any

Custom field values using cf_* keys