How to add Coupons via Entity

Trying to add coupons via entities. I want to be able to scan a barcode that’s pre-printed on each different type of coupon. Some coupons will be a % off while others will be a free product. Any help or knowledge is greatly appreciated.

Automation to select entity from numberpad entered.
Type/value as custom entity field.
How automation goes for value/freebies really depends on how you intend to apply and work it.

I have this as my entity. Capture1

Yer, so just a new entity type for coupon with only field of barcode?

Wouldn’t you want a field that holds the coupon face value and current balance?