delete_expense
Delete an expense. If it had a bankAccountId, the deducted amount is added back to the balance.
Example AI prompts
Type any of these into Claude Desktop, Claude Code, or Cursor — InvoiceCave's MCP server will route them to delete_expense automatically.
“Use this tool to delete a expense.”
Use it in 30 seconds
Related tools
More from the Expenses category.
list_expensesList expenses with totals. Filter by status, category, vendor, date range, customer, or billable flag.
get_expenseGet full details of a specific expense.
create_expenseRecord a new expense. Auto-generates an EXP-XXXXXX number. If bankAccountId is provided, deducts the amount from the bank balance.
update_expenseUpdate an existing expense. If amount changes and the expense has a bankAccountId, the bank balance is auto-adjusted.
list_expense_categoriesList all active expense categories for the organization.
create_expense_categoryCreate a new expense category.
update_expense_categoryUpdate an expense category. Use isActive=false to soft-deactivate without deleting.
delete_expense_categoryDelete an expense category. Fails if any expenses still use it — reassign or delete those first, or use update_expense_category with isActive=false.
Ready to wire this up?
Free plan — no credit card. 102 tools at your AI's disposal.