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.
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. |