Unable to submit purchase invoice: Debit and Credit not equal for this voucher

this is quite dificult to replicate. I have this on 2 pos invoice. Could i delete them from database and create it again? Will i have some kind of error after that?

Hi,

I have a similar error , from a submitting invoice SINV-03077
giving error Debit and Credit not equal for Sales Invoice #SINV-03077. Difference is -0.5.
can you please help with a solution

All these errors are related to data, really difficult to replicate. If you can replicate the error in demo.erpnext.com, please create the invoice and share the invoice number.