---
title: "GET /accounts"
method: GET
path: "/accounts"
tags: ["Account", "Chart of Accounts"]
---

# GET /accounts

`GET /accounts`

## Request

- Base URL: `https://api.railz.ai`
- URL: `https://api.railz.ai/accounts`
- Auth: HTTP bearer

Gets the latest chart of accounts for a business.

## Query parameters

- `businessName` string, required
- `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks', required
- `offset` number
- `limit` number
- `orderBy` string
- `isActive` boolean

## Response `200`

- GetChartOfAccountsResponseV1Dto
  - `pagination` PaginationMetaData, required
    - `offset` number, required
    - `limit` number, required
    - `count` number, required
  - `count` number, required
  - `meta` ListReportMetaData, required
    - `reportId` string[], required
    - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
    - `businessName` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `data` GetChartOfAccountsDataV1[], required
    - `id` string, required
    - `nominalCode` string
    - `name` string
    - `description` string
    - `group` string
    - `subGroup` string
    - `classification` string
    - `fullyQualifiedName` string
    - `depth` number
    - `currentBalance` number, float
    - `subType` string
    - `isBankAccount` boolean
    - `isSubAccount` boolean
    - `isActive` boolean, required
    - `subsidiaryRefs` SubsidiaryRef[]
      - `id` string
      - `name` string
    - `parentRef` AccountParentRef
      - `id` string
      - `name` string
    - `sourceModifiedDate` string, date-time
    - `type` string, required
    - `section` 'Assets' | 'Expenses' | 'Income' | 'Liabilities' | 'Equity' | 'Non-Posting', required
    - `subSection` 'Current Assets' | 'Non-Current Assets' | 'Current Liabilities' | 'Non-Current Liabilities' | 'Equity' | 'Income' | 'Other Income' | 'Operating Expenses' | 'Other Expenses' | 'Cost of Goods Sold' | 'Other Assets' | 'Other Liabilities' | 'Expenses' | 'Uncategorized Expenses' | 'Uncategorized Income' | 'Non-Posting', required
    - `currencyRef` CurrencyRef
      - `id` string, required
      - `name` string
      - `symbol` string

## Other responses

- `202`: Data in pending state
- `204`: No data available
- `400`: Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401`: Unauthorized - Not logged in or log in expired
- `403`: Forbidden - Not enough permission
- `500`: Server Error

## Changes

- **2026-09-03** `1383b9a47ac9`: 1 info
  - api tag `Account` added
- **2026-08-10** `5cdfae3fa1fa`: 5 breaking, 38 warning, 10 info
  - removed the enum value `plaid` from the `query` request parameter `serviceName`
  - removed the enum value `shopify` from the `query` request parameter `serviceName`
  - removed the enum value `square` from the `query` request parameter `serviceName`
  - the response property `data/items/subsidiaryRefs/items/id` became optional for the status `200`
  - …49 more

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/accounts/get.md)

---

[API](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api.md) - [All operations](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/revisions/1383b9a47ac9?raw)
