Skip to main content
GET
Account ledger (transaction history for a GL account)

Authorizations

Authorization
string
header
required

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.

Query Parameters

account_id
string<uuid>
required

GL account to retrieve ledger for (required)

from_date
string<date>
to_date
string<date>
period_id
string<uuid>
page
integer
default:1
Required range: x >= 1
per_page
integer
default:50
Required range: 1 <= x <= 100

Response

Account ledger with running balance

account
object

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.

opening_balance
number
closing_balance
number
data
object[]