List invoices
list_invoicesInvoices, newest number first, with customer, amount, amount due and last payment. Filters by status only (open, pending_payment, paid); there is no date or customer filter. To find past-due invoices, read the open ones and compare due_at with today where due_amount is above 0. Statuses come back as the list shows them (Paid); get_invoice returns them in lowercase.
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 |
|---|---|---|---|
| limit | No | 1 to 100. Default: 25. | |
| cursor | No | next_cursor from the previous call. | |
| status | No | Only invoices in these statuses. Default: all. |