enabled discounts in invoice generation