Skip to main content
GET
/
bills
/
reports
/
aging
AP bills aging by vendor
curl --request GET \
  --url https://{companyName}.api.joinluminous.com/external/api/v1/bills/reports/aging \
  --header 'Authorization: Bearer <token>'
{
  "as_of_date": "2023-12-25",
  "vendors": [
    {
      "vendor_id": 123,
      "vendor_name": "<string>",
      "current": 123,
      "bucket_1_30": 123,
      "bucket_31_60": 123,
      "bucket_61_90": 123,
      "bucket_90_plus": 123,
      "total": 123,
      "bills": [
        {}
      ]
    }
  ],
  "totals": {
    "current": 123,
    "bucket_1_30": 123,
    "bucket_31_60": 123,
    "bucket_61_90": 123,
    "bucket_90_plus": 123,
    "total": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.joinluminous.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Authenticate using a bearer token. To create a token, navigate to /settings/api-tokens and click Create API Token.

Query Parameters

as_of_date
string<date>

Reference date for overdue calculation. Defaults to today.

vendor_id
integer

Filter to a specific vendor

Response

Vendors with per-bill breakdown and bucket totals

as_of_date
string<date>
vendors
object[]
totals
object