> ## 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.

# Subscription months

> The Subscription months table in the Beacon Data API: each subscription's monthly recurring revenue in each closed month.

One row is one subscription in one closed month: its monthly recurring revenue, in its own billing currency and in your reporting currency, with the customer and product it belongs to.

> [!NOTE]
>
> **Served, closed months only.** The month still running and months that are only scheduled are not listed. A month appears once it has closed.

> [!WARNING]
>
> **Read it here, not as a file.** This table is large, and each page takes several seconds to read today. It is not offered in Download data yet: read it through the API, page by page. It joins the files later.

> [!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/subscription-months` |
| Key | An [app key](https://docs.beaconrevenue.io/app-keys.md), sent as `Authorization: Bearer <your key>`. On the key form it sits under **Customers and revenue** |
| Who may read it | A subscription belongs to a customer, so the Customers page decides. A key whose person sees only their own or their team's customers receives only those customers' rows |
| Key of a row | `subscription_id` and `month` together |
| Paging | Up to 10,000 rows a page. Send `?page=<next>`, with the value of `page.next` from the previous response, to read on. 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` and `computed_at`. Every row carries `copy_night`: the night Beacon copied it from your Beacon data into your company's own database. Every value on the row is as it stood that night. Each row's own `as_of` is the last instant of its month. Beacon doesn't record when a month's revenue was worked out, so each row's own `computed_at` is a refusal saying so. The page's `computed_at` is the start of the copy night (UTC). A value Beacon doesn't hold is never a blank or a zero; a refusal stands in its place. See [Refusals](https://docs.beaconrevenue.io/api-reference.md#refusals).

**The page's date.** The page's `as_of` is the end of the latest month on the page that has closed, and `as_of_anchor` says so: `kind` is `period_end` and `basis` is `latest_period`. A month still to come never sets it. Each row keeps its own `as_of`. A page with no closed month among its rows is dated by its stalest row instead, and carries no `as_of_anchor`.

## Columns

8 columns, named exactly as the API sends them.

| Column | What it means | Unit |
| - | - | - |
| `subscription_id` | The subscription, the same ID as on [Subscriptions](https://docs.beaconrevenue.io/api/subscriptions.md). With `month`, it names the row | Text identifier (Beacon subscription ID) |
| `account_id` | The customer the subscription belongs to, the same ID as on [Customers](https://docs.beaconrevenue.io/api/customers.md) | Text identifier (Beacon customer ID) |
| `product_id` | The product the subscription is for, the same ID as on [Products](https://docs.beaconrevenue.io/api/products.md) | Text identifier (Beacon product ID) |
| `month` | The month the row is about, as its first day. With `subscription_id`, it names the row | Date (YYYY-MM-DD, the first day of the month) |
| `mrr` | The subscription's monthly recurring revenue for the month, in its own billing currency | Amount in the subscription's own currency |
| `currency` | The subscription's own billing currency, for example USD | Currency code (ISO 4217) |
| `mrr_reporting` | The same revenue in your one reporting currency, converted at the rate of the month's billing day, or copied when already in that currency | Amount in your reporting currency |
| `copy_night` | The night Beacon copied this row from your Beacon data into your company's own database. Every value on the row is as it stood that night | Date (YYYY-MM-DD) |

## When a value is refused

| Column | Refused when |
| - | - |
| `account_id`, `product_id`, `mrr`, `currency` | Beacon doesn't hold the value for that subscription and month. The refusal says why in words |
| `mrr_reporting` | No exchange rate was held for the month's billing day |
| The row's own `computed_at` | Always. Beacon doesn't record when a month's revenue was worked out |

## Reading it right

* **Closed months only.** The current month is never here. For a month to date, use [Months and quarters](https://docs.beaconrevenue.io/api/months-and-quarters.md).
* Added up by month, `mrr_reporting` gives the same monthly recurring revenue as [Months and quarters](https://docs.beaconrevenue.io/api/months-and-quarters.md).
* Add up `mrr_reporting`, not `mrr`: `mrr` is in each subscription's own currency.
* A subscription has one row for each closed month it paid in.

## Joining it to other data

| To join to | Use |
| - | - |
| [Subscriptions](https://docs.beaconrevenue.io/api/subscriptions.md) | `subscription_id` |
| [Customers](https://docs.beaconrevenue.io/api/customers.md) | `account_id` |
| [Products](https://docs.beaconrevenue.io/api/products.md) | `product_id` |
| [Months and quarters](https://docs.beaconrevenue.io/api/months-and-quarters.md) | `month` (the first day of the month) |

## Example

Example data, not a real company. The row's own `computed_at` is left out here; it carries a refusal in its place.

```json theme={null}
{
  "as_of": "2026-10-31T23:59:59.999Z",
  "computed_at": "2026-11-16T00:00:00Z",
  "as_of_anchor": {
    "kind": "period_end",
    "basis": "latest_period",
    "rows_stamped": 10000
  },
  "data": [
    {
      "subscription_id": "sub_123",
      "account_id": "stripe:cus_123",
      "product_id": "prod_123",
      "month": "2026-10-01",
      "mrr": 1200.0,
      "currency": "USD",
      "mrr_reporting": 1104.0,
      "copy_night": "2026-11-16",
      "as_of": "2026-10-31T23:59:59.999Z"
    }
  ],
  "page": {
    "next": "c3ViXzEyNHwyMDI2LTEw"
  }
}
```

To read the next page:

```bash theme={null}
curl "https://api.beaconrevenue.io/data/v1/subscription-months?page=c3ViXzEyNHwyMDI2LTEw" \
  -H "Authorization: Bearer $BEACON_APP_KEY"
```

## Related

> [card] [Customer months](https://docs.beaconrevenue.io/api/customer-months.md)
>
> Each customer's revenue movements by month.

> [card] [Revenue by group](https://docs.beaconrevenue.io/api/revenue-by-group.md)
>
> Revenue and retention by month, cut nine ways.

> [card] [Subscriptions](https://docs.beaconrevenue.io/api/subscriptions.md)
>
> Who pays for what, from when.


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