Create a new quote
POST
https://app.speybooks.com/api/v1/quotes/Create a new quote in draft status. Requires at least one line item. All monetary amounts (unitPrice) must be in minor units (pence).
The quote number is auto-generated from the organisation's quote numbering sequence. Totals are computed server-side from line items using Decimal.js arithmetic.
Contact ID and optional account IDs on lines are validated and converted from prefixed API format to internal database IDs.
Body parameters
contactId string requiredContact ID (e.g. cont_3).
issueDate string requiredQuote issue date (YYYY-MM-DD).
lines array<object> requiredShow child parameters
description string requiredLine item description.
quantity number requiredQuantity (supports decimals).
unitPrice integer requiredUnit price in pence (minor units). E.g. 10000 for £100.00.
vatRate number requiredVAT rate as a percentage (e.g. 20 for 20%).
accountId string optionalChart of accounts ID to post to (e.g. acc_4010 for Sales - Services).
validUntil string requiredQuote expiry date (YYYY-MM-DD).
notes string optionalOptional notes visible on the quote.
terms string optionalOptional terms and conditions text.
Response
201 Quote created in draft status. Returns the prefixed ID and auto-generated quote number.
Show response fields
id stringquoteNumber string