Add a new quote to the database.
Body
Quote object.
Send true to mark this quote as accepted (setting the status to 'accepted' and the acceptance date), or false to undo the acceptance. Only applied on update; never returned.
Send true to mark this quote as declined (setting the status to 'declined' and the decline date), or false to undo the decline. Only applied on update; never returned.
The ID of the administration this quote belongs to, which also determines its quote number series (the default administration's series when empty).
The ID of the client (klant) this quote is for. Its contact details fill the empty contact fields on save; without a client, fill in company and the other contact fields. A create also needs name.
Whether this quote is finalized. Finalizing assigns the quote number; a finalized quote can no longer be deleted. Returned as 1 (yes) or 0 (no).
The country of the quoted party, returned as the full country name (falls back to the Netherlands). Accepts an ISO 3166-1 alpha-2 code or a country name; copied from the client when empty.
The date and time this quote was archived (soft deleted), or empty when it is not archived.
A legacy export option of this quote that is no longer used. Returned as 1 (yes) or 0 (no).
The IDs connected to this quote in connected third party applications, keyed by connection.
The quote number. Assigned automatically from the administration's number series when the quote is finalized (confirmed), and empty while it is a draft.
The status of this quote, either 'draft', 'confirmed', 'sent', 'accepted' or 'declined'. Always 'draft' on create.
The total amount excluding VAT in euros as a numeric string. Calculated automatically from the quote lines.
The total VAT amount in euros as a numeric string. Calculated automatically from the quote lines.
The ID of the quote layout used for the document. Defaults to the first quote layout when empty.
The total amount including VAT in euros as a numeric string. Calculated automatically from the quote lines.
Antwoord
Successful operation.