A stamp card at the neighborhood cafe, a "gift with every tenth purchase" sign at the market, a list pinned behind the register at a boutique... Small businesses know how to reward their customers; the hard part is properly keeping track of who gets the reward, when and for what. Cards get lost, lists get mixed up, the gift for a returned purchase is never taken back and the product given away is never deducted from stock. In this article we explain how tying a customer loyalty program to the register works, using BalanceBey's gift campaign screens. You will see the two earning rules, the quota, and the delivery and return flow step by step, and at the end you will also read what these screens do not do.
The problem with paper cards and handwritten lists
The biggest advantage of a stamp card is its simplicity: the customer understands it, and so does the cashier. The problem is that the card never talks to the register records. Nobody knows which stamp belongs to which purchase, the same customer can carry two cards, and when the card is lost, the accumulated stamps are lost with it. The stamp for a returned purchase is not removed from the card.
On the business side there are also two hidden costs. The first is the gift itself: the product given away is often not deducted from stock and shows up as a stock count difference at the end of the month. The second is control: how many people joined the campaign, how many gifts were handed out and where the budget stands can only be guessed. Industry articles repeat a similar observation: when joining a program is easy but redeeming the reward is hard, a loyalty program misses its goal. The rule should be simple and the reward easy to claim.
Two earning rules: the Nth customer and number of purchases
In BalanceBey, gift campaigns live in the "Gifts and loyalty" tab of the Campaigns screen. When creating a campaign, one of two rules is chosen. Under the "Gift to the Nth distinct customer" rule, customers who take part in the campaign are queued and the customer at the position you set is rewarded. For example, a threshold of 1000 rewards the 1000th distinct customer who shops during the campaign period; it does not repeat every 1000 purchases, and the same customer does not take a second position.
Under the "Gift by customer's number of purchases" rule, the number of valid receipts the same customer has in the campaign period is counted. A threshold of 5 means the customer earns the gift on their fifth valid receipt. Lines on one receipt do not count as separate purchases; a single receipt with five products is one purchase. Under both rules, a customer earns a gift from the same campaign only once.
Only sales completed with a customer account selected are counted. Anonymous sales do not take part in the campaign. This is a natural consequence of a loyalty program: if you do not know who made the purchase, you cannot know who should get the gift. That is why the habit of selecting the customer at the register is the first step of the program.

Setting up a campaign: gift, quota and dates
In the "Create gift campaign" form you enter the campaign name, earning rule and threshold. The name of the threshold field changes with the rule: it reads "Customer position" under the Nth customer rule and "Valid receipt count" under the number-of-purchases rule. "Total gift quota" is the budget limit; once the quota is used up, customers who meet the condition do not earn new entitlements. The "Earned / quota" line on the card shows how much of this limit has been used.
The gift is not a discount amount but a real product in stock. With "Gift product type" you choose a market product, an order / wholesale product or a stockable ready-made menu product, then search for the product and enter the "Gift quantity per entitlement". That way a cafe can define a pack of filter coffee as a gift, a market a gift basket, and a patisserie a box of cookies it keeps in stock.
The start and end dates set the period in which the campaign is valid; the start cannot be in the past. Once the campaign is created, the rule, dates, gift and quota cannot be changed. This is a deliberate rule: having a condition change silently while a customer is shopping under it is not fair, and it also makes entitlements already earned disputable. If a change is needed, the campaign is stopped and a new one is opened. A stopped campaign produces no new entitlements, and the history of existing entitlements is preserved.

