Explanation:
The journal entry is shown below:
Accounts Payable A/c Dr $8,300
To Cash A/c $8,140
To Merchandise Inventory A/c $160 ($8,000 × 2%)
(Being the purchase of merchandise is recorded)
The computation is shown below:
For account payable
= $10,000 + $300 - $2000
= $8,300
For cash account
= $8,300 - $160
=$8,140