Skip to main content
GET
Get accounts payable aging

Authorizations

Authorization
string
header
required

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_id
string<uuid>
required

Business UUID

Query Parameters

as_of_date
string<date>

Date to calculate aging as of (YYYY-MM-DD). Defaults to today.

group_by
enum<string>
default:vendor

Grouping: 'vendor' (default) or 'total'

Available options:
total,
vendor

Response

business_id
string<uuid>
required

Business UUID

as_of_date
string<date>
required

Date to calculate aging as of

group_by
enum<string>
required

Grouping: 'vendor' or 'total'

  • vendor - vendor
  • total - total
Available options:
vendor,
total
currency
string
required

Business base currency (e.g., EUR, GBP, USD)

total_outstanding_cents
integer
required

Total outstanding across all vendors in cents

total_aging_buckets
object
required

Total aging buckets (sum across all vendors)

vendors
object[]
required

Per-vendor aging breakdown (sorted by total outstanding descending)