I am an invoice seller. How do I account for the discount that I have allowed to the buyer when selling my invoice?

The difference between the amount of your receivable and its selling price counts as a financial expense. This expense must be recognised in your income statement in a category 65 account (sundry operating expenses).