At the register: the sale ends, the gift appears
Once the campaign is open, the cashier does not need to remember anything extra. When a sale is completed on the sales screen with a customer selected, a "Customer gifts" button appears in the last sale summary. When it is opened, "Check gifts for this sale" looks at whether that sale created an entitlement, and the gifts the customer has earned are listed. Counting relies on recorded sales, not on what the cashier says; the screen does not ask for a receipt count or an amount.
An earned entitlement appears with the "Ready for delivery" status. When the cashier hands the product to the customer, they record the delivery with "Deliver gift"; the gift quantity is deducted from the stock of the current register branch and the entitlement becomes "Delivered". Earning an entitlement does not reserve stock; stock is verified at the time of delivery. This means the gift product can still be used in other sales, but there must be enough of it at the branch on the day of delivery.
If the customer does not want to take the gift that day, the entitlement stays pending. Later, the customer account is searched in the "Find customer's gifts" field on the Campaigns screen and their gifts open in the same cards. The "History" button next to each entitlement shows the earning, delivery and return steps with dates and descriptions.

What happens on a return?
Returns are the most neglected side of loyalty programs. What happens if a customer who earned a gift on their fifth purchase returns that purchase? BalanceBey asks this question again with every change to a sale. Counting is based on the net amount after returns are deducted; a fully returned receipt no longer counts as a valid purchase.
When the condition no longer holds, there are two cases. If the gift has not been delivered yet, the entitlement automatically moves to "Entitlement canceled" and the note "The sale return removed the gift condition. The unused entitlement was canceled." is added to the action history. If the gift has been delivered, the system does not put the product back into stock automatically, because the product is physically with the customer. The entitlement moves to "Gift return required"; when the product is taken back, it is recorded with "Receive physical return" along with a reason, and the quantity is added to the stock of the branch where the delivery was made.
Under the Nth customer rule, a return does not change the order: the 1001st customer does not take the 1000th customer's place. A canceled entitlement cannot be earned again and does not reopen the quota. Rules this strict ensure that the number of gifts handed out and the stock movements at the end of the campaign match the records exactly.
Permissions, branches and record safety
Viewing campaigns requires campaign view permission, and setting up and stopping them requires campaign management permission. Gift delivery requires sales creation permission, and physical returns require return approval permission. That way a cashier can deliver a gift, but only an authorized person enters the return record. A physical return is made only at the branch where the gift was delivered; another branch's stock does not increase by mistake.
To prevent the same gift from being delivered twice when the connection drops, each delivery and return is sent with an operation ID. If the screen gets no response, it does not forget the operation; a retry confirms the same operation and does not deduct stock a second time. Campaign creation is protected the same way.
Gift campaigns work with the online sales package. In an offline register session the campaign and gift screens do not open; gift delivery is done once the connection is back.
What do these screens not do?
This feature is not a points or cash-points system; the reward is always a product in stock and is not applied to the cart as a discount. There is a separate "Price campaigns" tab for price discounts. No SMS or email is sent to customers automatically about joining the campaign; promoting the campaign is done through the business's own communication.
Because a loyalty program depends on keeping customer records, complying with the rules on processing personal data is the business's responsibility. Tell customers which of their data is kept and for what purpose in your privacy notice. We also recommend clarifying the tax and accounting treatment of products given free of charge with your accountant.
Key takeaways
- There are two rules: a gift for the distinct customer at a set position, or for the customer who reaches a set number of valid receipts.
- Only sales with a customer account selected are counted; each customer earns once per campaign.
- The gift is a product in stock; when delivered, it is deducted from the register branch's stock.
- If a return removes the condition, an undelivered entitlement is canceled, and a physical return is requested for a delivered gift.
- The rule, dates, gift and quota do not change later; the campaign is stopped and a new one is opened.
Sources
- BalanceBey gift and loyalty campaign screens (November 2026 release) The images come from this release itself and were taken with fictional names, without real customer data; campaign and product names are examples.
- BalanceBey development records: sales modernization and customer rewards The two earning rules, net receipt counting, the quota, delivery from stock, cancellation of the entitlement on return and the physical return status are based on the server rules in this release.
- Personal Data Protection Law No. 6698 (KVKK) Processing of personal data on customer records and the duty to inform.
- FitSmallBusiness, 2026 review of retail loyalty programs Why membership alone is not enough and why a clear, easy-to-use reward matters (industry article).
Comments