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

# List Gl Template Accounts

`GET /companies/{company_id}/gl/template-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/template-accounts`
- Auth: none declared

The standard P&L accounts that ``fiscal_year``'s chart lacks and a booking may still
name (CompanyMember): posting a document to one creates it under the name given here.
Empty when that year is not open or has no chart yet (nothing would be created there).

ZCT-948 — the manual coding dialog offers these beside the chart, marked new, so the
account the AI proposed for a held document can be chosen before it exists.

## Path parameters

- `company_id` string, required

## Query parameters

- `fiscal_year` integer, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- GlTemplateAccountsResponse: ``GET …/gl/template-accounts``: the accounts a booking may name although the chart does not hold them yet; posting creates the one it uses (ZCT-948).
  - `accounts` GlTemplateAccountOut[], required
    - `code` string, required
    - `name` 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)
