There are several reasons amount in debit side and credit side are not the same.
  1. The first one is that the user does not enter the Opening Balance.
  2. The second is that there is a  transactions miss record in the system.
Note: Therefore, the user is required to check if there is opening balance and transactions entered into.