> ## Documentation Index
> Fetch the complete documentation index at: https://docs.beaconrevenue.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Invoices

> The Invoices table in the Beacon Data API: one row per invoice, every column it carries, what it answers today, and how to join it.

One row is one invoice you sent a customer, at its latest version.

> [!NOTE]
>
> **Served.** Beacon keeps every invoice your billing system sends, for the life of each customer, and serves each one at its latest version.

> [!NOTE]
>
> **Preview.** This table may still change, always with notice before the change, and becomes stable once it settles. See [Versions](https://docs.beaconrevenue.io/api/versions.md#stable-and-preview).

## How to read it

| | |
| - | - |
| Address | `GET https://api.beaconrevenue.io/data/v1/invoices` |
| Key | An [app key](https://docs.beaconrevenue.io/app-keys.md), sent as `Authorization: Bearer <your key>` |
| Who may read it | A key whose person sees only their own customers receives only those customers' invoices |
| Paging | `page` takes the cursor from `page.next` in the previous response. There is no `page.next` on the last page. See [Paging](https://docs.beaconrevenue.io/api/paging.md) |
| Narrowing | `entity_scope` narrows the read to one entity inside your access, and can only narrow. See [Entity scope](https://docs.beaconrevenue.io/api/entity-scope.md) |

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](https://docs.beaconrevenue.io/api-reference.md#refusals).

## Columns

12 columns, named exactly as the API sends them.

| Column | What it means | Unit |
| - | - | - |
| `invoice_id` | The invoice's ID in your billing system, for example `in_123`. One invoice keeps one ID | Text ID (invoice ID in your billing system) |
| `account_id` | The customer the invoice was sent to, as Beacon's customer ID, the same ID as on Customers | Text ID (Beacon customer ID) |
| `invoice_number` | The invoice number printed on the invoice. A label, not an ID: two systems can reuse a number. Refused where Beacon doesn't hold it | Text |
| `issue_date` | The day the invoice was issued | Date (YYYY-MM-DD) |
| `due_date` | The day payment is due. `null` when the invoice has no due date | Date (YYYY-MM-DD) |
| `currency` | The currency the invoice is in, as a three-letter code, for example USD | Currency code (ISO 4217) |
| `invoice_total` | The invoice total, including tax. Not a revenue figure. Refused where Beacon doesn't hold it | Money, invoice currency |
| `amount_due` | The amount the customer was asked to pay on this invoice, as your billing system states it. Refused where Beacon doesn't hold it | Money, invoice currency |
| `amount_paid` | How much has been paid on this invoice, as your billing system states it. Refused where Beacon doesn't hold it | Money, invoice currency |
| `amount_remaining` | How much is still owed on this invoice, as your billing system states it. Refused where Beacon doesn't hold it | Money, invoice currency |
| `status` | The invoice's status in your billing system's own words, for example `paid`, `open` or `void`. Refused where Beacon doesn't hold it | Text, as your billing system names it |
| `source_modified_at` | When your billing system last changed this invoice. Refused where Beacon doesn't hold it | Date and time (UTC) |

## Reading it right

* `invoice_total` includes tax. It is a billing figure, not revenue: recurring revenue is worked out monthly and read on [Months and quarters](https://docs.beaconrevenue.io/api/months-and-quarters.md).
* Each invoice is in its own `currency`. Don't add totals across currencies.
* `status` is in your billing system's own words. Beacon doesn't rename it, so read it with that system in mind.
* Payments aren't a table of their own yet. `amount_paid` and `amount_remaining` are what your billing system states on the invoice.

## Joining it to other data

| To join to | Use |
| - | - |
| [Customers](https://docs.beaconrevenue.io/api/customers.md) | `account_id` |
| [Invoice lines](https://docs.beaconrevenue.io/api/invoice-lines.md) | `invoice_id` |
| [Segments](https://docs.beaconrevenue.io/api/segments.md) | Through Customers: `account_id`, then `segment` to `segment_label` |

## Example

Example data, not a real company.

```json theme={null}
{
  "as_of": "2026-11-12T01:31:00Z",
  "computed_at": "2026-11-12T01:31:00Z",
  "data": [
    {
      "invoice_id": "in_1Q2w3E",
      "account_id": "stripe:cus_123",
      "invoice_number": "A1B2-0042",
      "issue_date": "2026-10-01",
      "due_date": "2026-10-31",
      "currency": "USD",
      "invoice_total": 1250.0,
      "amount_due": 1250.0,
      "amount_paid": 1250.0,
      "amount_remaining": 0.0,
      "status": "paid",
      "source_modified_at": "2026-10-02T09:14:00Z"
    }
  ],
  "page": {
    "next": "eyJrIjoiMDAwMSJ9"
  }
}
```

## Related

> [card] [Invoice lines](https://docs.beaconrevenue.io/api/invoice-lines.md)
>
> The lines on each invoice.

> [card] [Customers](https://docs.beaconrevenue.io/api/customers.md)
>
> Every customer, joined on `account_id`.

> [card] [API reference](https://docs.beaconrevenue.io/api-reference.md)
>
> The collections and the rules they share.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.