Update expense
update-expenseChanges an expense: name, amount, category, linked vendor or notes. Only the fields you pass change. A per-guest expense takes per_guest_amount instead of amount. Payment instalments are managed in the dashboard; mark one as paid with mark-payment-paid.
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-expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The expense, from get-budget. | |
| name | No | ||
| notes | No | ||
| amount | No | Fixed amount in euro, e.g. "1500". | |
| category | No | Budget category name; created when new. Empty string for none. | |
| vendor_id | No | Link to a vendor from list-vendors; null to unlink. | |
| purchased_on | No | YYYY-MM-DD. | |
| per_guest_amount | No | Price per guest in euro, only for per-guest expenses. |