Totaling of all debits and credits in the general ledger at the end of a financial period is known as trial balance. When the…