---
title: "Get Account Ledger Xlsx"
method: GET
path: "/companies/{company_id}/gl/accounts/{account_id}/ledger.xlsx"
tags: ["reporting"]
---

# Get Account Ledger Xlsx

`GET /companies/{company_id}/gl/accounts/{account_id}/ledger.xlsx`

## 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/{account_id}/ledger.xlsx`
- Auth: none declared

One account's ledger (Kontoauszug) as an ``.xlsx`` (CompanyMember, ZCT-809).

The Excel twin of the *Account details* screen and driven by the same
``account_ledger`` read, so the two cannot disagree about a balance. The whole date
window is exported — never the page on screen — up to :data:`MAX_EXPORT_ROWS`, beyond
which the request is refused rather than truncated.

No fiscal-year parameter, for the same reason the ledger endpoint takes none: the chart
is FY-owned, so ``account_id`` already fixes the year. 404 when the account is not this
company's.

## Path parameters

- `company_id` string, required
- `account_id` string, required

## Query parameters

- `date_from` string, date, nullable
- `date_to` string, date, nullable

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- unknown

## 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)
