|
Some financial institutions collect full interest for the current repayment period when pre-closing loan.
For example: today is 23rd March. And I have 4001.58 as the outstanding amount. If I make a partial pre-payment of 1,500: Interest collected: 80.03 Principal collected: 1,419.97 This is correct.
If the account is being pre-closed (fully pre-paid) - then there should be a way to collect: Interest: 80.03 Principal: 4001.58 This is currently not possible as Mifos will allow to collect interest as : 56.79 (which is 23 days interest in March which has 31 days).
As discussed with Vishwas - suggestion is to add a flag during pre-closure. To allow the full installment period's interest to be collected at the time of pre-closure.
The prepayLoan Get API: https://localhost:8443/mifosng-provider/api/v1/loans/7/transactions/template?command=prepayLoan Could return an additional value for "fullInstallmentInterestPortion" (which will be 80.03 for above example). When submitting this screen - it has to allocate 80.03 as interest and 4001.58 as principal - and the loan should get closed. Loan should not go into overpaid status.
|