Update an expense
expense_updateChange one expense by id; only the fields you pass move. amount is in MAJOR units. A rebilled expense refuses an amount, currency or vat_rate edit unless unlink_rebill drops the invoice link.
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": "expense_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Expense id from expense_add or expense_list | |
| date | No | ||
| note | No | ||
| amount | No | ||
| project | No | ||
| billable | No | ||
| category | No | ||
| currency | No | ||
| merchant | No | ||
| rebilled | No | false clears the rebilled marker and the invoice number, so the expense can be billed again | |
| vat_rate | No | ||
| unlink_rebill | No | Allow editing amount, currency or vat_rate on a rebilled expense. Clears rebilled_at and rebilled_invoice, because the invoice no longer matches |