Voucher total do not match! Dr. XXXX Cr XXX Diff: X CR (press any key) in account invoice mode.

Cause

The above error message is displayed when the total debit in the voucher does not match the total credit.

Solution

This error can be resolved by matching the debit and credit totals of the voucher.