Answer:
Factory overheads $5,000 - Debit
Cost of goods sold $5,000 - Credit
Step-by-step explanation:
Credit balance of overheads means over-applied overheads. Hence, when it is not material amount, it will be closed in Cost of goods sold account.
Date Accounts title and explanation Debit Credit
Factory Overheads $5,000
Cost of goods sold $5,000
(For closing the overheads credit balance)