Accounts API
The Accounts API provides endpoints for managing the Chart of Accounts (COA). Accounts support hierarchical structures with parent-child relationships and multiple account types per US GAAP.Base Path
List Accounts
Retrieve a paginated list of accounts for a company with filtering options.GET /api/v1/accounts
Organization UUID
Company UUID
Filter by account type:
Asset, Liability, Equity, Revenue, ExpenseFilter by detailed category (e.g.,
CurrentAssets, NonCurrentAssets, CurrentLiabilities, Equity, OperatingRevenue, OperatingExpense)Filter by active status
Filter by whether accounts accept journal entry postings
Filter by parent account UUID (for hierarchical filtering)
Maximum items per page (max: 100)
Number of items to skip
Get Account
Retrieve a single account by ID.GET /api/v1/accounts/organizations/{organizationId}/accounts/{id}
Organization UUID
Account UUID
Create Account
Create a new account in the Chart of Accounts.POST /api/v1/accounts
Organization UUID
Company UUID
Unique account number within the company (e.g., “1000”, “4010”)
Account display name
Optional account description
Account type:
Asset, Liability, Equity, Revenue, ExpenseDetailed category for classification. Examples:
- Assets:
CurrentAssets,NonCurrentAssets,FixedAssets - Liabilities:
CurrentLiabilities,NonCurrentLiabilities,LongTermDebt - Equity:
Equity,RetainedEarnings,OtherComprehensiveIncome - Revenue:
OperatingRevenue,NonOperatingRevenue - Expense:
OperatingExpense,CostOfSales,NonOperatingExpense
Normal balance side:
Debit or CreditParent account UUID for hierarchical structure (null for root accounts)
Whether journal entries can be posted to this account
Whether this account should appear in cash flow statement
Cash flow classification:
OperatingActivities, InvestingActivities, FinancingActivitiesWhether this is an intercompany account
Related company UUID for intercompany accounts
ISO 4217 currency code if account is restricted to a specific currency
Whether this is the retained earnings account (only one per company)
Update Account
Update an existing account. Only provided fields are updated.PUT /api/v1/accounts/organizations/{organizationId}/accounts/{id}
Organization UUID
Account UUID
Updated account name
Updated description (set to null to clear)
Update parent account (null to make root account)
Update postable status
Update cash flow relevance
Update cash flow category
Update intercompany status
Update related company
Update currency restriction (null to remove restriction)
Activate or deactivate account
Designate as retained earnings account
Account type (
accountType) and category (accountCategory) cannot be changed after creation.Deactivate Account
Deactivate an account (soft delete). Accounts with posted transactions or active child accounts cannot be deactivated.DELETE /api/v1/accounts/organizations/{organizationId}/accounts/{id}
Organization UUID
Account UUID
Error Responses
Account Not Found (404)
Account Not Found (404)
Account Number Already Exists (409)
Account Number Already Exists (409)
Parent Account Not Found (404)
Parent Account Not Found (404)
Circular Reference (400)
Circular Reference (400)
Has Active Child Accounts (409)
Has Active Child Accounts (409)
Account Types Reference
Asset
Resources owned by the company:
- Current Assets (cash, receivables)
- Non-Current Assets (equipment, investments)
- Fixed Assets (property, equipment)
Liability
Obligations owed by the company:
- Current Liabilities (payables, short-term debt)
- Non-Current Liabilities (long-term debt)
Equity
Owner’s residual interest:
- Common Stock
- Retained Earnings
- Other Comprehensive Income
Revenue
Income from operations:
- Operating Revenue (sales)
- Non-Operating Revenue (interest, gains)
Expense
Costs of operations:
- Cost of Sales
- Operating Expenses
- Non-Operating Expenses