---
title: "List ledger accounts"
method: GET
path: "/api/external/firm/v1/companies/{company_id}/ledger_accounts"
tags: ["Ledger Accounts"]
deprecated: true
---

# List ledger accounts

`GET /api/external/firm/v1/companies/{company_id}/ledger_accounts`

## Request

- Base URL: `https://app.pennylane.com`
- URL: `https://app.pennylane.com/api/external/firm/v1/companies/{company_id}/ledger_accounts`
- Auth: OAuth 2
  - Authorization code: `https://app.pennylane.com/oauth/authorize`
  - Token URL: `https://app.pennylane.com/oauth/oauth/token` scopes: `ledger_accounts:all`, `ledger_accounts:readonly`

> **Deprecated.**

> ⚠️ This endpoint is deprecated. Use [List Ledger Accounts](https://pennylane.readme.io/reference/getledgeraccounts) from the Company API v2 instead. Your firm token can call it for any company of your firm through the `X-Company-Id` header. [Learn how to use your firm token with the Company API v2](https://pennylane.readme.io/docs/firm-api#using-your-firm-token-with-the-company-api-v2).

List ledger accounts


> ℹ️
> This endpoint requires one of the following scopes: `ledger_accounts:all`, `ledger_accounts:readonly`

## Path parameters

- `company_id` integer, required

## Query parameters

- `cursor` string
- `limit` integer
- `filter` string

## Response `200`

Returns a list of ledger accounts

- object
  - `has_more` boolean, required: Indicates whether additional results are available beyond this set. Use this flag to determine if another request is needed.
  - `next_cursor` string, nullable, required: Cursor to retrieve the next set of results. Include this value in the cursor parameter of your next request to fetch subsequent items. A `null` `next_cursor` in the response indicates no further results.
  - `items` object[], required
    - `id` integer, required
    - `number` string, required
    - `label` string, required
    - `vat_rate` string, required: Ledger Account's VAT rate in percentage
    - `country_alpha2` string, required: Ledger Account's country code (alpha2)
    - `enabled` boolean, required
    - `letterable` boolean, required
    - `archived_at` string, date-time, nullable, required: The time the Ledger Account has been archived

## Other responses

- `400`: Bad request
- `401`: Access token is missing or invalid
- `403`: Access to this resource forbidden
- `404`: The resource was not found

## Changes

- **2026-11-03** `256ecc544f85`: 1 info
  - endpoint deprecated

[Operation history](https://skmtc.dev/pennylane/apis/referentials/changes/api/external/firm/v1/companies/:company_id/ledger_accounts/get.md)

---

[API](https://skmtc.dev/pennylane/apis/referentials.md) - [All operations](https://skmtc.dev/pennylane/apis/referentials/llms.txt) - [OpenAPI document](https://skmtc.dev/pennylane/apis/referentials/revisions/256ecc544f85?raw)
