The purpose of a trial balance is to ensure that all entries made into an organization's general ledger are properly balanced. A trial balance lists the ending balance in each general ledger account. The total dollar amount of the debits and credits in each accounting entry are supposed to match.