Retrieve AR aging analysis grouped by customer.
Aging buckets:
Returns:
All values are in cents. Currency is the business’s base currency.
Partner-level JWT token (unscoped). Token payload includes partner_id. Business access is validated via partner ownership. Format: Bearer <your-jwt-token>
Use this for: Multi-business operations where the business_id is specified in the URL and partner has access to multiple businesses.
Business UUID
Date to calculate aging as of (YYYY-MM-DD). Defaults to today.
Grouping: 'customer' (default) or 'total'
customer, total Business UUID
Date to calculate aging as of
Grouping: 'customer' or 'total'
customer - customertotal - totalcustomer, total Business base currency (e.g., EUR, GBP, USD)
Total outstanding across all customers in cents
Total aging buckets (sum across all customers)
Per-customer aging breakdown (sorted by total outstanding descending)