cardinal
Accounting

Subscriptions

Bill a customer or supplier for the same plans every period, with Sales or Purchase Invoices made by a daily job.

A Subscription bills one party for its plans each period. A daily job makes the period's Sales Invoice (for a Customer) or Purchase Invoice (for a Supplier), moves to the next period and updates the status.

Subscription Plan

A plan is the item you bill and how its rate is found.

FieldMeaning
Plan NameThe record's name
ItemThe item on the invoice row
CurrencyMust match the party's billing currency, or the company's when the party has none
Subscription Price Based OnFixed Rate (Cost per period), Based On Price List (the item's Price List rate) or Monthly Rate (Cost times the months in the period)
Billing Interval, Billing Interval CountDay, Week, Month or Year, repeated this many times. The count must be at least 1

Based On Price List takes the Item Price as it is. Pricing Rules do not apply to it.

Setting up a subscription

Pick Party Type (Customer or Supplier) and Party. Neither can change after the first save.

Set Subscription Start Date and, if it ends, Subscription End Date. Add an optional trial with Trial Period Start Date and Trial Period End Date.

Add rows to the Plans table, each with a Plan and Quantity. All plans must share one billing cycle.

Choose Generate Invoice At: the end of the period, its beginning, or Number of Days before it starts. Leave Submit Generated Invoices checked to submit them.

Save. A subscription that started on or before today bills each period that has already passed, stopping at the first unpaid invoice unless Generate New Invoices Past Due Date is checked.

Acme Traders bills Globex Inc for a support plan: Item Support Hours, Fixed Rate, Cost 5,000, Billing Interval Month, count 1. With Subscription Start Date 2026-11-01 and Generate Invoice At "Beginning of the current subscription period", the first period runs 2026-11-01 to 2026-11-30 and the daily job makes a 5,000 Sales Invoice on 2026-11-01. The next period starts on 2026-12-01.

The Subscription form has a Sales and a Buying link to the invoices that name it in their Subscription field. The Subscription Invoice table is kept for parity with ERPNext and stays empty.

Status

StatusWhen
TrialingToday falls in the trial period
ActiveThe latest invoice is paid, or not yet due
Grace PeriodThe latest invoice is past its due date
UnpaidPast the due date by more than the Grace Period days
CancelledCancelled by hand, at period end, or past the grace period with Cancel Subscription After Grace Period on
CompletedPast Subscription End Date with nothing owed

The Actions menu has Fetch Subscription Updates (process now), Cancel Subscription and Restart Subscription (for a Cancelled one, which starts a new period from today). Cancelling an Active subscription that bills at the period's end makes an invoice for the period up to today, prorated when Prorate is on.

Subscription Settings

FieldMeaning
Grace PeriodDays after an invoice's due date before the subscription turns Unpaid or Cancelled. Default 1
Cancel Subscription After Grace PeriodCancel instead of marking Unpaid
ProrateBill a part period by its share of days

The daily job

daily job -> Process Subscription (today, submitted) -> one job per Subscription not Cancelled -> invoice, next period, status

You can also submit a Process Subscription yourself with a Posting Date, and a Subscription to limit it to one. Each subscription runs in its own job. The job locks the subscription row and checks for the period's invoice first, so a retry or a second node never bills a period twice.

Rules

  • Trial Period End Date cannot be before Trial Period Start Date, and both must be set together.
  • Trial Period Start Date cannot be after Subscription Start Date.
  • Subscription End Date must be after the end of the first period.
  • Follow Calendar Months needs a Subscription End Date and monthly plans.
  • A blank Cost Center takes the company's default.

On this page