A general ledger is a bookkeeping ledger that serves as a central repository for accounting data transferred from all subledgers like accounts payable, accounts receivable, cash management, fixed assets, purchasing and projects. Each account maintained by an organization is known as a ledger account, and the collection of all these accounts is known as the general ledger. The general ledger is the backbone of any accounting system which holds financial and non-financial data for an organization. An organization's statement of financial position and the statement of income and comprehensive income are both derived from the general ledger. Each account in the general ledger consists of one or more pages. The general ledger is where posting to the accounts occurs. Posting is the process of recording amounts as credits, and amounts as debits, in the pages of the general ledger. Additional columns to the right hold a running activity total. The listing of the account names is called the chart of accounts. The extraction of account balances is called a trial balance. The purpose of the trial balance is, at a preliminary stage of the financial statement preparation process, to ensure the equality of the total debits and credits. The general ledger should include the date, description and balance or total amount for each account. It is usually divided into at least seven main categories. These categories generally include assets, liabilities, owner's equity, revenue, expenses, gains and losses. The main categories of the general ledger may be further subdivided into subledgers to include additional details of such accounts as cash, accounts receivable, accounts payable, etc. Because each bookkeeping entry debits one account and credits another account in an equal amount, the double-entry bookkeeping system helps ensure that the general ledger is always in balance, thus maintaining the accounting equation: The accounting equation is the mathematical structure of the balance sheet. Although a general ledger appears to be fairly simple, in large or complex organizations or organizations with various subsidiaries, the general ledger can grow to be quite large and take several hours or days to audit or balance. In a manual or non-computerized system, the general ledger may be a large book. Organizations may instead employ one or more spreadsheets for their ledgers, including the general ledger, or may utilize specialized software to automate ledger entry and handling. When a business uses enterprise resource planning software, a financial-features module produces subledgers and the general ledger, with entries drawn from a database that is shared with other processes managed through the ERP.