---
title: "Get chart of account by id"
description: "Fetch one chart-of-account record by its Qashio identifier."
source: https://developers.qashio.com/v2/reference/get-public-v1-erp-chart-of-accounts-by-chartofaccountid/
---

# Get chart of account by id

`GET /public/v1/erp/chart_of_accounts/{chartOfAccountId}`

Requires a Bearer access token.

**Purpose.** Fetch one chart-of-account record by its Qashio identifier.

**Description.** Returns a single ledger account. Same fields as a list entry, plus the embedded
owning company.

**Input (path).** `chartOfAccountId` — the Qashio UUID.

**Output.** One chart-of-account object with the list fields plus `erp_company`.

**Errors.** `400`, `401`, `403`, `404`.

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `chartOfAccountId` | string | yes | the Qashio UUID. |

### Example request

```bash
curl -X GET 'https://api.qashio.com/public/v1/erp/chart_of_accounts/%3AchartOfAccountId' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <access_token>'
```

### Example response (200)

```json
{
  "status_code": 200,
  "success": true,
  "data": {
    "id": "240bfc80-f0b3-4dc1-ae40-f607ef6cd48f",
    "remote_name": "Chart of account - 1",
    "qashio_external_id": "COA70o7ccgt08413m",
    "remote_id": "295",
    "account_currency": "AED",
    "account_type": "Asset",
    "description": "CPnsya5pgz5qjdhq",
    "account_number": "45295423.0",
    "status": "draft",
    "is_deleted": false,
    "updated_at": "2026-09-01T13:46:16.918Z",
    "created_at": "2026-09-01T13:46:16.918Z",
    "erp_company": {
      "id": "68c9f979-0360-4e4e-a5c5-327c8119ecb3",
      "name": "Qashio",
      "business_legal_name": "Qashio 2",
      "company_country": "AE",
      "parent_company_id": "COoyy0mfzqhxtxkkk",
      "status": "active",
      "is_deleted": false,
      "updated_at": "2026-08-19T10:34:14.325Z",
      "created_at": "2026-06-16T07:50:44.749Z"
    }
  },
  "meta": {
    "request_id": "3adb2d16090c7b3bdbde3b326a814b30",
    "timestamp": "2026-09-09T10:07:52.143Z"
  }
}
```

### Errors

- `400` Bad Request
- `401` Unauthorized - missing or invalid Bearer token
- `404` Not Found - the requested resource does not exist
