Delete an expense
delete_expenseUse this to delete an expense or payment. expectedRevision is the lockVersion from get_transaction.
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": {
"groupToken": "<groupToken>",
"transactionToken": "<transactionToken>",
"expectedRevision": "<expectedRevision>"
},
"name": "delete_expense"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| expectedRevision | Yes | The `lockVersion` the client last saw on the record it is changing. A mismatch is `409 CONFLICT` with the record as the server now has it. | |
| transactionToken | Yes | The expense or payment's token, from `listTransactions` or `listSearchResults`. |