# List accounting codes

Returns a paginated list of GL codes for the given business.

Endpoint: GET /v1/businesses/{client_id}/accounting-codes
Version: v1
Security: BearerAuth

## Security:

  - `BearerAuth` (unknown)
    http bearer

## Path parameters:

  - `client_id` (integer, required)
    The ID of the business.

## Query parameters:

  - `offset` (integer)
    Offset to retrieve items from.

  - `limit` (integer)
    Number of items per page.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `count` (integer)
    Total number of GL codes.
    Example: 100

  - `next` (string | null)
    Pagination cursor for the next page.
    Example: limit=50&offset=50

  - `previous` (string | null)
    Pagination cursor for the previous page.
    Example: null

  - `results` (array)

  - `results.id` (string)
    The unique identifier for this GL code.
    Example: 3fa85f64-5717-4562-b3fc-2c963f66afa6

  - `results.code` (string)
    The GL code string used for bookkeeping export.
    Example: 4000

  - `results.name` (string)
    The display name of the GL code.
    Example: Office Expenses

  - `results.created` (string)
    When this GL code was created in UTC.
    Example: 2026-01-15T10:30:00Z

  - `results.updated` (string)
    When this GL code was last updated in UTC.
    Example: 2026-01-15T10:30:00Z

## Response 401:

  - `401` (unknown)
    Unauthorized

## Response 403:

  - `403` (unknown)
    Forbidden

