update_expense
Modify an existing expense by updating specific fields such as date, supplier, category, or notes. Only the fields you provide are changed.
Instructions
Update fields on an existing expense. Only provided fields are changed (PATCH semantics).
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 Elorus expense ID to update | |
| date | No | Expense date in YYYY-MM-DD format | |
| notes | No | Internal notes | |
| supplier | No | Supplier contact ID | |
| expense_category | No | Expense category ID (obtain from list_expense_categories) |