update_invoice
Update only the specified fields of a draft invoice, leaving other fields unchanged. Does not modify published invoices.
Instructions
Update an existing draft invoice. Only the provided fields will be changed. Cannot update published invoices.
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 ID to update | |
| issue_date | No | Updated issue date (YYYY-MM-DD) | |
| customer_id | No | Updated customer ID | |
| series_id | No | Updated series ID | |
| includes_vat | No | Whether prices include VAT | |
| currency_iso | No | Updated currency ISO code | |
| notes | No | Updated customer-facing notes | |
| admin_notes | No | Updated internal admin notes | |
| due_date | No | Payment due date (YYYY-MM-DD) |