---
title: "Get a ledger account"
method: GET
path: "/api/external/v2/ledger_accounts/{id}"
tags: ["Ledger Accounts"]
---

# Get a ledger account

`GET /api/external/v2/ledger_accounts/{id}`

## Request

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

Get a ledger account


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

## Path parameters

- `id` integer, required

## Headers

- `X-Company-Id` string

## Response `200`

Returns the ledger account

- object
  - `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
  - `type` string, required
  - `letterable` boolean, required
  - `created_at` string, date-time, required: The time the ledger account has been created
  - `updated_at` string, date-time, required: The last time the ledger account has been updated

## 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** `871f863307e5`: 1 info
  - added the new optional `header` request parameter `X-Company-Id`

[Operation history](https://skmtc.dev/pennylane/apis/company-v2/changes/api/external/v2/ledger_accounts/:id/get.md)

---

[API](https://skmtc.dev/pennylane/apis/company-v2.md) - [All operations](https://skmtc.dev/pennylane/apis/company-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/pennylane/apis/company-v2/revisions/871f863307e5?raw)
