The recording of the debit aspect and the credit aspect of a transaction in the books of accounts is called double-entry bookkeeping. In this system, every transaction affects at least two accounts or each and every transaction has at least two aspects – a receiving aspect and a giving aspect.