A general ledger is the master set of accounts that summarize all transactions occurring within an entity. There may be a subsidiary set of ledgers that summarize into the general ledger. The general ledger, in turn, is used to aggregate information into the financial statements of a business; this can be done automatically with accounting software, or by manually compiling financial statements from the information in a trial balance report (which is a summarization of the ending balances in the general ledger).
The general ledger contains a debit and credit entry for every transaction recorded within it, so that the total of all debit balances in the general ledger should always match the total of all credit balances. If they do not match, the general ledger is said to be out of balance, and must be corrected before reliable financial statements can be compiled from it.
The general ledger is comprised of all the individual accounts needed to record the assets, liabilities, equity, revenue, expense, gain, and loss transactions of a business. In most cases, detailed transactions are recorded directly in these general ledger accounts. In some cases where the volume of transactions would overwhelm the record keeping in the general ledger, transactions are shunted off to a subsidiary ledger, from which just the account totals are recorded in a control account in the general ledger. In the latter case, a person researching an issue in the financial statements must refer back to the subsidiary ledger to find information about the original transaction.
General ledger accounts are assigned unique identifying account numbers. These numbers may range from a simple three-digit code to a more complex version that identifies individual departments and subsidiaries.
The general ledger is also known as the book of final entry.