invoices_quote_change
Change a draft quote (quote: its number, Q-0007): give only what changes. lines is every line after the change, as in invoices_quote_prepare (prices in the company's currency). needs_signature: whether the client signs it before paying. options: every option after the change, as in invoices_quote_prepare, for a quote with options (its lines are each option's), or to make one into options; one option left makes its lines the quote's. discount: on the whole quote, {"percent": 10}, {"amount": 200}, or {} to remove it; lines' "no_tax" as in invoices_quote_prepare. A sent quote can't change: it's cancelled or copied in Invoices by a person. In Activity with Undo.
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": {
"quote": "<quote>",
"author": "<author>"
},
"name": "invoices_quote_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | |||
| lines | No | ||
| model | No | ||
| quote | Yes | ||
| terms | No | ||
| author | Yes | ||
| contact | No | ||
| options | No | ||
| discount | No | ||
| due_percent | No | ||
| valid_until | No | ||
| needs_signature | No |