List invoices
list_invoicesLists the invoices and proformas of a company, newest first, with optional filters. Rows contain data entered by the user (names, numbers).
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": {
"company_id": "<company_id>"
},
"name": "list_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Only documents dated within this range, both days included; both from and to are required. | |
| page | No | Page of the list, starting at 1; the answer tells in next_page whether a next page exists. | |
| paid | No | true: only issued documents marked as paid; false: only issued documents not marked as paid. Can't be combined with status or overdue. | |
| type | No | The document types to list; both when not given. | |
| query | No | Text to search for in the number, the customer (name, VAT ID, tax number, e-mail, phone) and the seller details of the documents. | |
| status | No | Only documents in this status: DRAFT, ISSUED, INVOICED (a proforma converted to an invoice) or CANCELLED. Converted proformas are left out unless this is INVOICED. Can't be combined with overdue or paid. | |
| overdue | No | true: only issued invoices that are not paid and whose due date has passed. Can't be combined with status. | |
| due_date | No | Only documents due within this range, both days included; both from and to are required. | |
| company_id | Yes | The id of the company, from list_companies. | |
| customer_id | No | Only documents of this customer of the company. |