---
title: "List Gl Accounts"
method: GET
path: "/companies/{company_id}/gl/accounts"
tags: ["gl"]
---

# List Gl Accounts

`GET /companies/{company_id}/gl/accounts`

## 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/accounts`
- Auth: none declared

List the postable chart (CompanyMember). ``fiscal_year`` filters to one year's chart
(the chart is FY-scoped, so codes repeat across years).

## Path parameters

- `company_id` string, required

## Query parameters

- `fiscal_year` integer, nullable
- `limit` integer
- `offset` integer

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- GlAccountsResponse
  - `accounts` GlAccountOut[], required
    - `id` string, required
    - `company_id` string, required
    - `fiscal_year_id` string, required: The fiscal year whose chart this account belongs to. Chart identity is (company, fiscal_year, code) — each year owns its chart, so a request that omits ?fiscal_year returns every year's row for a code. Match on this field (or on the `fiscal_year` label beside it, or filter by ?fiscal_year) rather than picking a repeated code by created_at. A year's chart is cloned from the prior year ONCE, when that year's chart is first materialised — an account created afterwards exists only in the year that created it, and is carried into the next year by the year-end rollforward (ZET-266), not automatically.
    - `fiscal_year` integer, nullable: The year label of `fiscal_year_id` (e.g. 2026).
    - `code` string, required
    - `name` string, required
    - `account_class` string, required
    - `normal_side` string, required
    - `is_postable` boolean, required
    - `control_type` string, required
    - `currency` string, nullable
    - `is_active` boolean, required
    - `is_contra` boolean
    - `category` string, nullable
    - `is_intentional` boolean
    - `account_number_guess` string, nullable
    - `created_at` string, date-time, required
    - `updated_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)
