invoices_bulk_cancel
Cancel multiple invoices in a single batch with an optional reason, returning the number cancelled and any per-item errors.
Instructions
Cancel multiple invoices in batch with an optional reason. Returns count of cancelled 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_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Array of invoice UUIDs to cancel (1–100) | |
| reason | No | Reason for cancellation applied to all invoices in the batch | |
| companyId | No | Company UUID override (uses active company if not set) |