Skip to main content
GET
/
v1
/
analytics
/
collections
/
aging-balance
Get Aging Balance
curl --request GET \
  --url http://api.stuut.ai/v1/analytics/collections/aging-balance \
  --header 'Authorization: Bearer <token>'
{
  "days_0_count": 123,
  "days_1_30_count": 123,
  "days_31_60_count": 123,
  "days_61_90_count": 123,
  "days_91_plus_count": 123,
  "days_0_amount": 123,
  "days_1_30_amount": 123,
  "days_31_60_amount": 123,
  "days_61_90_amount": 123,
  "days_91_plus_amount": 123
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Successful response

days_0_count
integer
required

Count of invoices in due aging bucket.

days_1_30_count
integer
required

Count of invoices in 1-30 day aging bucket.

days_31_60_count
integer
required

Count of invoices in 31-60 day aging bucket.

days_61_90_count
integer
required

Count of invoices in 61-90 day aging bucket.

days_91_plus_count
integer
required

Count of invoices in 91+ day aging bucket.

days_0_amount
integer
required

Total amount of due invoices, in cents.

days_1_30_amount
integer
required

Total amount in 1-30 day aging bucket, in cents.

days_31_60_amount
integer
required

Total amount in 31-60 day aging bucket, in cents.

days_61_90_amount
integer
required

Total amount in 61-90 day aging bucket, in cents.

days_91_plus_amount
integer
required

Total amount in 91+ day aging bucket, in cents.