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

# Contracts

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

One row is one customer contract and its terms.

> [!NOTE]
>
> **Served.** A contract Beacon opened from billing carries no signed terms, so `signed_date`, `term_months`, `notice_days`, `auto_renew`, `payment_terms_days`, `discount_pct`, `price_increase_pct` and `total_contract_value` are refused on it. `deal_id` is served only where Beacon knows which deal the contract came from.

> [!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/contracts` |
| 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' contracts |
| 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 the time your billing data last arrived, so `changed_since` lists every contract after each billing load. A contract changed in Beacon between loads shows the earlier time. 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).

## Columns

19 columns, named exactly as the API sends them. Every column except `contract_id` and `is_pilot` is refused where Beacon doesn't hold it.

| Column | What it means | Unit |
| - | - | - |
| `contract_id` | Beacon's ID for the customer's contract, for example `bill:sub_123` for a contract opened from billing. One contract keeps one ID | Text ID (Beacon contract ID) |
| `account_id` | The customer the contract is with, as Beacon's customer ID | Text ID (Beacon customer ID) |
| `deal_id` | The deal the contract came from, as the deal's ID in your CRM, the same ID as on Deals | Text ID (deal ID in your CRM) |
| `contract_name` | The contract's name, as Beacon holds it | Text |
| `status` | Where the contract stands, as Beacon records it, for example Active or Booked | Text label |
| `signed_date` | The day the contract was signed | Date (YYYY-MM-DD) |
| `start_date` | The day the contract starts | Date (YYYY-MM-DD) |
| `term_months` | How many months the contract runs | Number of months |
| `renewal_date` | The day the contract comes up for renewal | Date (YYYY-MM-DD) |
| `notice_days` | How many days' notice the contract asks for before it ends | Number of days |
| `auto_renew` | Whether the contract renews by itself, as Beacon records it | Text label |
| `billing_interval` | How often the contract is billed, for example monthly or annual | Text label |
| `payment_terms_days` | How many days the customer has to pay an invoice under this contract | Number of days |
| `discount_pct` | The discount the contract gives, as a share of list price. `0.10` means 10% | Share, as a decimal |
| `price_increase_pct` | The yearly price rise the contract allows. `0.05` means 5% | Share, as a decimal |
| `total_contract_value` | The contract's total value over its whole term, in the contract's currency | Money, contract currency |
| `annual_contract_value` | What the contract is worth in one year: its lines' yearly amounts added up in Beacon, in the contract's currency | Money, contract currency |
| `currency` | The currency the contract is in, as a three-letter code | Currency code (ISO 4217) |
| `is_pilot` | Whether the contract is a pilot | Yes or no |

## Reading it right

* Each contract is in its own `currency`, and a contract may have none recorded. Don't add `annual_contract_value` across currencies, and don't read it as recurring revenue: recurring revenue is on [Months and quarters](https://docs.beaconrevenue.io/api/months-and-quarters.md).
* `discount_pct` and `price_increase_pct` are decimals, not percentages.
* A contract's health and forecast scores aren't on this table yet. They arrive later as added columns.

## Joining it to other data

| To join to | Use |
| - | - |
| [Customers](https://docs.beaconrevenue.io/api/customers.md) | `account_id` |
| [Contract lines](https://docs.beaconrevenue.io/api/contract-lines.md) | `contract_id` |
| [Deals](https://docs.beaconrevenue.io/api/deals.md) | `deal_id`, once Deals is served |

## Example

Example data, not a real company: a contract opened from billing. The term columns are left out here; on this contract each carries a refusal in its place.

```json theme={null}
{
  "as_of": "2026-11-12T01:31:00Z",
  "computed_at": "2026-11-12T01:31:00Z",
  "data": [
    {
      "contract_id": "bill:sub_4R5t6Y",
      "account_id": "stripe:cus_123",
      "contract_name": "Example Health Ltd: Core",
      "status": "Active",
      "start_date": "2025-04-01",
      "renewal_date": "2026-12-01",
      "billing_interval": "monthly",
      "annual_contract_value": 14700.0,
      "currency": "USD",
      "is_pilot": false
    }
  ],
  "page": {
    "next": "eyJrIjoiMDAwMSJ9"
  }
}
```

## Related

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

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