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

# Billing cycle anchor

> Set up a billing cycle anchor to define customers' subscription renewal and billing dates, and understand how invoices, credits, and day passes are prorated for incomplete first and last subscription cycles

The billing cycle anchor determines the date when a customer's subscription renews and whether proration applies to the first subscription cycle.

The location billing cycle anchor you set defines a default anchor for all new subscriptions. However, when creating a subscription for each specific customer, you can select a different billing cycle anchor if needed. ​

<Frame>
  <iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/nHVetDDKs5Q" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
</Frame>

## Set location default billing cycle anchor

1. Click **(...)** next to the location name > **Location settings** > **Billing** > **Subscriptions** tab.
2. In the **Billing cycle anchor** field, select one of the two values:

<Frame>
  <img src="https://mintcdn.com/spacebring/nghmwGEzw9OIS-Dp/images/billing-subscriptions-billing-cycle-anchor-1.png?fit=max&auto=format&n=nghmwGEzw9OIS-Dp&q=85&s=0bb4435c2027c1dd480407119490b96f" alt="" width="1585" height="451" data-path="images/billing-subscriptions-billing-cycle-anchor-1.png" />
</Frame>

### Subscription start date

If **Subscription start date** is selected as the billing cycle anchor, the subscription renews, and the customer is billed on the date they subscribed.

* The first subscription cycle is not prorated
* The customer receives the first invoice with the full price and the full number of credits and day passes

### First day of the month

If **First day of the month** is selected as the billing cycle anchor, the subscription renews, and the customer is billed on the first day of each month, regardless of the subscription start date. This standardizes renewals on the first of the month and simplifies your revenue tracking and accounting. As a result:

* If the customer subscribes on a date other than the first day of the month, the first subscription cycle is incomplete.
* The customer receives a prorated invoice and a prorated number of credits and day passes for the first cycle. [See how the proration coefficient is calculated](#how-the-proration-coefficient-is-calculated).
* The subscription renews on the first day of each subsequent month with the full invoice price and full credits and day pass numbers.

<Info>
  When customers [sign up](/docs/billing/plans/immediate-sign-ups) by themselves, and the start date isn't the first of the month, the subscription **Renewal** is automatically enabled for them and cannot be disabled. To set a subscription end date, customers must contact an administrator.
</Info>

<Info>
  A subscription inherits a billing cycle anchor at the moment of creation. If you change the location billing cycle anchor, it will apply only to future subscriptions, but the existing ones will continue to renew according to their current billing cycle anchor.
</Info>

## Set billing cycle anchor for an individual subscription

When [creating a subscription](/docs/billing/subscriptions) for a customer, you can:

* Keep the default location billing cycle anchor
* Change the billing cycle anchor specifically for that customer’s subscription

<Frame>
  <img src="https://mintcdn.com/spacebring/nghmwGEzw9OIS-Dp/images/billing-subscriptions-billing-cycle-anchor-2.png?fit=max&auto=format&n=nghmwGEzw9OIS-Dp&q=85&s=184ede1886cf8b80a0b944a353a33e02" alt="" width="1582" height="674" data-path="images/billing-subscriptions-billing-cycle-anchor-2.png" />
</Frame>

For example, your location billing cycle anchor might be **First day of the month** to align monthly subscription renewals across all customers. Meanwhile, for 3-month, 6-month, or yearly subscriptions, you may want to choose the **Subscription start date** option to avoid first-cycle proration.

## How proration for the last subscription cycle works

When an administrator [sets an end date](/docs/billing/subscriptions/cancel) that creates a shorter final cycle, the last cycle is prorated automatically. On the final renewal, the customer receives a prorated invoice and a prorated number of credits and day passes for that incomplete cycle.

<Info>
  For weekly plans, the last subscription cycle is prorated whenever it is shorter than a full week.
</Info>

## How the proration coefficient is calculated

The calculation of the proration coefficient depends on the subscription cycle.

| Subscription cycle          | Coefficient calculation                                               | Example                                                                                                                                                              |
| --------------------------- | --------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Month                       | Days remaining in the month / total days in the month.                | Subscription starts on Jan 15 (today). Since January has 31 days and 14 days have passed, the coefficient is **(31-14) / 31 = 0.548**.                               |
| 3 months, 6 months, or Year | Days remaining in the current period / total days in the past period. | A 3-month subscription starts on Mar 20 (today). Since 12 days remain in the current period and the past period has 90 days, the coefficient is **12 / 90 = 0.133**. |

The proration coefficient is then multiplied by the full membership price. Any applicable taxes you’ve set **are not** included in this amount.

Both the invoice total and any applicable credits and day passes are adjusted proportionally based on the proration coefficient.
