---
title: "Create account"
method: POST
path: "/public/v2/accounts/"
tags: ["Accounts"]
---

# Create account

`POST /public/v2/accounts/`

Create a new account in the chart of accounts. Supports parent-child relationships and company access restrictions.

## Headers

- `Idempotency-Key` string

## Request body

- PublicAccountSchemaCreateIn
  - `name` string, required
  - `description` string
  - `number` integer, required
  - `account_type` 'bank' | 'accounts_receivable' | 'other_current_asset' | 'fixed_asset' | 'unbilled_receivable' | 'deferred_expense' | 'other_asset' | 'investment' | 'accounts_payable' | 'credit_card' | 'deferred_revenue' | 'long_term_liability' | 'other_current_liability' | 'equity' | 'income' | 'cost_of_goods_sold' | 'expense' | 'other_income' | 'other_expense' | 'statistical', required
  - `currency_iso_4217_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required
  - `is_active` boolean, required
  - `company_id` integer, nullable
  - `parent_account_id` integer, nullable, required
  - `category_1099` union
    - 'NEC-Box 1' | 'MISC-Box 1' | 'MISC-Box 2' | 'MISC-Box 3' | 'MISC-Box 4' | 'MISC-Box 5' | 'MISC-Box 6' | 'MISC-Box 8' | 'MISC-Box 9' | 'MISC-Box 10' | 'MISC-Box 11' | 'MISC-Box 12' | 'MISC-Box 14' | 'MISC-Box 15' | 'INT-Box 1' | 'INT-Box 2' | 'INT-Box 3' | 'DIV-Box 1a' | 'DIV-Box 1b' | 'DIV-Box 2a' | 'DIV-Box 2b' | 'DIV-Box 2c' | 'DIV-Box 2d' | 'DIV-Box 2e' | 'DIV-Box 2f' | 'DIV-Box 3' | 'DIV-Box 4' | 'DIV-Box 5' | 'DIV-Box 6' | 'DIV-Box 7' | 'DIV-Box 8' | 'DIV-Box 9' | 'DIV-Box 10' | 'DIV-Box 12' | 'DIV-Box 13'
    - ''
  - `allowed_company_ids` integer[], nullable — Company IDs allowed to use this account in transactions. Restricts a shared chart-of-accounts entry to specific entities within your organization. Omit for no company restrictions (bank and credit card accounts use company_id instead).
  - `is_monetary` boolean, nullable — Whether this account holds monetary items. If not provided, defaults based on account type.
  - `bank_alias` string, nullable
  - `bank_routing` string, nullable
  - `bank_account_number` string, nullable
  - `iban` string, nullable
  - `start_bank_match_date` string, date, nullable

## Response `201`

Created

- PublicAccountSchemaOut
  - `created_by` AuditActorSchemaOut — Schema for audit actor information.
    - `actor_type` string, nullable
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `timestamp` string, date-time, nullable
  - `updated_by` AuditActorSchemaOut — Schema for audit actor information.
    - `actor_type` string, nullable
    - `email` string, nullable
    - `first_name` string, nullable
    - `last_name` string, nullable
    - `timestamp` string, date-time, nullable
  - `id` integer, required
  - `name` string, required
  - `number` integer, required
  - `description` string, required
  - `is_active` boolean, required
  - `is_system` boolean, required
  - `company_id` integer, nullable, required
  - `parent_account_id` integer, nullable, required
  - `account_type` 'bank' | 'accounts_receivable' | 'other_current_asset' | 'fixed_asset' | 'unbilled_receivable' | 'deferred_expense' | 'other_asset' | 'investment' | 'accounts_payable' | 'credit_card' | 'deferred_revenue' | 'long_term_liability' | 'other_current_liability' | 'equity' | 'income' | 'cost_of_goods_sold' | 'expense' | 'other_income' | 'other_expense' | 'statistical', required
  - `currency_iso_4217_code` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL', required
  - `category_1099` union, required
    - 'NEC-Box 1' | 'MISC-Box 1' | 'MISC-Box 2' | 'MISC-Box 3' | 'MISC-Box 4' | 'MISC-Box 5' | 'MISC-Box 6' | 'MISC-Box 8' | 'MISC-Box 9' | 'MISC-Box 10' | 'MISC-Box 11' | 'MISC-Box 12' | 'MISC-Box 14' | 'MISC-Box 15' | 'INT-Box 1' | 'INT-Box 2' | 'INT-Box 3' | 'DIV-Box 1a' | 'DIV-Box 1b' | 'DIV-Box 2a' | 'DIV-Box 2b' | 'DIV-Box 2c' | 'DIV-Box 2d' | 'DIV-Box 2e' | 'DIV-Box 2f' | 'DIV-Box 3' | 'DIV-Box 4' | 'DIV-Box 5' | 'DIV-Box 6' | 'DIV-Box 7' | 'DIV-Box 8' | 'DIV-Box 9' | 'DIV-Box 10' | 'DIV-Box 12' | 'DIV-Box 13'
    - ''
  - `system_ref` 'Accounts Receivable' | 'IC Accounts Receivable' | 'IC Due From' | 'Vendor Deposits' | 'Undeposited Funds' | 'Accumulated Depreciation' | 'Accounts Payable' | 'IC Accounts Payable' | 'IC Due To' | 'Customer Deposits' | 'Tax Payable' | 'Accrued Purchases' | 'Deferred Revenue' | 'Cumulative Translation Adjustment - Elimination' | 'Cumulative Translation Adjustment' | 'Retained Earnings' | 'Net Income' | 'Realized Gain/Loss' | 'Unrealized Gain/Loss' | 'Matching Gain/Loss' | 'Rounding Gain/Loss', required

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Content
- `500` — Internal Server Error

---

[API](https://skmtc.net/dualentry/apis/dualentry-public-api.md) · [All operations](https://skmtc.net/dualentry/apis/dualentry-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dualentry/dualentry-public-api/revisions/eddf3ef279e2/schema)
