Debits and credits are the foundation of double-entry accounting. They indicate an amount of value that is moving into and out of a company’s general-ledger accounts. For every transaction, there must be at least one debit and credit that equal each other. When that occurs, a company’s ...