---
title: "Create Chart Account"
method: POST
path: "/coa/api/account"
tags: ["Company Objects"]
---

# Create Chart Account

`POST /coa/api/account`

Lists the chart of accounts (GL accounts). Each account includes metadata about its parent account and its full lineage (the ordered chain of ancestor accounts), so parent/child account relationships can be reconstructed from the response.

## Request body

- ChartAccount
  - `id` integer, required
  - `is_deleted` boolean, required
  - `deleted_at` string, date-time, nullable, required
  - `reconciliation_ending_date` string, date, required
  - `reconciliation_ending_balance` number, double, required
  - `balance_ytd` number, double, required
  - `name_and_number` string, required
  - `parent_name_and_number` string, nullable, required
  - `sort_key` string, required
  - `has_associated_data` boolean, required
  - `last_modified_at` string, date-time, required
  - `account_id` string, uuid, required
  - `number` string, nullable, required
  - `currency` string
  - `name` string, nullable
  - `nickname` string, nullable
  - `description` string, nullable
  - `status` 'ACTIVE' | 'INACTIVE' — * `ACTIVE` - Active * `INACTIVE` - Inactive
  - `account_type` 'ASSET' | 'LIABILITY' | 'EQUITY' | 'REVENUE' | 'COGS' | 'OPERATING_EXPENSES' | 'OTHER_INCOME' | 'OTHER_EXPENSE' | 'UNCATEGORIZED' | 'COST_ALLOCATION' — * `ASSET` - Asset * `LIABILITY` - Liability * `EQUITY` - Equity * `REVENUE` - Revenue * `COGS` - Cost of Goods Sold * `OPERATING_EXPENSES` - Operating Expenses * `OTHER_INCOME` - Other Income * `OTHER_EXPENSE` - Other Expense * `UNCATEGORIZED` - Uncategorized * `COST_ALLOCATION` - Cost Allocation
  - `account_subtype` 'BANK' | 'ACCOUNTS_RECEIVABLE' | 'OTHER_CURRENT_ASSET' | 'FIXED_ASSET' | 'OTHER_ASSET' | 'ACCOUNTS_PAYABLE' | 'UNAPPLIED_CREDITS' | 'CREDIT_CARD' | 'ACCRUED_REVENUE' | 'DEFERRED_REVENUE' | 'OTHER_CURRENT_LIABILITY' | 'LONG_TERM_LIABILITY' | 'UNBILLED_RECEIVABLE' | 'EQUITY' | 'RETAINED_EARNINGS' | 'INCOME' | 'COST_OF_GOODS_SOLD' | 'EXPENSE' | 'DEFERRED_EXPENSE' | 'OTHER_INCOME' | 'OTHER_EXPENSE' | 'REALIZED_GAIN_LOSS' | 'UNREALIZED_GAIN_LOSS' | 'PREPAID' | 'COST_ALLOCATION' | 'UNCATEGORIZED' — * `BANK` - Bank * `ACCOUNTS_RECEIVABLE` - Accounts Receivable * `OTHER_CURRENT_ASSET` - Other Current Asset * `FIXED_ASSET` - Fixed Asset * `OTHER_ASSET` - Other Asset * `ACCOUNTS_PAYABLE` - Accounts Payable * `UNAPPLIED_CREDITS` - Unapplied Credits * `CREDIT_CARD` - Credit Card * `ACCRUED_REVENUE` - Accrued Revenue * `DEFERRED_REVENUE` - Deferred Revenue * `OTHER_CURRENT_LIABILITY` - Other Current Liability * `LONG_TERM_LIABILITY` - Long Term Liability * `UNBILLED_RECEIVABLE` - Unbilled Receivable * `EQUITY` - Equity * `RETAINED_EARNINGS` - Retained Earnings * `INCOME` - Income * `COST_OF_GOODS_SOLD` - Cost of Goods Sold * `EXPENSE` - Expense * `DEFERRED_EXPENSE` - Deferred Expense * `OTHER_INCOME` - Other Income * `OTHER_EXPENSE` - Other Expense * `REALIZED_GAIN_LOSS` - Realized Gain Loss * `UNREALIZED_GAIN_LOSS` - Unrealized Gain Loss * `PREPAID` - Prepaid * `COST_ALLOCATION` - Cost Allocation * `UNCATEGORIZED` - Uncategorized
  - `account_cashflow_classification` 'NONE' | 'OPERATING' | 'INVESTING' | 'FINANCING' — * `NONE` - None * `OPERATING` - Operating * `INVESTING` - Investing * `FINANCING` - Financing
  - `include_in_eliminations` boolean
  - `include_in_revaluations` boolean
  - `protected` boolean
  - `skip_subledger_validation` boolean — Allow manual journal entries to post to this AR/AP account, bypassing subledger validation
  - `external_id` string, nullable, required
  - `created_at` string, date-time, required
  - `last_recompute_balance_at` string, date-time, nullable
  - `lock_recompute_balance_key` string, nullable
  - `current_balance` number, double
  - `current_balance_book` number, double
  - `lineage_array` string[], nullable — Pre-computed lineage array from root to this account
  - `customer` integer, required
  - `parent` integer, nullable
  - `parent_bank_account` integer, nullable
  - `default_department` integer, nullable
  - `default_tags` integer[]

