Drill into statement lines by account
Returns the underlying detail behind statement lines for the given GL account codes. account_codes is a comma-joined list (e.g. 3000,3010). Returns JSON null when there is nothing to drill into.
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.
Period selector: YYYY-MM, YYYY-Qn, YYYY, all, this_month, or last_6_months.
Comma-joined GL account codes, e.g. 3000,3010.
Number of trailing months to include.
Response
Drill payload, or null when nothing is available.
Account-level drill-down behind statement lines. Interiors are returned as-is; amounts are integer cents.