Skip to main content
GET
List general ledger lines
Ordered by entry id. Page with the opaque cursor / next_cursor pair; do not use offset. Optional company_id, account_id, start_date, and end_date narrow the walk (posting date on the transaction). A walk includes lines already posted when you request the first page. Postings made after that show up when you omit cursor and start again.

Authorizations

Authorization
string
header
required

An access token from the DualEntry authorization server, sent as Authorization: Bearer <token>. The token acts as the user who signed in, with that user's roles and company access. Do not send an X-API-KEY header in the same request.

Query Parameters

limit
integer
default:100

Number of rows to return (capped at 100)

Required range: 1 <= x <= 100
cursor
string | null

Opaque cursor from a previous response's next_cursor. Omit for the first page. Pass the same company_id, account_id, start_date, and end_date on every page; changing filters mid-walk is undefined.

company_id
integer[] | null

Filter to these company ids. Intersected with the API key's company access.

account_id
integer[] | null

Filter to these account ids.

start_date
string<date> | null

Inclusive posting-date lower bound.

end_date
string<date> | null

Inclusive posting-date upper bound.

Response

OK

items
PublicGeneralLedgerRowOut · object[]
required
next_cursor
string | null

Pass as cursor on the next request. Null when there are no more rows.