Define eligible amounts
Enter the line totals that qualify under the coupon. Keep any excluded item or delivery amount in its own field. If two eligible items total 80 and 120 CNY and the discount is 30 CNY, the eligible base is 200 CNY.
Allocate proportionally
Multiply the coupon by each line’s share of the eligible base. The first line receives 30 × 80 ÷ 200 = 12 CNY and the second 18 CNY. Their net costs are 68 and 102 CNY. Round to the checkout currency’s precision and assign any rounding remainder to the largest eligible line so the worksheet matches the coupon total.
Use the receipt for adjustments
Check whether the receipt already assigns a discount to each line. Use those actual amounts when available. Keep shipping discounts in their own column and check the merchant’s new total before assuming a removed item will leave the same coupon in place.

