Get accounts payable aging
Retrieve AP aging analysis grouped by vendor.
Aging buckets:
- Current: Not yet due (0 days overdue)
- 1-30 days: 1-30 days overdue
- 31-60 days: 31-60 days overdue
- 61-90 days: 61-90 days overdue
- 90+ days: 90 or more days overdue
Returns:
- Total outstanding across all vendors
- Total aging buckets (sum across all vendors)
- Per-vendor breakdown (sorted by total outstanding descending)
All values are in cents. Currency is the business’s base currency.
Documentation Index
Fetch the complete documentation index at: https://docs.thredfi.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
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.
Path Parameters
Business UUID
Query Parameters
Date to calculate aging as of (YYYY-MM-DD). Defaults to today.
Grouping: 'vendor' (default) or 'total'
total, vendor Response
Business UUID
Date to calculate aging as of
Grouping: 'vendor' or 'total'
vendor- vendortotal- total
vendor, 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)