Skip to main content
GET
Get Profit & Loss by one dimension axis

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.

axis_id
string
required
date_from
string<date>
date_to
string<date>

Response

Ledger-backed dimension P&L.

axis_id
string
required
axis_name
string
required
rows
object[]
required
total_cents
integer
required
date_from
string<date>
date_to
string<date>