Agree.com Reports API
Read-only analytics for revenue, cashflow, and accounts receivable recovery. ## Overview Report endpoints mirror the in-app **Reports** dashboards (`/reports/revenue`, `/reports/cashflow`, `/reports/recovery`). All metrics are scoped to the authenticated API key's organization. Amounts use the `Money` object shape: `amount` is in the smallest currency unit (cents for USD) and `currency` is an ISO 4217 code (e.g. `"USD"`). ## Revenue | Endpoint | Description | |----------|-------------| | `GET /reports/revenue/stats` | ARR, MRR, growth, NRR, top-5 concentration | | `GET /reports/revenue/chart` | Monthly MRR/ARR history and forecast | | `GET /reports/revenue/customers` | Customers ranked by paid revenue | | `GET /reports/revenue/customers_by_mrr` | Customers ranked by subscription MRR | ## Cashflow | Endpoint | Description | |----------|-------------| | `GET /reports/cashflow/stats` | Cash collected MTD, outstanding total, DSO, fail rate | | `GET /reports/cashflow/chart` | Monthly cash collected history and forecast | | `GET /reports/cashflow/outstanding_invoices` | Outstanding invoice list | | `GET /reports/cashflow/forecast` | Expected cash in next 30/60/90 days | ## Recovery | Endpoint | Description | |----------|-------------| | `GET /reports/recovery/aging/chart` | Aging buckets by month | | `GET /reports/recovery/aging/invoices` | Invoices grouped by aging bucket | | `GET /reports/recovery/aging/trend` | Overdue totals and average days overdue | | `GET /reports/recovery/leakage/stats` | Counts/amounts by invoice stage | | `GET /reports/recovery/leakage/waterfall` | Stage waterfall for leakage analysis | | `GET /reports/recovery/leakage/stalled_invoices` | Stalled invoices | | `GET /reports/recovery/leakage/stage_durations` | Average days between stages |