The same issue with me, I have created Landed Cost voucher in the past that was everything good then after update tried to cancel it and git this error Debit and Credit not equal for Purchase Invoice ".........". Difference is ".........".
actually that Difference amount is the Additional Cost that we added to Purchase Invoice
If you use the latest version you will know exactly what we are talking about.
If you use the newer version please perform following steps and you will get to know what we are talking about here.
Create a purchase invoice
create a landed cost voucher and allocate it to that purchase invoice
create another landed cost voucher, you will not be able to do that as the system will through this message and you will be stuck. The difference it shows you is exactly the same amount on the landed cost voucher, that was entered first.
you cannot cancel any landed cost voucher neither can you create another one.
All data entered validated through normal process without any loss of its integrity.
When we Submitted Landed Cost voucher for Purchase Invoice that make update in GL entrery for that invoice when I need to cancel that Landed Cost Voucher method not calculate the additional cost in debit so showing that error message