---
title: "List company chart accounts"
method: GET
path: "/companies/{companyId}/accounts"
tags: ["Partner API"]
---

# List company chart accounts

`GET /companies/{companyId}/accounts`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/companies/{companyId}/accounts`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

## Path parameters

- `companyId` string, uuid, required

## Query parameters

- `limit` integer
- `cursor` string
- `updatedSince` string, date-time

## Response `200`

Company accounts

- object
  - `data` PartnerAccount[]
    - `id` string, uuid
    - `code` string
    - `name` string
    - `classification` 'asset' | 'liability' | 'equity' | 'revenue' | 'expense'
    - `subType` string, nullable
    - `parentId` string, uuid, nullable
    - `currencyCode` string
    - `active` boolean
    - `postable` boolean
    - `balanceCents` integer: Integer cents. Example: 1250 means $12.50.
    - `debitCents` integer: Integer cents. Example: 1250 means $12.50.
    - `creditCents` integer: Integer cents. Example: 1250 means $12.50.
    - `reportingRole` 'cash' | 'accounts_receivable' | 'accounts_payable' | 'sales_tax_payable' | 'purchase_tax_receivable' | 'customer_prepayment' | 'vendor_prepayment' | 'inventory' | 'prepaid_expense' | 'fixed_asset' | 'accumulated_depreciation' | 'credit_card' | 'debt' | 'equity' | 'revenue' | 'cost_of_goods_sold' | 'expense' | 'other' | 'null', nullable: Explicit chart-account reporting role used by dual-basis reports and control-account validation.
    - `createdAt` string, date-time
  - `pagination` CursorPagination
    - `limit` integer
    - `cursor` string, nullable
    - `nextCursor` string, nullable
    - `hasMore` boolean

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
