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.
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) |