Yes! The amount of debit or credit parts in a transaction is not required to be equal, but their total amount should add up to the total amount of the account being debited or credited.