Books

Get ledger analytics

Returns aggregated ledger analytics (trends, category breakdowns) for the selected range, suitable for charting. Amounts are integer cents.

get/analytics

Request

Query parameters

customer_idstring

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

rangestring

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

Response

Analytics payload.

AnalyticsLedgerData required

Aggregated ledger analytics for charting. Interiors are returned as-is; amounts are integer cents.

Changes

No recorded changes to this operation across all 1 revision of this API.