Open the Promote section.
Click Create voucher.
Enter a name.
It is used for your convenience.
Specify the period when the voucher codes are valid and click Create.
Now you need to attach this voucher to the resource.
To do this, go to the resource configuration.
And create a Pricing component.
Enter a name and specify a formula.
For example, -100 and $.
Then click on the Add condition button.
Pick the Voucher from the list of conditions.
Then select the created voucher and save it.
Open the voucher and click on Open voucher codes.
Click Create code to add a new code.
Enter the Code of the voucher.
Also you can add a comment.
For example, the company where the voucher was issued.
Similarly, add all voucher codes.
Each voucher code can be used only once.