List invoices
list_invoicesInvoice history, each with the currency it was issued in. Filter by text, client, paid status or issue-date range. count and the unpaid totals cover every match; invoices lists the first 200 in the chosen order (listed says how many). unpaid_totals has one figure per currency; unpaid_total is only set when every match is in one currency.
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 |
|---|---|---|---|
| sort | No | newest/oldest by issue date, highest/lowest by total | newest |
| query | No | Matches number, client, notes, project names and entry notes | |
| client | No | Only this client: id or exact name | |
| status | No | Filter by whether the invoice has been paid | all |
| issued_to | No | Only invoices issued on or before this date | |
| issued_from | No | Only invoices issued on or after this date |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Every invoice that matches, not only the ones listed | |
| listed | Yes | How many invoices are in invoices (the first 200 matches at most) | |
| invoices | Yes | ||
| unpaid_total | Yes | Still unpaid across every match, in their currency; null when the unpaid matches use more than one currency | |
| unpaid_totals | Yes | Still unpaid per currency code, e.g. { USD: 150 } |