When we are doing the double entry for the closing inventory, why do we credit the inventory? I understand why we debit the closing inventory but not why we credit it.