Set up Commerce for recurring billing
Everything an admin sets once so that subscription invoices are created, issued, emailed with a pay link and chased by themselves.
In plain words: A subscription only bills and emails on its own when five things are set up behind it: a subscription service, an invoice book, a payment processor, a billing mode and a renewal quote service. A new service starts with settings that create drafts and email nobody. Read this page once, in order, before your first customer starts. New to Commerce terms? See Commerce basics.
Where to find it: Commerce > left icon rail > Settings > Services. Who can use it: workspace admins, and the owners of each service.
What you are building
When a subscription cycle comes due, this chain runs by itself:
The subscription service decides when the invoice is created and what happens to it.
The invoice is created in an invoice book, which is an invoice service.
The invoice book's payment processor (a payment service) gives the customer a way to pay online.
Commerce emails the customer a link, and later sends reminders if the invoice stays unpaid.
Near the end of a fixed term, a renewal quote service drafts the renewal.
If one link is missing, the subscription page shows a Billing needs attention card, or invoices are created and nobody sees them. This checklist closes every gap.
The checklist at a glance
# | What to set | Where | Recommended value |
|---|---|---|---|
1 | Selling entity | Settings > Organization > Legal entities | One entity, used as the default |
2 | Payment processor on the invoice book | Invoice service > Payment | A payment service with a connected account |
3 | Invoice book | Subscription service > Billing | An invoice service |
4 | Invoice each cycle (timing) | Subscription service > Billing | At the start of the period (in advance) for prepaid plans |
5 | When a cycle comes due (billing mode) | Subscription service > Billing | Draft + issue + email the customer (with pay link) |
6 | Reminders | Invoice service > Billing | Overdue reminders on, days |
7 | Renewal quote service | Subscription service > Term & renewal | A quote service |
8 | Billing contacts | On each subscription, step 1 | A contact with an email address |
Step 1: Have a legal entity
A legal entity is the company that sells and appears on every invoice. If you have none, create one first under Settings > Organization > Legal entities. See Legal entities.
Step 2: Connect a way to be paid
A customer can only pay from the emailed link if the invoice book has a payment processor.
In Commerce, click Settings at the bottom of the left icon rail, then Accounts & integrations > Payment accounts.
Connect a payment account, for example a card gateway or a bank account. See Payment accounts and Connect Stripe.
Make sure a Payment service holds that account. See Services.
Without this step the email still goes out, but the page behind the link is view only.
Step 3: Set up the invoice book
The invoice book is the invoice service that receives every cycle invoice. You can reuse the one you use for orders.
Click Settings > Services. If you have no invoice service, click New service > Invoice, fill in the dialog and click Create invoice service.
Click the invoice service to open its settings. Click Payment.
Under Collection, pick your service in Payment processor, then click Save collection. You see "Payment settings saved".
Click Billing. Check these fields:
Payment terms (days): the number of days a customer has to pay when the subscription names no terms. Example: 30.
Auto-apply prepayments: keep it on, so money a customer paid on a quote or order settles the first cycle invoices by itself.
Overdue reminders: switch it on. Without it, nobody is reminded of an unpaid invoice.
Reminder days after due:
1, 7, 14sends a reminder 1, 7 and 14 days after the due date.Pre-due notices (days before due):
3sends a courtesy note 3 days before the due date.
Click Save billing. You see "Billing settings saved".
See Invoice service settings for every field. To design the emails, open the Emails section of the same service. See Email templates.
Step 4: Set up the subscription service
Click Settings > Services. If you have no subscription service, click New service > Subscription.
In the dialog, fill in Name, Code prefix, Default currency and Default selling entity.
Pick the Invoice book you prepared in step 3.
Choose Invoice each cycle. The dialog explains the result under the field, for example "Cycle 1 bills when the subscription starts."
Click Create subscription service. The settings open.
Click Billing. Confirm each field:
Field | What to choose | Why |
|---|---|---|
Invoice book | The invoice service from step 3 | Without it nothing bills. |
Invoice each cycle | At the start of the period (in advance) for plans paid up front, At the end of the period (in arrears) for usage billed afterwards | Fixed on each subscription when it first starts. |
Bill ahead (days) | 0 | Invoices are created on the cycle date. A higher number creates them earlier. |
When a cycle comes due | Draft + issue + email the customer (with pay link) | The only mode that is fully automatic. |
When a cycle carries them (lines that need delivery) | Block, unless you ship goods with each cycle | Block refuses the cycle and warns the owners. |
Resume policy | Skip missed cycles | Pre-selects what happens when a paused subscription resumes. |
Click Save billing. You see "Billing settings saved".
Important: The default for When a cycle comes due is Draft the cycle invoice automatically. In that mode no invoice is issued and no customer is emailed. If you leave it, a team member must open every draft, issue it and send it. See How a subscription bills each cycle.
Step 5: Set up renewals
In the same settings window, click Term & renewal.
Under New subscriptions, choose a Billing cycle default, and what happens At the term end.
For Renewal quote or Auto-renew, set Renewal term (months) and Uplift (%). For Renewal quote, also set Notice (days).
Under Quotes, pick a quote service in Renewal quote service. Renewal quotes and amendment quotes are drafted there. See Quote service settings.
Click Save term & renewal. You see "Term settings saved".
The defaults only fill new subscriptions. Each subscription can still change them. Without a Renewal quote service, Commerce cannot draft a renewal quote or an amendment quote, and the Draft quote button on the Renewals page shows a message asking you to pick one.
Step 6: Check each subscription's contacts
Cycle invoices are emailed to the Billing contacts of the subscription, not to the account in general.
Open the subscription, or create one. See Create a subscription.
In step 1, Customer & source, open Billing contacts and pick at least one contact.
Open that contact and check that it has a valid email address. See Customer accounts.
A subscription converted from a quote or order keeps the quote's contacts.
Step 7: Run a test
Test with a customer whose contact email is yours.
Create a subscription for the test customer, with one cheap line. Set Start date to today.
In step 3, open Advanced overrides and set First billing date to today.
In step 5, click Activate & start clock.
If you chose in advance, a message reads that cycle 1 was invoiced and emailed. If it only says "invoiced", the contact has no email address.
Open your mailbox. You should find an email with a View invoice & pay button, within a few minutes. If you chose in arrears, Commerce creates and emails the invoice within the hour.
Open the invoice in Commerce > Invoice. Check the number, the due date and the lines.
Cancel the test subscription (... menu > Cancel subscription... > Cancel now) and void the test invoice. See Void and credit notes.


Optional: autopay
To charge a saved card automatically on the due date, keep Charge automatically selected on the quote or order. The customer's first payment saves the card, and it moves to the subscription when you convert. This needs a gateway that can save cards, such as Stripe. See Autopay.
Troubleshooting
Problem | Why it happens | What to do |
|---|---|---|
Billing needs attention says "No invoice book on this service". | Step 4 was skipped. | Pick an Invoice book in the service's Billing settings. |
Drafts appear in Invoice, nobody is emailed. | The mode is Draft the cycle invoice automatically or Draft + issue automatically. | Choose Draft + issue + email the customer (with pay link). |
Invoices are issued but no email arrives. | The subscription has no Billing contacts with an email. | Do step 6. |
The customer opens the link and cannot pay. | The invoice book has no payment processor. | Do step 2 and step 3. |
Reminders never go out. | Overdue reminders is off on the invoice book. | Switch it on and save. |
Draft quote on Renewals asks for a renewal quote service. | Renewal quote service is empty. | Do step 5. |
I changed Invoice each cycle and old subscriptions did not change. | Each subscription keeps the timing it started with. | The change applies to subscriptions that start later. |