Get aging analysis of outstanding invoices
Retrieves aging bucket analysis for outstanding invoices.
Aging Buckets:
- Current (0-30 days)
- 31-60 days overdue
- 61-90 days overdue
- 90+ days overdue
Data Returned:
- Amount and count per bucket
- Percentage distribution
- Color coding for visualization
X-Api-Key<token>
Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/analytics/collections/aging"{ "buckets": [ { "bucket": "string", "bucketEn": "string", "minDays": 0, "maxDays": {}, "amount": 0, "count": 0, "percentage": 0, "color": "string" } ], "totalOutstanding": 0, "currency": "string"}
