Insights
Accounts Payable

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.
    
get/v1/platform/businesses/{business_id}/insights/ap-aging/

Request

  • Base URL
    https://docs.thredfi.com (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP basic
    • or HTTP bearer
    • or HTTP bearer

Path parameters

business_idstring uuid required

Business UUID

Query parameters

as_of_datestring date

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

group_by'total' | 'vendor'

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

Response

business_idstring uuid required

Business UUID

as_of_datestring date required

Date to calculate aging as of

group_by'vendor' | 'total' required

Grouping: 'vendor' or 'total'

  • vendor - vendor
  • total - total
currencystring required

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

total_outstanding_centsinteger required

Total outstanding across all vendors in cents

Changes

No recorded changes to this operation across all 1 revision of this API.