Api reference
A/R Aging Report
Returns Accounts Receivable aging buckets with invoice counts and amounts
Related endpoints
GET /analytics/revenue/mrr-summary— MRR SummaryGET /analytics/revenue/time-series— Revenue Time SeriesGET /analytics/collections/dso— Days Sales OutstandingGET /analytics/customers/ltv— Customer LTVGET /analytics/customers/{customerId}— Customer AnalyticsGET /analytics/payment-links/conversion— Payment Link ConversionGET /analytics/checkout/funnel— Checkout Funnel AnalyticsGET /analytics/checkout/abandonment/summary— Abandonment Alert Summary
x-api-key<token>
Your RevKeen API key (powered by Unkey). Get it from Dashboard > Settings > API Keys. Use rk_sandbox_* for test mode and rk_live_* for production.
In: header
Query Parameters
asOfDate?string
Calculate aging as of this date (ISO 8601)
Format
date-timeResponse Body
application/json
curl "https://api.revkeen.com/v2/analytics/invoices/ar-aging" \ -H "x-api-key: $REVKEEN_API_KEY"{
"asOfDate": "string",
"buckets": [
{
"label": "string",
"count": 0,
"totalMinor": 0
}
],
"totalOutstanding": 0,
"totalInvoices": 0
}