get-aged-receivables
Get the original aged receivables report for a company: outstanding amounts customers owe as of dateTo, grouped by contact into aging buckets. Built from documents still unpaid at that date; returns only report. Use get-aged-receivables-v2 for the ledger-based report that also returns exchange rates, or get-overdue-invoices for past-due buckets only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Company ID | |
| 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. |