update_invoice
Update an existing invoice by ID.
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 | Invoice ID (from search_invoices) | |
| currency | No | Currency code | |
| due_date | No | Due date in YYYY-MM-DD format | |
| due_days | No | Days until payment is due | |
| client_id | No | New client ID | |
| document_date | No | Invoice date in YYYY-MM-DD format | |
| lower_annotation | No | Text below line items | |
| upper_annotation | No | Text above line items | |
| document_positions | No | Replacement line items. By default these replace ALL existing positions; set document_positions_update_policy: "append" to add instead. | |
| document_positions_update_policy | No | How document_positions are applied: "replace" (default — swap all existing lines) or "append" (add to existing lines). |