Skip to main content
GET
Drill into statement lines by account

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.

range
string

Period selector: YYYY-MM, YYYY-Qn, YYYY, all, this_month, or last_6_months.

account_codes
string
required

Comma-joined GL account codes, e.g. 3000,3010.

months
integer

Number of trailing months to include.

Response

object | null

Drill payload, or null when nothing is available.

Account-level drill-down behind statement lines. Interiors are returned as-is; amounts are integer cents.