Trial balance is a statement of debit and credit balances extracted from the ledger, with a view to test the…