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

# Chart of accounts

> The Chart of accounts table in the Beacon Data API: one row per category in your chart of accounts, every column it carries, how each category is classified for cost, and who may read it.

One row is one category in your chart of accounts: its code and name as your ledger has them, where it sits in your hierarchy, and what kind of cost or income Beacon counts it as.

## How to read it

| | |
| - | - |
| Address | `GET https://api.beaconrevenue.io/data/v1/chart-of-accounts` |
| Key | An [app key](https://docs.beaconrevenue.io/app-keys.md), sent as `Authorization: Bearer <your key>`. On the key form it sits under **Finance** |
| Who may read it | The Revenue page decides. The chart of accounts belongs to the whole company, so a key whose person sees only their own or their team's records doesn't receive it |
| Key of a row | `coa_category_id` |
| Paging | Up to 2,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` takes one `coa_category_id`, and can only narrow. See [Entity scope](https://docs.beaconrevenue.io/api/entity-scope.md) |

Each row is an object named `chart_of_accounts_category`. The longer name is deliberate: in the Data API an "account" is always a customer, never a ledger account.

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.

The rows are definitions, not figures Beacon works out, so each row's own `as_of` and `computed_at` are `null`.

A value Beacon doesn't hold is never a blank or a zero; a refusal stands in its place and says why. A `null` on a column means something different: the value doesn't apply to that category, as the columns below say. See [Refusals](https://docs.beaconrevenue.io/api-reference.md#refusals).

## Columns

Fourteen columns, named exactly as the API sends them, plus `copy_night`.

### What the category is

| Column | What it means | Unit |
| - | - | - |
| `coa_category_id` | The category's identifier, as your accounting system supplies it. Where your system's identifiers change between syncs, Beacon builds the identifier from the account code instead and records that it did. | Text identifier |
| `account_code` | The account number your ledger uses today, never a retired one. | Text (ledger account number) |
| `category_name` | The category's own name. | Text |
| `qualified_name` | The name with its full parent path, so two categories with the same name under different parents can be told apart. | Text |
| `parent_coa_category_id` | The `coa_category_id` of the category this one sits under. `null` for a top-level category. | Text identifier, or `null` |
| `is_postable` | Whether entries post to this category directly. `false` for a heading that only totals the categories beneath it, which is what stops an amount being counted twice. | Yes or no |
| `category_status` | Whether the category is in use: `active`, `inactive` or `archived`. An archived category never holds up setup. | One of 3 named values |
| `statutory_grouping` | How your own ledger groups this category, exactly as your ledger sends it: not tidied, not mapped, and never used to decide `cost_role`, because different accounting systems group the same account differently. | Text, as your ledger gives it |

### How it is classified for cost

These are decisions a person makes. Beacon proposes a value and never commits it on its own; `classification_state` tells you whether anyone has looked. How the classification feeds cost to serve and margin is explained in [What it costs to serve a customer](https://docs.beaconrevenue.io/finance/cost-and-margin.md).

| Column | What it means | Unit |
| - | - | - |
| `cost_role` | What kind of cost or income the category carries. Exactly one for every category: `revenue`, `cost_of_service`, `cost_of_acquisition`, `product_development`, `general_administrative`, `non_operating` or `out_of_scope`. The seven are the same for every company. | One of 7 named values |
| `service_cost_layer` | Which part of serving customers the cost belongs to: `support`, `professional_services`, `csm` or `infrastructure`. Only when `cost_role` is `cost_of_service`; `null` on every other category. | One of 4 named values, or `null` |
| `cost_function` | Which acquisition function the cost serves: `marketing`, `sales` or `blended`. Only when `cost_role` is `cost_of_acquisition`; `null` on every other category. | One of 3 named values, or `null` |
| `personnel_source` | Where staff cost for this category is counted from: `ledger` (your ledger) or `WF-02` (Beacon's workforce data). Exactly one, so staff cost is never counted twice. `null` on a category that carries no staff cost. | One of 2 named values, or `null` |
| `classification_state` | Whether the classification is still Beacon's proposal (`proposed`), was confirmed by a person (`confirmed`) or was changed by one (`overridden`). A `proposed` classification is never treated as settled. | One of 3 named values |
| `payment_terms_days` | The usual number of days between spend in this category being recorded and it being paid. Confirmed by a person; a reference value, not a forecast. `null` where no lag has been set. | Days, or `null` |

### When the row was copied

| Column | What it means | Unit |
| - | - | - |
| `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) |

