---
title: "List the chart of accounts as used in a GL version: distinct account numbers with their most common description and total debit/credit movement"
method: POST
path: "/api/v1/list_accounts"
---

# List the chart of accounts as used in a GL version: distinct account numbers with their most common description and total debit/credit movement

`POST /api/v1/list_accounts`

## Request

- Base URL: `https://k-phi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://k-phi.com/api/v1/list_accounts`
- Auth: HTTP bearer

List the chart of accounts as used in a GL version: distinct account numbers with their most common description and total debit/credit movement. Optionally filter by account prefix.

## Request body

- object
  - `version` string: GL version label (e.g. "2026-06"), from kphi_list_versions. Required when more than one version exists: without it the tool answers needs_version with the list instead of picking one.
  - `acct_prefix` string: Account number prefix filter, e.g. "6" for all PCG expense accounts.

## Response `200`

OK

- object
  - `data` object
  - `meta` object
    - `api` string
    - `capability` string
    - `at` string

## Other responses

- `401`: No or invalid credential
- `403`: Scope, extension or Builder Mode refused
- `422`: The capability refused the input
- `429`: Rate or daily quota reached

---

[API](https://skmtc.dev/k-phi/apis/k-api.md) · [All operations](https://skmtc.dev/k-phi/apis/k-api/llms.txt) · [OpenAPI document](https://skmtc.dev/k-phi/apis/k-api/revisions/60b28690ec35?raw)
