---
title: "List Klara master chart-of-account rows."
method: GET
path: "/core/latest/accounting/accounts"
tags: ["Accounting"]
deprecated: true
---

# List Klara master chart-of-account rows.

`GET /core/latest/accounting/accounts`

## Request

- Base URL: `https://api.klara.ch`
- URL: `https://api.klara.ch/core/latest/accounting/accounts`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

> **Deprecated.**

This operation remains available until <b>2027-08-14</b> and is removed after that date. Use <code>GET /core/v1/accounting/accounts</code> instead.<br/><br/>Returns the canonical debit/credit accounts maintained by Klara as the seed of any company's bookkeeping. The data is global — the same chart of accounts is returned for every tenant, so there are no tenant or company path parameters. When the optional <code>legal-form</code> query parameter is supplied, only accounts that carry a translation for that legal form are returned, and the <code>name</code> field is resolved from the legal-form-specific translation column. The <code>Accept-Language</code> header selects which translation is used; if absent or unsupported the platform default applies. The endpoint is a pure read — idempotent, no side effects. Any authenticated bearer token is accepted; the downstream service declares no role or permission requirement on this endpoint.

## Query parameters

- `legal-form` 'LIMITED_LIABILITY' | 'CORPORATION' | 'OR' | 'INDIVIDUALLY_OWNED_COMPANY' | 'ASSOCIATION' | 'SIMPLE_PARTNERSHIP' | 'GENERAL_PARTNERSHIP' | 'LIMITED_PARTNERSHIP' | 'COOPERATIVE_COMPANY' | 'FOUNDATION'

## Headers

- `Accept-Language` string

## Response `200`

Master accounts, sorted by <code>code</code> ascending. Empty array when the chart of accounts has not been seeded yet.

- PublicApiAccount[]
  - `id` integer: Internal identifier of the master account.
  - `code` integer: Numeric account code as printed on the chart of accounts.
  - `name` string: Localized account name. Resolved against the request's <code>Accept-Language</code> and, when <code>legal-form</code> is supplied, against the legal-form-specific translation.
  - `tags` string: Free-text keyword tokens associated with the account, used by client-side search. Tokens are delimited by comma or semicolon.
  - `links` string: Linked-account references used by report computations.
  - `accountReportLinks` string: Report-grouping references used to assemble balance-sheet / P&L groupings.
  - `initialBalanceSheet` boolean: True when the account is part of the initial opening-balance sheet.
  - `visibleFirstFiscalYear` boolean: True when the account is visible during the first fiscal year of a new company.
  - `visibleFromSecondFiscalYear` boolean: True when the account becomes visible from the second fiscal year onwards.
  - `vatAccount` boolean: True when the account is reserved for VAT postings.
  - `accountReportFilters` PublicApiAccountReportFilter[]: Report-grouping configuration rows attached to this account.
    - `display` string: Human-readable label of the report bucket this account contributes to.
    - `linkAccountValue` string: Underlying linked-account value used by the accounting engine to resolve the bucket.
  - `notManuallyAdded` boolean: True when the account was seeded automatically (not added by an end user).

## Other responses

- `401`: No Authorization header found or invalid token<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `404`: The supplied <code>legal-form</code> value does not match any known legal form.<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `410`: Gone. This operation is removed after 2027-08-14; every call after that date answers 410. Use <code>GET /core/v1/accounting/accounts</code> instead.<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `429`: API rate limit exceeded<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.
- `500`: Something went wrong on our side while processing the request. Please kindly contact our support.<br/><br/>Failures detected by a downstream service carry that service's own <code>code</code>, which this reference does not enumerate, so the <code>code</code> field may hold a value not documented here. Treat an unrecognised code as a generic failure of the status it arrives with, and do not branch on a code this reference does not list.

---

[API](https://skmtc.dev/klara/apis/klara-public-api.md) · [All operations](https://skmtc.dev/klara/apis/klara-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/klara/apis/klara-public-api/revisions/490b1a879fc2?raw)
