List Invoices
list_invoicesThe Invoices, Quotes and Reverses pages: customer invoices (default), quotes (documentKind=quote) or credit notes (documentKind=credit_note), newest first, with status, customer, the sales order billed, dates, total and whether an issued invoice is paid or overdue. Filter by status, customer, sales order or search text. Call get_invoice for a document's lines and payments.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based). | |
| search | No | Search text: document number, customer name or sales order number. | |
| status | No | all (default), draft (not yet issued), issued, paid, unpaid (issued, no payment), overdue (unpaid past due), canceled; for quotes open, accepted, converted or canceled. | |
| clientId | No | Optional client id (GUID) for operator (unpinned) credentials on 3PL tenants: only documents that bill that client's sales orders. | |
| pageSize | No | Page size (max 100, default 25). | |
| customerId | No | Optional customer id (GUID) from lookup_business_partners. | |
| documentKind | No | invoice (default), quote or credit_note. | |
| salesOrderId | No | Optional sales order id (GUID): documents that bill that order. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| total | No | ||
| invoices | No | ||
| pageSize | No |