get-aged-receivables-v2
Get the aged receivables v2 report for a company: outstanding amounts customers owe as of dateTo, grouped by contact into aging buckets. Built from unreconciled balances on the accounts receivable ledger account; returns report and exchangeRates. Use get-overdue-invoices for past-due buckets only, get-invoice-pending-summary for totals, or get-aged-receivables for the original report. Requires the invoice:read scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dateTo | No | As-of date for the aging (YYYY-MM-DD). Defaults to today. | |
| dateFrom | No | Not used: the aging report runs as of dateTo. | |
| companyId | Yes | Company ID |