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.
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": {
"companyId": "<companyId>"
},
"name": "list-invoices"
}
}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 |