Retrieve AP aging analysis grouped by vendor.
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: 'vendor' (default) or 'total'
total, vendor Business UUID
Date to calculate aging as of
Grouping: 'vendor' or 'total'
vendor - vendortotal - totalvendor, total Business base currency (e.g., EUR, GBP, USD)
Total outstanding across all vendors in cents
Total aging buckets (sum across all vendors)
Per-vendor aging breakdown (sorted by total outstanding descending)