Debit and Credit not equal for Payment Entry on ERPNext version 13.10.0

I had the same issue before. Whatever the amount you paid, it doubles the difference and it is in negative value. I resolve the issue by performing force reinstall:

bench --site [sitename] --force reinstall

This will reinstall your erpnext and will delete the database, so it is best to make a backup of your erpnext version and its database first just in case.

I hope this will help resolve your concern.