Discount allowed by creditors show you the debit and credit?

You would debit the creditor account and credit the expense it relates to or discounts allowed if you want to show them separately.