To record accounting transactions, you need to debit and credit the appropriate accounts based on the type of transaction.