invoices_bulk_delete
Delete up to 100 draft invoices in a single batch and receive per-item errors; only draft invoices are eligible and deletion is irreversible.
Instructions
Delete multiple draft invoices in batch. Only invoices with status "draft" can be deleted. This action is irreversible. Returns count of deleted invoices and any per-item errors.
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": {
"ids": "<ids>"
},
"name": "invoices_bulk_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Array of invoice UUIDs to delete (1–100). Only draft invoices are eligible. | |
| companyId | No | Company UUID override (uses active company if not set) |