update_invoice
Update draft invoices by changing due dates, invoice dates, or notes. Only drafts can be edited; finalized invoices remain unchanged.
Instructions
Update an existing invoice (only drafts can be edited).
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": {
"id": "<id>"
},
"name": "update_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The invoice UUID | |
| notes | No | Notes on the invoice | |
| due_date | No | Due date (YYYY-MM-DD) | |
| invoice_date | No | Invoice date (YYYY-MM-DD) |