Create a quote
quote_createStore a quote for client from items and return its Q number, VAT and totals. unit_price is in MAJOR units; currency, VAT and issuer come from the shared profile. A duplicate of an open quote is refused. Free: 5 open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The line items being quoted | |
| notes | No | Free text printed under the totals, e.g. scope or exclusions. 10000 characters or fewer | |
| client | Yes | Client name or id. A name the invoice server already knows brings its address, email and VAT id onto the quote | |
| currency | No | Defaults to your business default currency | |
| tax_rate | No | VAT percent for lines with no rate of their own. Defaults to the business default | |
| issue_date | No | YYYY-MM-DD, defaults to today in your business profile's timezone | |
| valid_until | No | YYYY-MM-DD, an explicit last valid day. Wins over validity_days | |
| client_email | No | Only if the user gave it; otherwise the stored client's email is used | |
| client_vat_id | No | Client VAT / tax registration id | |
| validity_days | No | Days the quote stays valid, counted from the quote date and inclusive. Default 30 | |
| client_address | No | Postal address for the QUOTE FOR block, newlines allowed | |
| discount_percent | No | Discount applied to every line, in percent |