Answer and Explanation:
The journal entry is shown below;
Cash $8,820
Purchases discounts (2% of $9,000) $180
To Accounts payable $9,000
(Being cash received is recorded)
here cash is debited as it increased the assets, discount is debited and credited the account payable as it also increased the liability