update_invoice
Update an existing invoice by modifying fields like subject, dates, taxes, discounts, and billing details. Only specified fields are changed.
Instructions
Update an existing invoice including subject, dates, terms, taxes, and other billing details. Only provided fields will be updated.
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 ID of the invoice to update (required) | |
| tax | No | Update tax percentage | |
| tax2 | No | Update second tax percentage | |
| notes | No | Update invoice notes | |
| subject | No | Update invoice subject | |
| currency | No | Update currency code | |
| discount | No | Update discount percentage | |
| due_date | No | Update due date | |
| client_id | No | Update the client ID | |
| issue_date | No | Update issue date | |
| payment_term | No | Update payment terms | |
| purchase_order | No | Update purchase order number |