Create quote
create_quoteDraft quote with line items. Nothing is sent until you call send_quote. Creates a draft quote for a customer, as New Quote does. Each line is misc (description, quantity, unit_price), time (hours at a billing rate) or price_list (item_code of a price list item); time and price list lines take the customer's price group price unless unit_price is given. Tax uses the default rate (a price list item's own rate), or tax_rate by name; amounts, tax and totals are worked out as Tradify does. job_id links it to a job of the same customer. theme picks a theme by name (default the customer's); terms sets the quote terms (default the theme's). Expiry defaults to your expiry days setting. Kits are not supported. The quote stays a draft until send_quote.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"customer_id": "<customer_id>",
"line_items": "<line_items>"
},
"name": "create_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | No | Quote terms. Default: the theme's quote terms. | |
| theme | No | Theme name (Settings > Themes). Default: the customer's. | |
| job_id | No | Link the quote to this customer's job (list_jobs). | |
| reference | No | Customer reference. | |
| line_items | Yes | ||
| customer_id | Yes | From list_customers or create_customer. | |
| description | No | Shown on the quote. | |
| expiry_date | No | Default: your expiry days setting. | |
| tax_inclusive | No | Prices include tax. |