The primary purpose of the trial balance is to prove the mathematical equality of debits and credits after posting. The record holding all the accounts of a business, the changes in those accounts, and their balances. Transferring data from the journal to the ledger.