What is the difference between an entry and a transaction?

An entry is either a debit or a credit and includes the associated account and the debit or credit amount.

A transaction consists of all the entries associated with a single financial event, including at least one credit and one debit. In a transaction, the total debit amounts must equal the total credit amounts.