Set up a loyalty program ​

A Loyalty Program gives customers points on their submitted sales invoices. Customers redeem the points on later invoices. A program can have one tier, or several tiers based on how much the customer has spent in total.

Prerequisites ​

  • An expense account for the value of redeemed points, and a cost center.
  • A policy for how points are earned, what a point is worth, and when points expire.

Create the program ​

  1. Open the Loyalty Program list and select Add Loyalty Program.
  2. Enter the Loyalty Program Name.
  3. Select the Loyalty Program Type: Single Tier Program or Multiple Tier Program.
  4. Set the From Date and To Date, and the Company.
  5. Optional: limit the program with Customer Group and Customer Territory.
  6. Select Auto Opt In (For all customers) to enroll all matching customers automatically.
  7. Add rows to the Collection Rules table. See the next section.
  8. Set the Conversion Factor, the Expiry Duration (in days), the Expense Account, and the Cost Center.
  9. Save.

Collection rules ​

FieldWhat it does
Tier NameThe tier the customer reaches.
Minimum Total SpentThe total spend the customer needs to reach this tier.
Collection Factor (=1 LP)The amount the customer spends to earn one point.

Example: with a collection factor of 100, an invoice of 1,000 earns 10 points.

Add tiers in ascending order of Minimum Total Spent.

Redemption settings ​

FieldWhat it does
Conversion FactorThe money value of one point when it is redeemed.
Expiry Duration (in days)How long points stay valid.
Expense AccountThe account that records the value of redeemed points.
Cost CenterThe cost center for redemptions.

Earning and redemption use separate factors. For example, a customer spends 100 to earn one point, and each point is worth 1 when redeemed.

Enroll a customer ​

If Auto Opt In is cleared, open the Customer, select the Loyalty Program, and save.

Earn points ​

Submit a Sales Invoice for an enrolled customer. ERPNext creates a Loyalty Point Entry for the points. Returns and cancellations change the balance. Use the Loyalty Point Entry list to audit a customer's points.

To skip points on one invoice, select Don't Create Loyalty Points on it.

Redeem points ​

  1. Create a Sales Invoice for the enrolled customer and add the Items.
  2. In the Loyalty Points Redemption section, select Redeem Loyalty Points.
  3. Enter the Loyalty Points to redeem. ERPNext shows the Loyalty Amount.
  4. Check the Redemption Account and Redemption Cost Center.
  5. Submit.

To redeem points at the counter, see Sell at the point of sale.

Troubleshooting ​

ProblemCause and fix
No points are earnedThe customer is not enrolled, the invoice date is outside the program dates, or the invoice is not submitted.
Redeem Loyalty Points is missingThe customer has no program or no points.
The tier is unexpectedCheck the customer's total spend and the Minimum Total Spent of each tier.
Points expired earlyCheck Expiry Duration (in days).