---
title: "List Gl Open Items"
method: GET
path: "/companies/{company_id}/gl/open-items"
tags: ["gl-subledgers"]
---

# List Gl Open Items

`GET /companies/{company_id}/gl/open-items`

## 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}/gl/open-items`
- Auth: none declared

One page of the AR/AP subledger (member read).

``direction`` filters server-side (ZCT-577) — omit it for both. The screen used to
filter the fetched page in the browser, which made the AR chip drop rows and the
total count both directions.

``as_of`` (ZCT-577) reconstructs each item's open amount from posted journal lines
dated on or before that date, instead of reading today's cached amount. Items are
considered **regardless of their current status** — one settled since that date was
open on it — so ``status`` is refused alongside it rather than silently ignored: a
filter that appears to apply and does not is worse than an error. ``original_amount``
and ``status`` on each row remain the item's own, which are current facts, not
as-of ones; the screen says so.

## Path parameters

- `company_id` string, required

## Query parameters

- `status` string, nullable
- `direction` string, nullable
- `as_of` string, date, nullable
- `limit` integer
- `offset` integer

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- GlOpenItemsResponse
  - `open_items` GlOpenItemOut[], required
    - `id` string, required
    - `company_id` string, required
    - `direction` string, required
    - `counterparty_id` string, nullable
    - `control_account_id` string, required
    - `original_amount_base` string, required
    - `open_amount_base` string, required
    - `currency` string, required
    - `original_amount_currency` string, nullable
    - `open_amount_currency` string, nullable
    - `base_currency` string, nullable
    - `due_date` string, date, nullable
    - `status` string, required
    - `created_at` string, date-time, required
  - `total` integer, 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)
