accounting:writeCreates a non-system GL account for the entity. System accounts (is_system_account=true or with a system_account_key) cannot be created via the API — they are provisioned by entity-seed-helpers.mjs only.
Account number is immutable post-create. account_type and normal_balance are also immutable.
Documentation Index
Fetch the complete documentation index at: https://docs.arcuserp.com/llms.txt
Use this file to discover all available pages before exploring further.
API key issued per entity via Settings > Developers > API Keys.
Each key carries scopes (e.g. orders:read, products:write).
Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.
Unique account number (e.g. '5500')
asset, liability, equity, revenue, expense, cogs debit, credit UUID of parent header account
True for rollup accounts that cannot receive postings
Created GL account
A General Ledger account in the chart of accounts. Header accounts (is_header=true) aggregate child accounts and cannot receive postings (Rule A2 / Rule 21). Leaf accounts (is_header=false, is_active=true) are the only valid targets for journal entry lines. System accounts (is_system_account=true) are provisioned by entity-seed-helpers.mjs and cannot be created or modified via the API.
Immutable post-create (e.g. '1300')
Immutable post-create
asset, liability, equity, revenue, expense, cogs Immutable post-create
debit, credit True for rollup accounts that aggregate children. Header accounts CANNOT receive journal entry line postings (Rule A2 / assertGLLinesPostable).
True for accounts seeded by entity-seed-helpers.mjs. System accounts cannot be created, updated, or deleted via the API.
Lookup key used by posting helpers (e.g. ar_account, cogs, revenue, inventory_fg). Code uses getGLAccountByKey(entityId, key) instead of hardcoded account numbers.
True for bank/cash accounts eligible for reconciliation