---
title: "Ar Aging"
method: GET
path: "/companies/{company_id}/ar/aging"
tags: ["ar-invoices"]
---

# Ar Aging

`GET /companies/{company_id}/ar/aging`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/ar/aging`
- Auth: none declared

Open-AR (Debitoren) aging by customer, bucketed by days overdue (member read).

``as_of`` omitted → today's cached open amounts. ``as_of`` set → historical
reconstruction from posted journal lines dated ``<= as_of`` (posting-date
basis, like the balance sheet — a backdated entry posted later counts).

## Path parameters

- `company_id` string, required

## Query parameters

- `as_of` string, date, nullable

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- AgingReport
  - `as_of` string, required
  - `rows` AgingRow[], required
    - `counterparty_id` string, nullable, required
    - `counterparty_name` string, required
    - `buckets` AgingBuckets, required
      - `current` string, required
      - `d1_30` string, required
      - `d31_60` string, required
      - `d61_90` string, required
      - `d90_plus` string, required
    - `total` string, required
  - `totals` AgingBuckets, required
    - `current` string, required
    - `d1_30` string, required
    - `d31_60` string, required
    - `d61_90` string, required
    - `d90_plus` string, required
  - `grand_total` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
