Double-entry bookkeeping, also known as double-entry accounting, is a method of bookkeeping in which every financial transaction is recorded with equal and opposite entries in at least two accounts, ensuring that total debits equal total credits. The double-entry system records two sides, known as debit and credit, following the principle that for every debit there must be an equal and opposite credit. A transaction in double-entry bookkeeping always affects at least two accounts, always includes at least one debit and one credit, and always has total debits and total credits that are equal. The purpose of double-entry bookkeeping is to maintain accuracy in financial records and allow detection of errors or fraud.
For example, if a business takes out a bank loan for $10,000, recording the transaction in the bank's books would require a debit of $10,000 to an asset account called "Loan Receivable", as well as a credit of $10,000 to an asset account called "Cash". For the borrowing business, the entries would be a $10,000 debit to "Cash" and a credit of $10,000 in a liability account "Loan Payable". For both entities, total equity, defined as assets minus liabilities, has not changed.