add validation to discounts
Add new constraint to generation of Document
Merge pull request #84 from PlumLabs/gc/validateDiscounts

add validation to discounts