invoices_bulk_mark_paid
Marks multiple invoices as fully paid in one batch, creates payment records for remaining balances, and returns updated counts plus per-item errors.
Instructions
Mark multiple invoices as fully paid in batch. Creates payment records for each invoice's remaining balance. paymentMethod defaults to "bank_transfer". Returns count of updated 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_mark_paid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Array of invoice UUIDs to mark as paid (1–100) | |
| paidAt | No | Payment date in ISO 8601 format (YYYY-MM-DD). Defaults to today. | |
| companyId | No | Company UUID override (uses active company if not set) | |
| paymentMethod | No | Payment method applied to all invoices (default: bank_transfer) |