---
title: "Get list of ChartOfAccounts"
method: GET
path: "/chart-of-accounts/accounts"
tags: ["Chart Of Accounts"]
---

# Get list of ChartOfAccounts

`GET /chart-of-accounts/accounts`

## Request

- Base URL: `https://openapi.flowaccount.com/v1`
- URL: `https://openapi.flowaccount.com/v1/chart-of-accounts/accounts`
- Auth: none declared
- TypeScript: <https://skmtc.dev/flowaccount/apis/flowaccount-open-api/docs/chart-of-accounts/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Response `200`

ok

- object
  - `status` boolean
  - `message` string
  - `code` number
  - `data` object
    - `total` number: total accounts
    - `accounts` object[]
      - `id` number: Chart Of Account Id
      - `code` number: Chart Of Account Code
      - `category` 'Asset' | 'Liabilities' | 'Equity' | 'Revenue' | 'Expenses'
      - `nameLocal` string: Display name in Thai
      - `nameForeign` string: Display name in English
      - `descriptionLocal` string: Description in Thai (if have)
      - `descriptionForeign` string: Description in English (if have)

## Other responses

- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/flowaccount/apis/flowaccount-open-api.md) - [All operations](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/revisions/f4b2ddcc1041?raw)
