---
title: "GET /arAging"
method: GET
path: "/arAging"
tags: ["Aging", "Aging Reports"]
---

# GET /arAging

`GET /arAging`

## Request

- Base URL: `https://api.railz.ai`
- URL: `https://api.railz.ai/arAging`
- Auth: HTTP bearer

Gets a range of AR aging reports for a business.

## Query parameters

- `businessName` string, required
- `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'sageIntacct' | 'dynamicsBusinessCentral', required
- `startDate` string
- `endDate` string
- `offset` number
- `limit` number
- `orderBy` string
- `reportFrequency` 'month' | 'quarter' | 'year', required

## Response `200`

- ArAgingResponseDto
  - `pagination` PaginationMetaData, required
    - `offset` number, required
    - `limit` number, required
    - `count` number, required
  - `count` integer, required
  - `reports` ArAgingReport[], required
    - `meta` ArAgingMetaData, required
      - `reportId` string[], required
      - `serviceName` 'quickbooks' | 'xero' | 'freshbooks' | 'quickbooksDesktop' | 'sageIntacct' | 'sageBusinessCloud' | 'oracleNetsuite' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'zohoBooks' | 'myob', required
      - `businessName` string, required
      - `startDate` string, date-time, required
      - `endDate` string, date-time, required
      - `createdAt` string, date-time, required
      - `updatedAt` string, date-time, required
      - `reportFrequency` string, required
    - `data` ArAgingDataV1[], required
      - `customerRef` ArAgingCustomerRef, required
        - `id` string
        - `name` string
      - `current` number, float
      - `dpd30` number, float, required
      - `dpd60` number, float, required
      - `dpd90` number, float, required
      - `dpd90+` number, float
      - `total` number, float, required
      - `currencyRef` ApArAgingCurrencyRef
        - `id` string, required
        - `name` string
        - `symbol` string

## Other responses

- `202`: Data in pending state
- `204`: No data available
- `400`: Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401`: Unauthorized - Not logged in or log in expired
- `403`: Forbidden - Not enough permission
- `500`: Server Error

## Changes

- **2026-09-03** `1383b9a47ac9`: 1 info
  - api tag `Aging` added
- **2026-08-10** `5cdfae3fa1fa`: 24 warning, 4 info
  - added the new `dynamics365Finance` enum value to the `reports/items/meta/serviceName` response property for the response status `200`
  - added the new `dynamics365Finance` enum value to the `reports/items/meta/serviceName` response property for the response status `202`
  - added the new `dynamicsBusinessCentral` enum value to the `reports/items/meta/serviceName` response property for the response status `200`
  - added the new `dynamicsBusinessCentral` enum value to the `reports/items/meta/serviceName` response property for the response status `202`
  - …24 more

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/arAging/get.md)

---

[API](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api.md) - [All operations](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/revisions/1383b9a47ac9?raw)