## Response `201`

- ChartAccount
  - `id` integer, required
  - `is_deleted` boolean, required
  - `deleted_at` string, date-time, nullable, required
  - `reconciliation_ending_date` string, date, required
  - `reconciliation_ending_balance` number, double, required
  - `balance_ytd` number, double, required
  - `name_and_number` string, required
  - `parent_name_and_number` string, nullable, required
  - `sort_key` string, required
  - `has_associated_data` boolean, required
  - `last_modified_at` string, date-time, required
  - `account_id` string, uuid, required
  - `number` string, nullable, required
  - `currency` string
  - `name` string, nullable
  - `nickname` string, nullable
  - `description` string, nullable
  - `status` 'ACTIVE' | 'INACTIVE' — * `ACTIVE` - Active * `INACTIVE` - Inactive
  - `account_type` 'ASSET' | 'LIABILITY' | 'EQUITY' | 'REVENUE' | 'COGS' | 'OPERATING_EXPENSES' | 'OTHER_INCOME' | 'OTHER_EXPENSE' | 'UNCATEGORIZED' | 'COST_ALLOCATION' — * `ASSET` - Asset * `LIABILITY` - Liability * `EQUITY` - Equity * `REVENUE` - Revenue * `COGS` - Cost of Goods Sold * `OPERATING_EXPENSES` - Operating Expenses * `OTHER_INCOME` - Other Income * `OTHER_EXPENSE` - Other Expense * `UNCATEGORIZED` - Uncategorized * `COST_ALLOCATION` - Cost Allocation
  - `account_subtype` 'BANK' | 'ACCOUNTS_RECEIVABLE' | 'OTHER_CURRENT_ASSET' | 'FIXED_ASSET' | 'OTHER_ASSET' | 'ACCOUNTS_PAYABLE' | 'UNAPPLIED_CREDITS' | 'CREDIT_CARD' | 'ACCRUED_REVENUE' | 'DEFERRED_REVENUE' | 'OTHER_CURRENT_LIABILITY' | 'LONG_TERM_LIABILITY' | 'UNBILLED_RECEIVABLE' | 'EQUITY' | 'RETAINED_EARNINGS' | 'INCOME' | 'COST_OF_GOODS_SOLD' | 'EXPENSE' | 'DEFERRED_EXPENSE' | 'OTHER_INCOME' | 'OTHER_EXPENSE' | 'REALIZED_GAIN_LOSS' | 'UNREALIZED_GAIN_LOSS' | 'PREPAID' | 'COST_ALLOCATION' | 'UNCATEGORIZED' — * `BANK` - Bank * `ACCOUNTS_RECEIVABLE` - Accounts Receivable * `OTHER_CURRENT_ASSET` - Other Current Asset * `FIXED_ASSET` - Fixed Asset * `OTHER_ASSET` - Other Asset * `ACCOUNTS_PAYABLE` - Accounts Payable * `UNAPPLIED_CREDITS` - Unapplied Credits * `CREDIT_CARD` - Credit Card * `ACCRUED_REVENUE` - Accrued Revenue * `DEFERRED_REVENUE` - Deferred Revenue * `OTHER_CURRENT_LIABILITY` - Other Current Liability * `LONG_TERM_LIABILITY` - Long Term Liability * `UNBILLED_RECEIVABLE` - Unbilled Receivable * `EQUITY` - Equity * `RETAINED_EARNINGS` - Retained Earnings * `INCOME` - Income * `COST_OF_GOODS_SOLD` - Cost of Goods Sold * `EXPENSE` - Expense * `DEFERRED_EXPENSE` - Deferred Expense * `OTHER_INCOME` - Other Income * `OTHER_EXPENSE` - Other Expense * `REALIZED_GAIN_LOSS` - Realized Gain Loss * `UNREALIZED_GAIN_LOSS` - Unrealized Gain Loss * `PREPAID` - Prepaid * `COST_ALLOCATION` - Cost Allocation * `UNCATEGORIZED` - Uncategorized
  - `account_cashflow_classification` 'NONE' | 'OPERATING' | 'INVESTING' | 'FINANCING' — * `NONE` - None * `OPERATING` - Operating * `INVESTING` - Investing * `FINANCING` - Financing
  - `include_in_eliminations` boolean
  - `include_in_revaluations` boolean
  - `protected` boolean
  - `skip_subledger_validation` boolean — Allow manual journal entries to post to this AR/AP account, bypassing subledger validation
  - `external_id` string, nullable, required
  - `created_at` string, date-time, required
  - `last_recompute_balance_at` string, date-time, nullable
  - `lock_recompute_balance_key` string, nullable
  - `current_balance` number, double
  - `current_balance_book` number, double
  - `lineage_array` string[], nullable — Pre-computed lineage array from root to this account
  - `customer` integer, required
  - `parent` integer, nullable
  - `parent_bank_account` integer, nullable
  - `default_department` integer, nullable
  - `default_tags` integer[]

---

[API](https://skmtc.net/campfire/apis/campfire-developer-apis.md) · [All operations](https://skmtc.net/campfire/apis/campfire-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/campfire/campfire-developer-apis/versions/6945ebc3180e/schema)