## Empty, or refused

Two different things can stand where you expect a value.

| You see | It means |
| - | - |
| `null` on `service_cost_layer` or `cost_function` | The column doesn't apply: the category isn't a cost of service, or isn't a cost of winning customers |
| `null` on `parent_coa_category_id`, `personnel_source` or `payment_terms_days` | The category is top-level, carries no staff cost, or has no payment lag set |
| A refusal on any column | Neither your accounting connection nor your setup in Beacon has supplied the value yet. The refusal says which, in words |

Expect refusals today on `category_status`, `classification_state`, `parent_coa_category_id` and `personnel_source`, and on `cost_role` where no cost group has been set for the category yet.

### Where your accounting system makes a difference

Beacon reads your chart of accounts through one of two accounting connections, and they don't deliver the same things:

* `parent_coa_category_id` is supplied directly by one; on the other, Beacon works it out from `qualified_name`.
* `is_postable` is supplied by one; on the other, it is a proposal Beacon makes from the category's place in the hierarchy, which a person then confirms. It is only as reliable as the naming it was proposed from.
* `payment_terms_days` can be seen on one connection only in ranges of days, not to the day.

## Who may read it

The Revenue page decides who may read this table. The chart of accounts describes the whole company, so a person who sees only their own or their team's records gets `403` with `outside_grant` instead. None of these values goes to a CRM: they travel on the Data API, the tools for AI assistants and events only. The key reads exactly what its person can see in Beacon, checked again at every read.

## Joining it to other data

`coa_category_id` is the key. Inside this table, `parent_coa_category_id` points to another row's `coa_category_id`, so you can rebuild your hierarchy. [Ledger entries](https://docs.beaconrevenue.io/api/ledger-entries.md) will carry the `coa_category_id` each entry posted to, once Beacon serves them.

There is no customer, segment, industry, size, owner or period column: a category isn't about any one customer or month. The table carries no amounts and no currency either.

## Figures on this table

None. This table holds no scores, KPIs or money. It is where each category is classified, and that classification decides which ledger amounts count towards [cost to serve](https://docs.beaconrevenue.io/definitions/cost-to-serve.md), acquisition cost and [contribution margin](https://docs.beaconrevenue.io/definitions/contribution-margin.md). See [What Beacon builds from your finance systems](https://docs.beaconrevenue.io/finance/overview.md).

## Example

One page of chart-of-accounts rows. Example data, not a real company. One value is refused.

```json theme={null}
{
  "as_of": "2026-11-17T00:00:00Z",
  "computed_at": "2026-11-17T00:00:00Z",
  "data": [
    {
      "coa_category_id": "412",
      "account_code": "6120",
      "category_name": "Customer Support Salaries",
      "qualified_name": "Operating Expenses:People:Customer Support Salaries",
      "parent_coa_category_id": "410",
      "is_postable": true,
      "category_status": "active",
      "cost_role": "cost_of_service",
      "service_cost_layer": "support",
      "cost_function": null,
      "personnel_source": "ledger",
      "classification_state": {
        "reason": "not_computed",
        "what_would_make_it_available": "Beacon doesn't record yet whether this category's cost group is its own suggestion or was confirmed by a person.",
        "schema_version": "PUB-2026.11.23-v0.40"
      },
      "statutory_grouping": "Expense.OperatingExpenses",
      "payment_terms_days": 0,
      "copy_night": "2026-11-17",
      "as_of": null,
      "computed_at": null
    }
  ],
  "page": {}
}
```

## Related

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

> [card] [Column dictionary](https://docs.beaconrevenue.io/build/column-dictionary.md)
>
> Every column, its unit and whether it is served.

> [card] [Chart of accounts object](https://docs.beaconrevenue.io/data-model/chart-of-accounts.md)
>
> Where each value can travel, and how often it updates.


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