---
title: "List custom general ledger codes"
method: GET
path: "/accounting/v1.0/custom-general-ledger-codes"
tags: ["Custom General Ledger Codes"]
---

# List custom general ledger codes

`GET /accounting/v1.0/custom-general-ledger-codes`

## Request

- Base URL: `https://api.cloudbeds.com`
- URL: `https://api.cloudbeds.com/accounting/v1.0/custom-general-ledger-codes`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Implicit: `https://hotels.cloudbeds.com/api/v1.2/oauth`
    - Scopes: `read:payment`

Retrieve all custom general ledger (GL) codes configured for a property. GL codes let you map Cloudbeds transaction categories to your own chart-of-accounts structure for reporting and export to external accounting systems.

## Headers

- `X-Property-ID` integer, required

## Response `200`

OK

- CustomGeneralLedgerCodeModel[]
  - `id` string
  - `version` integer
  - `name` string, required
  - `code` string, required
  - `conditionalCode` string
  - `group` 'payments' | 'products' | 'reservations' | 'taxes_fees' | 'deposit_transfers' | 'accounts_receivable_transfers' | 'current_ledger' | 'spaces' | 'channel_commission' | 'gratuity'
  - `archived` boolean

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/cloudbeds/apis/accounting-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/accounting-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/accounting-api/revisions/0b58c698deef?raw)
