Edit draft quote
xero_update_draft_quoteEdit an existing Xero draft quote with its ID and expected revision, preserving omitted fields; replacing lineItems overwrites all lines. Review before saving—no send or status change.
Instructions
Edit only DRAFT using expectedRevision from xero_get_quote. Omitted fields are preserved; lineItems explicitly replaces ALL lines including discounts/tracking. Read and review before replacement. No send/status transition. External edits during the request cannot be locked.
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": {
"quoteId": "<quoteId>",
"expectedRevision": "<expectedRevision>"
},
"name": "xero_update_draft_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | No | ||
| title | No | ||
| quoteId | Yes | ||
| summary | No | ||
| contactId | No | ||
| lineItems | No | ||
| quoteDate | No | ||
| reference | No | ||
| expiryDate | No | ||
| currencyCode | No | ||
| currencyRate | No | ||
| lineAmountTypes | No | ||
| expectedRevision | Yes |