Unpaid invoices
unpaid_invoicesLists invoices that remain unpaid past due by a configurable number of days at a specified date, oldest due date first, with paginated results.
Instructions
List the invoices still unpaid more than days days after their due date, at as_of,
oldest due date first, 50 per page. total and total_due cover all pages: when
next_cursor is present, call again with it to get the next page.
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": {
"as_of": "<as_of>"
},
"name": "unpaid_invoices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Days past the due date; 30 by default. | |
| as_of | Yes | Date the debts are counted at, as an ISO date. | |
| cursor | No | next_cursor of the previous page; omit for the first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| as_of | Yes | ||
| total | Yes | Unpaid invoices over all pages, not this one. | |
| invoices | Yes | ||
| total_due | Yes | Amount due over all pages, in euros. | |
| next_cursor | No | Pass it back as cursor for the next page; absent on the last page. |