List invoices
list_invoicesList invoices for the current organization. Returns latest invoices with optional filtering and sorting.
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 (default: 1) | |
| search | No | Search by invoice number, customer name, email, or description | |
| sortBy | No | Sort field (default: issuedDate) | |
| status | No | Filter by invoice status | |
| pageSize | No | Number of invoices per page (default: 10, max: 20) | |
| sortOrder | No | Sort order (default: desc) |