I think you credit the discount allowed to the subsidiary ledger and then debit the discount allowed account.
Didn't find the answer you were looking for?