Served, exactly as your billing system sent each line. A column your billing system didn’t send for a line is refused on that line. That is often the case for
unit_price, quantity, discount_amount, tax_amount and is_proration.Preview. This table may still change, always with notice before the change, and becomes stable once it settles. See Versions.
How to read it
The response carries the rows in
data, the cursor in page, and two timestamps for the page: as_of, the moment the values describe, and computed_at, when Beacon last read them in. A value Beacon doesn’t hold is never a blank or a zero; a refusal stands in its place and says why. See Refusals.
Columns
17 columns, named exactly as the API sends them.Reading it right
- Lines are billing records, not revenue. Beacon reads them to work out recurring revenue, and the figures it works out are on Months and quarters. Don’t add lines up and call the result revenue.
line_totalis before tax, whileinvoice_totalon Invoices includes tax.nullmeans a value doesn’t apply to the line: nosubscription_idon a one-off charge, nobilling_cycleon a one-off line, no service dates where the line names no period.- A large billing history means many pages. Read with
changed_sinceafter the first full read, as described in Build an app on the Data API.
Joining it to other data
Example
Example data, not a real company.Related
Invoices
The invoice each line is on.
Products
What each line bills for.
API reference
The collections and the rules they share.