Create Quote record
Create a new Quote record with the provided data. Validates all required fields and business rules.
Side effects
- If an approval workflow matches this request, DualEntry can set
record_statusback todraft.
Additional validations
- Fails with
422if you set an inactive, archived, or draft customer or vendor, or an inactive company. - Fails with
422if you set the customer or vendor that stands for the record’s own company as a party. - A reference that the record or its linked source record already holds passes these checks.
Headers
Optional. A unique value (a UUID works well) identifying this operation. If the request is repeated with the same key, the original response is replayed instead of the operation running again, so a retry cannot create a duplicate record. Results are replayable for 48 hours. Reusing a key with a different request body returns 422.
255Query Parameters
Body
Create a quote. record_status posted submits it: it runs the quote approval policy, and the quote is approved when no policy applies. Send draft to save without submitting. items replaces the quote lines wholesale: send id to keep a line, and send its billing fields (billing_frequency, billing_interval, billing_start_date, billing_end_date, ramp_group_id) or it is saved as a one-time line that follows the quote contract dates. On recurring lines rate is the price per billing period.
Total rows that print on the quote document, in print order. The row of the large total does not print. Omit to use the organization default on create and keep the saved rows on update.
7Total rows on the quote document. Monthly, quarterly and annual are the recurring value per period.
one_time, monthly, quarterly, annual, first_year, first_invoice, tcv Response
OK
A quote with its lines, recipients (signing order included), send status, and totals by billing frequency.