Revenue and the cost classification are served; posted costs aren’t yet.
GET /periods, GET /segments and GET /chart-of-accounts answer with rows today. GET /ledger-entries still returns the not_computed refusal with HTTP 501, never an empty list: Beacon keeps your ledger as one total per category per month today, not entry by entry. Don’t read its answer as “you have no costs”.How to read it
The Data API sends each figure as Beacon worked it out. It doesn’t add, subtract or divide anything at the point of reading, and nothing on this page is a total built for you from other columns.
Revenue, by period
On Months and quarters, one row per reporting period for your whole company. Every value is in your reporting currency.
The five movements account for every change between one period’s opening recurring revenue and its close, and don’t overlap.
Retention, by period
Also on Months and quarters.Margin, by period
Also on Months and quarters. All three are for leadership, the CEO and the CFO only; anyone else gets a refusal in their place, never a blank. Today Beacon holds margin for one span of months, not month by month, so these columns are served only on the row whose period covers exactly that span.Revenue by segment
On Segments, one row per segment.
This is the only recurring-revenue figure the Data API carries by segment, and it is served only where Beacon holds a total for the segment. Movements, retention and margin by segment aren’t in the API yet. To see billing by segment, join Invoices to Customers on
account_id, then Customers to Segments on segment_label.
Costs: how they’re classified, and the entries behind them
The Data API doesn’t send cost totals. It sends the classification your costs are read through, and the posted entries.- On Chart of accounts, each category’s
cost_rolesays what kind of cost or income it carries: one ofrevenue,cost_of_service,cost_of_acquisition,product_development,general_administrative,non_operatingorout_of_scope.service_cost_layersplitscost_of_serviceintosupport,professional_services,csmandinfrastructure;cost_functionsplitscost_of_acquisitionintomarketing,salesandblended.classification_statesays whether each classification is still Beacon’s proposal or was confirmed or changed by a person. - On Ledger entries, each posted entry carries its category (
coa_category_id), itsamountandcurrency, itsposted_dateand its calendar month (period_key, asYYYY-MM).cac_component_flagsays whether the entry counts towards the cost of acquiring customers.
What isn’t in the Data API yet
Each arrives as an addition to the contract, never by changing a column already published.
Which month a period row is
Fromv0.12, each row on Months and quarters says which period it is: period_key (for example 2026-10), period_type (month, quarter, year or trailing twelve months), period_start and period_end. To match a period to ledger entries, use period_start and period_end rather than assuming the two period_key values are written the same way. See Months and quarters.
Example
What/ledger-entries answers today.
Related
Months and quarters
Every column on the period table.
Chart of accounts
How each cost category is classified.
Cost and margin
How costs become margin in Beacon.