Create account
Create a new account in the chart of accounts.
**Idempotency:** If external_id is provided and matches an existing account,
returns the existing account with 200 OK.
**Parent account:** Can be specified by UUID, code, or external_id.
**Accounting validations:**
- is_non_cash_expense can only be set on expense accounts
- balance_behavior must be 'debit_positive', 'credit_positive', or blank
Request
- Base URLhttps://docs.thredfi.com (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP basic
- or HTTP bearer
- or HTTP bearer
Path parameters
Request body
Unique account code within business (e.g., '1000', 'REV-SALES')
Account display name. Maps to custom_name field.
Account type: asset, liability, equity, revenue, expense
- asset - Asset
- liability - Liability
- equity - Equity
- revenue - Revenue
- expense - Expense
Account subtype for granular categorization
- current_assets - Current Assets
- non_current_assets - Non-current Assets
- current_liabilities - Current Liabilities
- non_current_liabilities - Non-current Liabilities
- share_capital - Share Capital
- share_premium - Share Premium
- reserves - Reserves
- retained_earnings - Retained Earnings
- revenue - Revenue
- other_operating_income - Other Operating Income
- finance_income - Finance Income
- direct_costs - Direct Costs
- operating_expenses - Operating Expenses
- finance_costs - Finance Costs
- income_tax - Income Tax
Parent account identifier - accepts UUID, code, or external_id
Human-readable description of account purpose
External system identifier. Enables idempotent creation.
Financial institution name (e.g., 'Barclays Bank PLC')
International Bank Account Number (EU/UK format)
UK sort code (flexible format: XX-XX-XX or XXXXXX)
Masked account number for display (e.g., '****4300')
Override balance calculation behavior. Leave blank for standard accounting rules.
- `` - Auto-detect
- debit_positive - Debit Positive
- credit_positive - Credit Positive
Mark as cash or cash equivalent for cash flow purposes
Mark as non-cash expense (depreciation, amortization). Only valid for expense accounts.
Response
Unique account identifier
Account code from chart of accounts (e.g., '1000', '4000')
Account name from chart of accounts
Account currency from business base currency (GBP, EUR, USD)
Account type code (asset, liability, equity, revenue, expense)
- asset - Asset
- liability - Liability
- equity - Equity
- revenue - Revenue
- expense - Expense
Human-readable account type (e.g., 'Current Asset', 'Revenue')
Account subtype code for more granular classification (bank, cash, etc.)
- current_assets - Current Assets
- non_current_assets - Non-current Assets
- current_liabilities - Current Liabilities
- non_current_liabilities - Non-current Liabilities
- share_capital - Share Capital
- share_premium - Share Premium
- reserves - Reserves
- retained_earnings - Retained Earnings
- revenue - Revenue
- other_operating_income - Other Operating Income
- finance_income - Finance Income
- direct_costs - Direct Costs
- operating_expenses - Operating Expenses
- finance_costs - Finance Costs
- income_tax - Income Tax
Account subtype for more granular classification
Parent account code if this is a sub-account (null for top-level accounts)
Current balance in cents
Formatted balance with currency symbol (e.g., '£12,500.50')
Debit balance in cents
Credit balance in cents
Period balance in cents (null if no period filter applied)
Formatted period balance with currency symbol (null if no period filter)
Whether this account has sub-accounts (nested hierarchy)
Depth in account hierarchy (0 for root accounts)
Whether this account is active and accepting transactions
Detailed account description
Bank institution name (for bank accounts only)
International Bank Account Number (for bank accounts)
UK bank sort code (for UK bank accounts, format: XX-XX-XX)
Masked account number showing last 4 digits (e.g., '****5555')
Total number of debit transactions (count, not amount)
Total number of credit transactions (count, not amount)
Date of most recent journal entry
Reference of most recent journal entry
List of sub-accounts if this is a parent account (empty array if no children)
Changes
No recorded changes to this operation across all 1 revision of this API.