Skip to main content
GET
Profit and loss, one row per month that ties to your books. Preview.

Authorizations

Authorization
string
header
required

A bearer token issued by Beacon under a reader grant, mapped to a role and an entity scope. It is NOT a connector credential and never carries one: Beacon never holds, brokers or transmits the credentials you use with your own source tools.

▲ The identity provider is deliberately not named in this contract. The vendor is under review and a contract that names it makes swapping it a contract change. What is fixed here: the scheme is bearer; the token is issued by Beacon and never by a source tool; and the reader's role and entity scope are resolved before any row is read.

▲ The token is an app key, made in Beacon under Build → App keys. It starts bcn_app_, is shown once, and reads what its person can see in Beacon.

Query Parameters

entity_scope
string

Narrows the read to one entity within your grant. It can only ever narrow: a scope wider than the grant is refused with outside_grant, and never silently widened or silently reduced.

page
string

The opaque cursor from a previous response's page.next. Not an offset.

Response

ProfitAndLossRow rows, scoped to the reader's grant.

Required on every read response in this document. Not optional, not nullable, and not omitted when unknown — a value whose as_of cannot be established returns a not_computed refusal rather than a substituted timestamp.

Two different claims, published as a pair. Collapsing them into one would destroy the distinction between when something was true and when Beacon worked it out.

as_of
string<date-time>
required

The instant the value describes — a property of the data, not a record of Beacon's activity.

For a figure built from several inputs, the STALEST input governs: a composite is only as current as its oldest ingredient, so currency is never overstated. A resource may instead declare a single anchor input, and when it does, the declaration is published to you in as_of_anchor — an override you cannot see would be a discrepancy, not an override.

computed_at
string<date-time>
required

When Beacon last worked the value out. Deliberately not named updated_at: that name is native in several CRMs and would read there as the tool's own field rather than as Beacon's.

data
object[]
required
as_of_anchor
object

Present if and only if this row's as_of came from a declared anchor rather than from the stalest-input rule. Never present otherwise. You can therefore always tell which rule produced the instant you are looking at, which is the whole point of the override being published.

page
object

Cursor paging. Opaque cursors, never offsets.