What represents the total debit and total credit in the customer ledger PDF in Android?

Total debit represents the addition of amounts in the debit column (amount given).

Total credit represents the addition of amounts in the credit column (amount received).