---
title: "Batch Create Accounts"
method: POST
path: "/v2/accounting/accounts/batch"
tags: ["AccountControllerV2", "Chart of Accounts"]
---

# Batch Create Accounts

`POST /v2/accounting/accounts/batch`

## Request

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

**Supported for:**

`quickbooks` `xero` `oracleNetsuite` `sageBusinessCloud` `sageIntacct` `wave`

## Request body

- BatchPushChartOfAccountV2Dto
  - `connectionUuid` string, required: Unique connection identifier.
  - `batch` PushChartOfAccountV2[], required
    - `nominalCode` string
    - `name` string, required
    - `description` string
    - `type` 'bank' | 'currentAsset' | 'fixedAsset' | 'inventory' | 'nonCurrentAsset' | 'accountReceivable' | 'equity' | 'expense' | 'otherExpense' | 'cogs' | 'accountPayable' | 'creditCard' | 'nonCurrentLiability' | 'currentLiability' | 'income' | 'incomeGeneral' | 'otherIncome' | 'unbilledReceivable' | 'deferredExpense' | 'deferredIncome'
    - `currency` string
    - `taxRateRef` TaxRateRefDto
      - `id` string, required
    - `bankAccountNumber` string
    - `subType` 'cash&Bank' | 'currentAsset' | 'propertyPlantAndEquipment' | 'longTermAsset' | 'currentLiability' | 'longTermLiability' | 'equity' | 'income' | 'costOfGoodsSold' | 'operatingExpense'
    - `classification` 'asset' | 'equity' | 'expense' | 'liability' | 'revenue' | 'nonPosting'
    - `subsidiaryRefs` SubsidiaryRefDto[]
      - `id` string, required
    - `parentRef` ParentRefDtoV2
      - `id` string, required
      - `name` string
    - `passThrough` object

## Response `200`

- BatchPushChartOfAccountV2ResponseDto
  - `connectionUuid` string, required
  - `businessName` string, required
  - `serviceName` 'freshbooks' | 'quickbooks' | 'quickbooksDesktop' | 'xero' | 'oracleNetsuite' | 'sageBusinessCloud' | 'sageIntacct' | 'dynamicsBusinessCentral' | 'dynamics365Finance' | 'wave' | 'myob' | 'zohoBooks' | 'byod', required
  - `batchId` string, required
  - `batch` PushChartOfAccountIndividualResponseV2Dto[], required
    - `pushCommunicationId` string, required
    - `requestedOn` string, date-time, required
    - `status` 'success' | 'failed' | 'pending', required
    - `data` PushChartOfAccountV2, required
      - `nominalCode` string
      - `name` string, required
      - `description` string
      - `type` 'bank' | 'currentAsset' | 'fixedAsset' | 'inventory' | 'nonCurrentAsset' | 'accountReceivable' | 'equity' | 'expense' | 'otherExpense' | 'cogs' | 'accountPayable' | 'creditCard' | 'nonCurrentLiability' | 'currentLiability' | 'income' | 'incomeGeneral' | 'otherIncome' | 'unbilledReceivable' | 'deferredExpense' | 'deferredIncome'
      - `currency` string
      - `taxRateRef` TaxRateRefDto
        - `id` string, required
      - `bankAccountNumber` string
      - `subType` 'cash&Bank' | 'currentAsset' | 'propertyPlantAndEquipment' | 'longTermAsset' | 'currentLiability' | 'longTermLiability' | 'equity' | 'income' | 'costOfGoodsSold' | 'operatingExpense'
      - `classification` 'asset' | 'equity' | 'expense' | 'liability' | 'revenue' | 'nonPosting'
      - `subsidiaryRefs` SubsidiaryRefDto[]
        - `id` string, required
      - `parentRef` ParentRefDtoV2
        - `id` string, required
        - `name` string
      - `passThrough` object

## Other responses

- `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 `AccountControllerV2` added
- **2026-08-10** `5cdfae3fa1fa`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/railz/apis/fis-accounting-data-as-a-service-api/changes/v2/accounting/accounts/batch/post.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)
