If user enter creates payment for invoice and payed amount less or more then invoice grand total, system calculates automatically under/over payment. This is true when invoice is payed multiple times e.g. 1 invoice 3 payments.
problem: invoices payed partially - over/underpayment is not calculated properly.
this ticket entitled to implement same logic from partial payments to Bank Statement>>Create Payment Process.
invoice value 160 USD
payment 1 = 100 USD outstanding amt=60
payment 2 = 30 USD outstanding amt = 30
payment 3 = 30 USD outstanding amt = 0