Skip to main content
GET
Download an account-by-account general ledger

Authorizations

Authorization
string
header
required

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

customer_id
string

Target company. Optional — API keys are pinned to one company, and single-company sessions default to it.

from
string

Inclusive first month. Omit for the same month as through.

Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])$
through
string

Inclusive last month. Omit for the same month as from; both omitted select the latest posted month.

Pattern: ^[0-9]{4}-(0[1-9]|1[0-2])$

Response

Account-by-account general-ledger CSV.

The response is of type string.