List invoices
list_invoicesInvoices issued (or drafted) for the properties you can edit — and the account's invoices of any concept with no property — newest first: number, status (draft/issued/rectified/cancelled), source (rental/sale/free), customer, total, AEAT status, whether the PDF exists, what is left to collect (outstanding), the due date and whether it is overdue (issued, still owed, past its due date — remind the customer with send_invoice_reminder). Filter by property, rental, status or year. Requires the invoicing feature. Paged: if the result has a non-null nextCursor, call again with it as cursor for more.
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 |
|---|---|---|---|
| year | No | ||
| limit | No | Page size, 1-200 (default 100) | |
| cursor | No | `nextCursor` from the previous page, to get the next one | |
| status | No | ||
| rentalId | No | Only invoices that cover this rental: its own invoice and any invoice with lines of it | |
| propertyId | No |