Delete several expenses
bulk_delete_expensesUse this to delete several expenses or payments at once. List each one in transactions with its token and, as expectedRevision, its lockVersion from list_transactions.
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>",
"transactions": "<transactions>"
},
"name": "bulk_delete_expenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupToken | Yes | The group's token, from `listGroups` or `listSearchResults`. | |
| transactions | Yes | The transactions to delete, all in this group. If one has moved past its revision, none are deleted. |