Invoices: Update invoice
invoice_updateChange an invoice's header: due_date (YYYY-MM-DD), payment_terms, customer_note, customer_email, customer_contact_name, reference, your_reference, currency, seller_legal_entity (id or name), footer_text — only what the person asked. A cancelled invoice cannot change; a paid one keeps its totals. Amounts, items and VAT are lines: invoice_update_lines. Runs propose→confirm. CONFIRMATION: this tool is PROPOSED, never performed directly. You get status='confirmation_required' with an action_id and a plan_token, and the write happens only after confirm_action.
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": {
"invoice": "<invoice>"
},
"name": "invoice_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | The invoice's number as the person said it (INV-12, 12) or its id. | |
| currency | No | ||
| due_date | No | ||
| reference | No | ||
| footer_text | No | ||
| customer_note | No | ||
| payment_terms | No | ||
| customer_email | No | ||
| your_reference | No | ||
| seller_legal_entity | No | ||
| customer_contact_name | No |