At a glance
How Lobyco reads a return
- Lobyco does not look at the original sale. It calculates bonus only from the return. It does not use
originalReceiptIdfor bonus. - Lobyco uses the rates on the day of the return. It uses the percentages and the bonuses that are active at the time and in the store of the return. So the bonus taken back can be different from the bonus the customer earned.
SALE-1, and the same return of the coffee, RETURN-1. A bonus is shown under the item it is for, the same way as a discount. The Bonus line after Total is the bonus for the whole receipt. Bonus does not change the money total. Each example shows only the bonus of its own section.
Base earn
Lobyco takes base earn back. For each returned item, it takes back the base earn percentage of the item’s price. It uses the percentage of the return’s chain on the day of the return. Items in categories that earn no base earn are not counted, the same as on a sale.- A line with a negative price is a returned item, with or without
isReturned. - A line with
isCancelled: trueand the line it cancels add up to zero. - On a receipt with both new items and returned items, the returned items lower the base earn of the receipt.
SALE-2. Lobyco calculates both lines together:
Product Bonus
Lobyco never takes Product Bonus back. The customer keeps the Product Bonus they earned, also on items they return. On a receipt with both new items and returned items, only the new items earn Product Bonus.Basket Bonus
Lobyco never takes Basket Bonus back. A return also earns no Basket Bonus. The customer keeps the Basket Bonus they earned, even if the items they keep are below the minimum basket. On a receipt with both new items and returned items, Lobyco uses the basket total after the returns:- A line with a negative price lowers the basket total, with or without
isReturned. This can take the basket below the minimum basket. - A line with
isCancelled: trueand the line it cancels add up to zero.
Local Bonus
Lobyco takes Local Bonus back. For each returned item that a Local Bonus covers, it takes back the Local Bonus percentage of the item’s price. This happens only if the Local Bonus is active for the customer at the time and in the store of the return. If several Local Bonuses cover the item, each one takes back its own part.- A line with a negative price is a returned item, with or without
isReturned. - A line with
isCancelled: trueand the line it cancels add up to zero. - On a receipt with both new items and returned items, the returned items lower the Local Bonus of the receipt.
Multiplier Bonus
Lobyco takes Multiplier Bonus back, at the multiplied rate. A Multiplier Bonus replaces base earn on a return, the same as on a sale. This happens if a Multiplier Bonus is active for the customer at the time and in the store of the return. Lobyco then takes back the item’s price × base earn × the multiplier. Only the day of the return matters, not the day of the sale.- A line with a negative price is a returned item, with or without
isReturned. - A line with
isCancelled: trueand the line it cancels add up to zero. - On a receipt with both new items and returned items, the returned items lower the Multiplier Bonus of the receipt.
Redemption Bonus
Lobyco never takes Redemption Bonus back after it is added. But a return can make it smaller. If Lobyco takes back bonus before the Redemption Bonus is added, the balance is lower. So the Redemption Bonus is lower too.Base Bonus offers
Lobyco takes back bonus from Base Bonus offers only when every line on the receipt has a negative price. Lobyco calculates the Base Bonus offers for the returned items, and takes back the result. If a receipt has both new items and returned items, it is not a return for Base Bonus offers. Lobyco calculates them the same way as for a sale. For example, a Base Bonus offer gives 2% on all products, and it is still active on the day of the return.RETURN-1 has only returned items.
Personal offers
Lobyco never takes back bonus from a Personal Offer. The customer keeps the bonus it gave on the sale. If a receipt has both new items and returned items, it is not a return for Personal Offers. Lobyco calculates them the same way as for a sale.Voucher offers
Lobyco never takes back bonus from Voucher - Standard or Voucher - Triggered offers. A return also earns no voucher bonus. The customer keeps the bonus that a voucher gave on the sale.How Lobyco takes the bonus back
- As a negative transaction on the customer’s active account. It has the same bonus type as the bonus it takes back. Each kind of bonus is a separate transaction.
- Soon after the Purchase API saves the return.
- One time per return. If Lobyco gets the same return twice, it takes the bonus back one time.
- Even if the balance is too low. The balance can go below zero. This happens, for example, when the customer has already spent the bonus from the sale.
- On the statement as a negative amount. See Bonus in your app.
Lobyco plans to change how a return takes back bonus. Lobyco will then start from the original sale and the bonus it earned. This is the same way as the recommended refund starts from what the customer paid. Until then, the rules on this page apply.
API reference
Endpoint documentation: Purchases and Bonus accounting.Related
- Returns and refunds — how the POS records a return, and what Lobyco does after.
- Coupon refund — when a return gives a coupon back.
- Recommended refund — the amount Lobyco recommends paying back for each returned product.
- Bonus integration — how Lobyco calculates bonus and keeps the balances.
- Bonus types — what each kind of bonus gives the customer on a sale.