Skip to main content
One row is one line on an invoice: what was billed, for which product, over which dates.
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_total is before tax, while invoice_total on Invoices includes tax.
  • null means a value doesn’t apply to the line: no subscription_id on a one-off charge, no billing_cycle on a one-off line, no service dates where the line names no period.
  • A large billing history means many pages. Read with changed_since after 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.
The five columns not shown are refused on this line, as described above.

Invoices

The invoice each line is on.

Products

What each line bills for.

API reference

The collections and the rules they share.