list-invoices
List a company's sales invoices from Osome invoicing, newest first. Returns invoices with status, recipient, dates, line items, totals and document links, plus page and perPage. Use get-overdue-invoices or get-invoice-pending-summary for receivables from the accounting ledger, and preview-invoice to read one invoice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, starting at 1 (default 1). | |
| search | No | Leave unset: Classic's invoice list currently rejects this parameter, so the call fails. Filter with status instead. | |
| status | No | Only include these statuses (any match): draft, awaiting (sent, not yet due), overdue (sent and past due), paid or cancelled. | |
| perPage | No | Invoices per page (default 100). | |
| companyId | Yes | Company ID |