update_invoice
Change an invoice. Required: invoice_id. Optional: lines, title, recipient, address, intro, outro, payment_note, issued_on, due_days, status. Totals are always recomputed from the lines. Changing the lines of an invoice that has left the house needs force=true — cancelling and issuing a new one is usually correct.
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_id": "<invoice_id>"
},
"name": "update_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | true allows line changes on an invoice that was already sent | |
| intro | No | Introductory text printed above the positions | |
| lines | No | New positions; replaces the existing lines of the invoice | |
| outro | No | Closing text printed below the positions | |
| title | No | Title of the invoice | |
| status | No | New status | |
| address | No | Postal address | |
| due_days | No | Payment term in days | |
| issued_on | No | Issue date of the invoice (YYYY-MM-DD) | |
| recipient | No | Recipient name on the invoice | |
| invoice_id | Yes | ID of the invoice to change | |
| payment_note | No | Payment information block (e.g. IBAN) printed on the invoice |