get-overdue-invoices
Get the overdue part of a company's aged receivables v2 report as of dateTo: one group per customer with past-due lines. Lines show invoice and due dates, reference, the amount still open in the invoice currency, then the 0 - 30 days to > 121 days columns (days past due) in base currency at the dateTo rate. Totals end with the overdue Total. Past-due credit notes are negative, so a Total can be zero or less. Returns report and exchangeRates. Amounts not yet due are left out, so an empty groups list means nothing is overdue. If the layout isn't recognised, the whole report comes back, Current included. Use get-aged-receivables-v2 for the full aging or get-invoice-pending-summary for the overdue total only. Requires the invoice:read scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | End date (YYYY-MM-DD) | |
| dateFrom | No | Start date (YYYY-MM-DD) | |
| companyId | Yes | Company ID |