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

# Cash by month

> The Cash by month table in the Beacon Data API: money in and out of each bank account by month and bank category, and each month-end balance.

One row is one bank account in one month: the money that went in or out in one of the bank's own categories, or the account's balance at the end of the month, as Beacon's bank connection stored it.

> [!NOTE]
>
> **Served, once a bank is connected.** Until a bank account is connected to Beacon, this table answers with no rows. `amount_reporting` is refused for a month with a day's exchange rate missing.

> [!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/cash-by-month` |
| Key | An [app key](https://docs.beaconrevenue.io/app-keys.md), sent as `Authorization: Bearer <your key>` |
| Who may read it | Cash belongs to the whole company, and the Cash & runway page decides. A key whose person sees only their own or their team's records does not receive it |
| Paging | `page` takes the cursor from `page.next` in the previous response. 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, so `changed_since` lists every row again after each night's copy. Each row's own `as_of` is the last instant of its month once the month is complete; for a month still running it is a refusal, because the figures are month to date. Each row's own `computed_at` is a refusal, because Beacon doesn't record when a month's bank figures were added up. 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`. The month still running 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`. A page with no rows, before a bank is connected, has `as_of` equal to `computed_at`.

## Columns

12 columns, named exactly as the API sends them.

| Column | What it means | Unit |
| - | - | - |
| `cash_flow_id` | Beacon's ID for this row: the bank account, the month, the direction and the category together. Stable: one row keeps one ID | Text identifier (bank account, month, direction and category) |
| `bank_account_id` | Beacon's ID for the bank account | Text identifier (Beacon bank account ID) |
| `month` | The month, as its first day, in your company's time zone | Date (YYYY-MM-DD, first day of the month) |
| `direction` | in for money in, out for money out, balance for the month-end balance | Text label |
| `category` | The bank's own category for the money, UNCATEGORISED when the bank gave none, or CLOSING\_BALANCE on a balance row | Text label (your bank's own category) |
| `amount` | In and out rows: the month's posted transactions in this category, always positive; pending ones are never included. Balance rows: the last daily balance of the month, which can be negative | Amount in the account's own currency |
| `currency` | The bank account's own currency, for example EUR | Currency code (ISO 4217) |
| `amount_reporting` | The same amount in your one reporting currency: each transaction converted at the rate of its own day, or copied when already in that currency | Amount in your reporting currency |
| `posted_count` | How many posted transactions are behind the row. 0 on balance rows | Count of transactions |
| `is_complete` | Yes when the month has ended and the bank was read cleanly after it ended. No for a month to date | Yes / no |
| `degraded_reason` | Why the row may be out of date or incomplete: stale (the bank hasn't been read recently), reconnect\_required (the bank connection needs reconnecting) or no\_fx\_rate (a day's exchange rate is missing) | Text label |
| `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) |

## Reading it right

* `direction` is `in`, `out` or `balance`. In and out amounts are always positive. A balance row holds the month-end balance, which can be negative, and is never part of in or out.
* Amounts are as Beacon's bank connection stored them. Add in and out rows yourself if you need a month's totals.
* `amount` is in the account's own `currency`; `amount_reporting` is in your one reporting currency.
* Check `is_complete` and `degraded_reason` before treating a month as final.

## Joining it to other data

| To join to | Use |
| - | - |
| [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": 1
  },
  "data": [
    {
      "cash_flow_id": "ba_01|2026-10-01|in|INCOME",
      "bank_account_id": "ba_01",
      "month": "2026-10-01",
      "direction": "in",
      "category": "INCOME",
      "amount": 184250.0,
      "currency": "EUR",
      "amount_reporting": 198990.0,
      "posted_count": 42,
      "is_complete": true,
      "degraded_reason": null,
      "copy_night": "2026-11-16",
      "as_of": "2026-10-31T23:59:59.999Z"
    }
  ],
  "page": {}
}
```

## Related

> [card] [Months and quarters](https://docs.beaconrevenue.io/api/months-and-quarters.md)
>
> Recurring revenue by month.

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