Outstanding amount on invoice is higher than invoice amount

I am facing a strange issue. Some invoices shows higher value in outstanding amount than the actual invoice amount. And I see there are 3 payment ledger entries created by the system against this invoice that is why the outstanding amount is wrong. Why this is happening? Anyone has any idea how to solve this?