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

# Active Contracts

> How many Contracts are live right now, or were live at a past date.

How big is my Contract base? This report answers it for today, or for any date in the past.

It lives on **Analytics > Contracts > Active**. See [Contracts in the reports](https://getlago.com/docs/v2/guide/analytics/overview.md#contracts-in-the-reports) for how a Contract maps to Plans, currencies and filters.

## What's on this dashboard

Four charts. All of them count Contracts, and all of them behave as a **balance**.

| Chart | What it answers |
| - | - |
| Over time | How big is my base, month by month? |
| By plan | Which Plans is it in? |
| By currency | Which currencies is it in? |
| Details | Which exact Contracts? |

Each point is your **whole base** on that day, not what that month added. The line climbs as the base grows, exactly like a bank balance climbs as you save.

Widen the date range and you get more history: the last point is your base at the end of the range, so that is the point to read. For what a month added or lost, read net change below.

## Active

Contracts that have started and have not ended. Each Contract counts from its `started_at` until its `terminated_at`. See [Contract lifecycle](https://getlago.com/docs/v2/guide/contracts/lifecycle.md).

| | Counted? | If not, where is it? |
| - | - | - |
| `active`: started, still running | ✅ Yes | |
| Created without a Plan | ✅ Yes | Under the **Custom contract** plan |
| On a Plan you have since deleted | ✅ Yes | |
| Belongs to a partner account | ✅ Yes | |
| `terminated` already | ❌ No | [Churn](https://getlago.com/docs/v2/guide/analytics/contracts/churn.md) |
| `pending`: starts later | ❌ No | It appears on its start date |
| `canceled` before it started | ❌ No | It never started, so it never counts |

> [!WARNING]
>
> **By plan, By currency and Details give you a photo, not a period.** Set the range to last quarter and they show the base as it stood on the **last day** of that quarter. To see movement instead, read [New Contracts](https://getlago.com/docs/v2/guide/analytics/contracts/new.md) and [Churn](https://getlago.com/docs/v2/guide/analytics/contracts/churn.md).

## Net change

Did the base grow or shrink? Starts in the period minus terminations in the period.

This is **activity**: each value covers the period it sits in.

## Reading the plan and currency charts

A Contract is grouped under the Plan it was created from. Contracts created without a Plan share one **Custom contract** line per currency.

A Contract's currency is its Plan's currency. Without a Plan, it is the customer's currency, else the organization's default currency.

## Filters

| Filter | What it does |
| - | - |
| Date range | Sets the history for Over time, and the date of the photo for the other charts |
| Currency | Keeps one billing currency |
| Country | Keeps customers in one country |
| Customers | Keeps one or more named customers |
| Customer type | Keeps companies or individuals |
| Plan code | Keeps Contracts on one Plan. Use `custom_contract` for Contracts without a Plan |
| Contract ext. ID | Isolates a single Contract by its `external_id` |
| Customer has tax ID | Keeps customers with, or without, a tax ID on file |

⚠️ There is no granularity selector here. The trend is always monthly.

## What's not included (for now)

* **Money.** This report counts Contracts, never revenue. For the money your base commits to, see [MRR](https://getlago.com/docs/v2/guide/analytics/revenue/mrr.md).
* **Weekly or daily trends.** The trend chart is monthly only.
* **Future starts.** A `pending` Contract is invisible until its start date arrives.

## Common questions

> [accordion] I set the range to last quarter and the count barely moved. Why?
>
> Because the base is a balance, not a period count. You are seeing the base as it stood at the end of that quarter. Read net change, or the New and Churn pages, to see what happened during the quarter.

> [accordion] Does this count customers or Contracts?
>
> Contracts. A customer with three active Contracts adds three to the count.

> [accordion] What is the Custom contract plan?
>
> A Contract created without a Plan still needs a Plan to group on. Lago groups those Contracts under **Custom contract**, plan code `custom_contract`, one per currency. It is not a Plan you can edit in the catalog.

> [accordion] A Contract is scheduled to start next month. Is it counted?
>
> No. It is `pending` until its start. It appears once its start date arrives.

> [accordion] The line climbs every month. Isn't that the months adding up?
>
> The line climbs because your base is growing. Each point is still the whole base on that day, so December's value is your year-end base, not December's additions. Summing the twelve points would count the same Contract twelve times.


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