Download an account-by-account general ledger
Streams every active posted journal line in the selected inclusive month range, ordered by account, date and entry. Reversed originals and their posted reversal twins are both excluded, matching the canonical ledger basis. Each row includes account identity, journal identity, debit, credit and the reconciled running balance. Opening and closing balances use the same fiscal-opening snapshot basis as /accounting/gl; journal facts use the same posted drilldown semantics as /accounting/journal-entries. The whole file is built in one repeatable-read snapshot and never creates a chat message or wakes Björn.
Authorizations
Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....
Query Parameters
Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.
Inclusive first month. Omit for the same month as through.
^[0-9]{4}-(0[1-9]|1[0-2])$Inclusive last month. Omit for the same month as from; both omitted select the latest posted month.
^[0-9]{4}-(0[1-9]|1[0-2])$Response
Account-by-account general-ledger CSV.
The response is of type string.