Skip to content

Coupon Code ​

A coupon code is a short code, such as HUTRI81, that a customer gives you to get a promotion. The promotion itself is a pricing rule: the coupon only decides when that rule may apply. Without the coupon on the invoice, the rule stays off.

Use coupons for promotions you hand out on purpose: a code printed on a flyer, sent to members, or announced on social media.

Before you start ​

Coupons need discount accounting and pricing rules.

  1. In the sidebar, click Setup > Settings.
  2. On the General tab, turn on Enable Discount Accounting, then Enable Pricing Rule, then Enable Coupon Code. Each switch appears after the one before it is on.
  3. Click Save, and click Yes when Hicom Books asks to reload.

Coupon Code now appears under Sales in the sidebar, and sales invoices get a Coupons section.

WARNING

Enable Discount Accounting cannot be turned off after you save it. If you later turn off Enable Coupon Code, Hicom Books refuses to save sales invoices that still have coupons.

Only users with the Books Manager or System Manager role can create and edit coupon codes.

Step 1: Prepare a coupon-only pricing rule ​

  1. Create or open a pricing rule. See Create a pricing rule.
  2. Turn on Is Coupon Code Based.
  3. Save the rule.

A coupon can only use a rule that has Is Coupon Code Based on. Such a rule never applies by itself.

Step 2: Create the coupon ​

  1. In the sidebar, click Sales > Coupon Code, then click New.
  2. Enter a Name, for example HUT RI 81. Hicom Books builds the code from it: spaces removed, capital letters, at most 8 characters, so HUTRI81. The code cannot be changed after you save.
  3. Select the Pricing Rule. Only coupon-based rules are offered.
  4. Enter Valid From and Valid To.
  5. Enter Maximum Use: how many invoices may use the coupon. Enter 0 for no limit.
  6. Optional: enter Min Amount and Max Amount for the order value.
  7. Click Save.

The order value is the sum of rate × quantity of all invoice rows, before discounts and taxes, in your company currency. Keep Is Enabled on while the promotion runs; turn it off to stop the coupon early.

Coupon Code form for HUTRI81 linked to a coupon-based pricing rule, valid 1 to 31 August, Maximum Use 100 and Used 12

A coupon must fit inside its pricing rule: its dates cannot start before or end after the rule's dates, and its amount limits cannot be wider than the rule's.

Used is read only. It counts the submitted invoices that carry the coupon.

Apply a coupon on a sales invoice ​

  1. Create a sales invoice, select the customer and add the items.
  2. In the Coupons section, click Add row and select the coupon code.
  3. Click Save.

Hicom Books applies the coupon's pricing rule and lists it in the invoice's Pricing Rule Detail table. You can add more than one coupon to an invoice, but not the same coupon twice.

The invoice is not saved, and an error tells you why, when the coupon:

  • is turned off,
  • has reached its Maximum Use,
  • is outside its dates or amount limits for this invoice, or
  • does not apply to any item on the invoice, for example because another pricing rule with a higher Priority wins for that item.

TIP

Give coupon-based rules a higher Priority than your everyday rules for the same items. Otherwise the everyday rule wins and the coupon is refused.

Usage count ​

When you submit an invoice, each of its coupons counts one more use. When you cancel the invoice, the use is given back. A return does not count as a use. An invoice that would push a coupon past its Maximum Use cannot be submitted.

Coupons at the POS ​

At the Point of Sale, click Coupon above the cart totals, select the code and click Done. On a phone, use Apply coupon code on the payment screen. If you change the cart so that a coupon no longer applies, the coupon is removed and a message tells you. Coupons do not work at a counter where Ignore Pricing Rule is on. See Point of Sale (POS).