Skip to main content
This page is a map, not a table of its own: it shows which columns in the Data API carry your company’s headline financials, and which headline lines the API doesn’t carry yet.
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_role says what kind of cost or income it carries: one of revenue, cost_of_service, cost_of_acquisition, product_development, general_administrative, non_operating or out_of_scope. service_cost_layer splits cost_of_service into support, professional_services, csm and infrastructure; cost_function splits cost_of_acquisition into marketing, sales and blended. classification_state says 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), its amount and currency, its posted_date and its calendar month (period_key, as YYYY-MM). cac_component_flag says whether the entry counts towards the cost of acquiring customers.
Don’t total ledger amounts into a cost line yet. The contract says amount is signed but doesn’t yet say which direction is positive, and each entry is in its own currency, not converted. See Ledger entries.

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

From v0.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.

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.