Update expense
update_expenseChanges an expense that is not yet on an invoice: description, amount, day, category, vendor, billable, markup (project owner only) or its task (null removes it). The person who logged it and the project owner can change it.
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": {
"expenseId": "<expenseId>"
},
"name": "update_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | The day it was spent, YYYY-MM-DD. | |
| amount | No | An amount in the currency's main unit, e.g. 85 or "85.50" (not cents). | |
| cardId | No | ||
| vendor | No | ||
| billable | No | ||
| category | No | ||
| expenseId | Yes | The expense. | |
| description | No | ||
| markupPercent | No |