Cost of goods sold is debited for the price the company paid for the inventory and the inventory account is credited for the same price. At the end of each accounting period (usually monthly), the sales journal double entry is used to update the general ledger accounts. As the business…