updateExpense
Modify an existing Clockify expense by updating its amount, date, category, project, billable status, or notes using workspace and expense IDs.
Instructions
Update an existing expense (paid feature)
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": {
"workspaceId": "<workspaceId>",
"expenseId": "<expenseId>"
},
"name": "updateExpense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | New expense date in ISO 8601 format (optional) | |
| notes | No | New expense notes (optional) | |
| amount | No | New expense amount (optional) | |
| billable | No | Is expense billable (optional) | |
| expenseId | Yes | The expense ID | |
| projectId | No | New project ID (optional) | |
| categoryId | No | New expense category ID (optional) | |
| workspaceId | Yes | The workspace ID |