We can create a new item and let it be your discount when creating the bill for your purchase. I'll show you how.
Go to Sales.
Select Products and Services.
Click New.
Choose Service.
Under Income Account, select the appropriate account to track your received discounts.
Click Save and close.
Once done, you can create a bill and make sure to select the newly created service item as an additional line item of your and enter the discount with a negative amount.