# How a subscription bills each cycle

Understand when a subscription invoices, what each cycle invoice contains, and the two settings that decide whether the invoice is only drafted or issued and emailed by itself.

Source: https://support.rework.com/article/commerce-subscription-billing-cycle

> **In plain words:** A **subscription** repeats a charge on a schedule. Each repeat is a **cycle**, and each cycle ends in an **invoice**. Two settings on the subscription service decide when that invoice is created and what Commerce does with it. Read this page to predict the dates on your invoices, and to learn why a default setup creates drafts that nobody sees. New to Commerce terms? See [Commerce basics](https://support.rework.com/article/commerce-basics).

**Where to find it:** the schedule is on each subscription, Commerce > left icon rail > **Subs** > open a subscription > **Billing timeline** tab. The two settings are in Commerce > left icon rail > **Settings** > **Services** > your subscription service > **Billing**. **Who can use it:** anyone can read the schedule. Changing the settings needs a workspace admin or an owner of the service.

## Words used on this page

- **Cycle:** one billing period of a subscription. A monthly subscription has one cycle per month.
  
- **Billing cycle:** how long one cycle lasts: **Monthly**, **Quarterly** or **Annual**.
  
- **Cycle invoice:** the invoice Commerce creates for one cycle.
  
- **Draft invoice:** an invoice that is still being prepared. It has no invoice number and no due date, and the customer never sees it.
  
- **Issue:** to turn a draft into a real invoice. Issuing gives it its number and its due date.
  
- **Billing mode:** what Commerce does with each cycle invoice once it is created: leave it as a draft, issue it, or issue and email it.
  

## Two settings decide everything

Both are on the subscription service, in **Billing**. Admins change them in [Set up Commerce for recurring billing](https://support.rework.com/article/commerce-subscription-setup-checklist).

**1\. Invoice each cycle: when in the period the invoice is created.**

| 
Choice

 | 

What it means

 |
| --- | --- |
| 

**At the start of the period (in advance)**

 | 

The customer pays for the period before it begins. The first invoice is created the moment you click **Start**.

 |
| 

**At the end of the period (in arrears)**

 | 

The customer pays after using the period. The first invoice is created one cycle after the start.

 |

A subscription service you create in Commerce starts on **At the start of the period (in advance)**. Older services saved without this setting bill in arrears. The choice is copied onto each subscription the first time it starts. Changing the service later affects only subscriptions that start afterwards. A running contract keeps the timing it started with, so no period is ever billed twice or skipped.

**2\. When a cycle comes due: what Commerce does with the invoice.** This is the billing mode.

| 
Billing mode

 | 

What happens when a cycle is due

 |
| --- | --- |
| 

**Manual only**

 | 

Nothing happens by itself. You press **Bill now** on the subscription each cycle.

 |
| 

**Draft the cycle invoice automatically**

 | 

Commerce creates a draft invoice. Nobody is emailed. Someone on your team must open it, issue it and send it. This is the starting mode of a new service.

 |
| 

**Draft + issue automatically**

 | 

Commerce creates the invoice and issues it, so it has a number and a due date. Nobody is emailed.

 |
| 

**Draft + issue + email the customer (with pay link)**

 | 

Commerce creates the invoice, issues it and emails it to the subscription's **Billing contacts**, with a link where the customer reads and pays it. This is the only fully automatic mode.

 |

> **Important:** In the first two modes your customer receives nothing. A draft is also not chased by reminders, because reminders only follow issued invoices. If you want invoices to go out on their own, choose **Draft + issue + email the customer (with pay link)**.

Pressing **Bill now** yourself never emails the invoice, whatever the mode. After it is issued, open it and use **Send**. See [Send an invoice](https://support.rework.com/article/commerce-send-invoice).

Where the invoice lands is the **Invoice book**, the invoice service named in the same **Billing** section. Without an invoice book nothing can bill. The subscription page then shows **Billing needs attention**.

## When a cycle is created

Commerce counts cycles in calendar months from one anchor date, the **start date**. A monthly cycle is always one calendar month, so a cycle never drifts. If a month is shorter, the date is pulled back to its last day, then returns to the original day.

Commerce checks every hour, 17 minutes past the hour, in UTC. When a cycle's date has arrived, it creates that cycle's invoice. A new subscription is checked within the hour, so an invoice normally appears shortly after midnight UTC on its date.

**Example: monthly 100, started 15 January.**

| 
 | 

In advance

 | 

In arrears

 |
| --- | --- | --- |
| 

Cycle 1

 | 

Created 15 January, covers 15 January to 15 February

 | 

Created 15 February, covers 15 January to 15 February

 |
| 

Cycle 2

 | 

Created 15 February

 | 

Created 15 March

 |
| 

Cycle 3

 | 

Created 15 March

 | 

Created 15 April

 |

**Example: started on the 31st.** A monthly subscription that starts on 31 January bills on 28 February (29 in a leap year), then on 31 March, then 30 April, then 31 May.

The invoice name carries its period, for example `Analytics Pro (2027-03-01 to 2028-03-01)`, so you and the customer can see what it covers.

### Bill ahead

**Bill ahead (days)** lets Commerce create the invoice up to 14 days before the cycle date. With 5 days, a cycle dated 1 April is created on 27 March. The due date is counted from the day the invoice is issued, so it moves earlier too. Leave it at 0 to bill on the cycle date.

### First billing date

On the subscription, **Advanced overrides** has **First billing date**. Cycle 1 is created on that date instead, and cycle 2 follows one cycle later. If the first billing date is less than one cycle after the start, the first period is shorter but the invoice still bills one full cycle. Nothing is prorated.

## What a cycle invoice contains

- Every line on the subscription that repeats, at the price on the subscription.
  
- Lines marked **one-time**, such as a setup fee, on **cycle 1 only**. Example: 50 seats at 12 per month plus a setup fee of 200 bills 800 on cycle 1 and 600 on every cycle after.
  
- The subscription's taxes, fees and discounts, the **Cover note** and **Terms & conditions**, and the customer's name as it was when the subscription was created.
  
- A **due date**. It comes from the payment terms on the subscription, for example **Net 30**. If the subscription has none, Commerce uses **Payment terms (days)** on the invoice service, and 30 days if that is empty. The count starts on the day the invoice is issued.
  

If the subscription has an installment plan, the cycle invoice is split into those shares, each with its own date and pay link.

## Nothing is prorated

Commerce never bills a partial period. A cycle is billed in full, whatever day the customer joined or left.

- A customer who starts on 20 January on a monthly 100 plan pays 100 for the first cycle, not a share of January.
  
- **Cancel at period end** lets the current period bill in full, then stops. **Cancel now** stops billing at once, and the period in progress is not billed in part. See [Subscriptions](https://support.rework.com/article/commerce-subscriptions-overview).
  
- A price change takes effect at a cycle boundary, never inside a running cycle. See [Change a subscription](https://support.rework.com/article/commerce-change-subscription).
  

## The end of a fixed term

On a **fixed term**, the last cycle depends on the timing:

- **In arrears:** the cycle dated on the end date bills the period that ends there. That is the final invoice.
  
- **In advance:** a cycle dated on the end date would bill a period that starts after the contract ends, so it is not billed. The subscription completes instead, unless a renewal extended it. See [Renewals](https://support.rework.com/article/commerce-renewals).
  

If the term is not a whole number of cycles (14 months billed quarterly), the last cycle is billed in full.

**Cycles to bill** (in **Advanced overrides**) stops billing after that many cycles, even if the term is longer.

## Unpaid invoices never stop a subscription

If a customer does not pay, the subscription keeps billing. Reminders chase the invoice. See [Unpaid, overdue and aging](https://support.rework.com/article/commerce-unpaid-overdue-aging). To stop billing, [pause or cancel](https://support.rework.com/article/commerce-subscriptions-overview).

## When a cycle does not bill

Commerce stops and tells the subscription's owners once, with a bell notice, when a cycle cannot bill. The subscription page shows **Billing needs attention** with the reason.

| 
Reason

 | 

What to do

 |
| --- | --- |
| 

The service has no invoice book.

 | 

Pick an **Invoice book** in the service's **Billing** settings.

 |
| 

The billing mode is manual.

 | 

Click **Bill now** each cycle, or choose an automatic mode.

 |
| 

A line needs delivery and the service blocks such cycles.

 | 

Set **When a cycle carries them** to **Bill** or **Order**, or use **Bill now** with the delivery lines included.

 |
| 

Delivery orders are on but no order service is chosen.

 | 

Pick a **Cycle order service** in **Billing**.

 |
| 

The subscription has no billable line.

 | 

Add a contract line.

 |

## Troubleshooting

| 
Problem

 | 

Why it happens

 | 

What to do

 |
| --- | --- | --- |
| 

Cycle invoices exist but the customer received nothing.

 | 

The billing mode is **Draft the cycle invoice automatically** or **Draft + issue automatically**.

 | 

Switch the service to **Draft + issue + email the customer (with pay link)**, then send the existing invoices by hand. See [Send an invoice](https://support.rework.com/article/commerce-send-invoice).

 |
| 

Invoices are emailed but the customer has no pay button.

 | 

The invoice service has no payment processor.

 | 

Pick one in the invoice service's **Payment** settings. See [Payment accounts](https://support.rework.com/article/commerce-payment-accounts).

 |
| 

The invoice was created, but nobody was emailed.

 | 

The subscription has no **Billing contacts** with an email address.

 | 

Open the subscription, edit step 1, and add a contact with an email.

 |
| 

The first invoice is dated a month later than expected.

 | 

The service bills in arrears.

 | 

Choose **At the start of the period (in advance)** before starting new subscriptions.

 |
| 

I switched the timing and an existing subscription did not change.

 | 

Timing is fixed when a subscription first starts.

 | 

Plan the change for new subscriptions.

 |
