You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Mihaly Dallos (Jira)" <ji...@apache.org> on 2026/01/16 21:39:00 UTC

[jira] [Created] (FINERACT-2435) asOfDate loan api request ignore instalment fee

Mihaly Dallos created FINERACT-2435:
---------------------------------------

             Summary: asOfDate loan api request ignore instalment fee
                 Key: FINERACT-2435
                 URL: https://issues.apache.org/jira/browse/FINERACT-2435
             Project: Apache Fineract
          Issue Type: Improvement
            Reporter: Mihaly Dallos


There is a difference in the principal, interest and fee amounts returned by the 
{noformat}
/loans/:id{noformat}
 and 
 
{code:java}
/loans/at-date/:id{code}
 endpoints. In this example, the loan was prepaid on 02/01/26, with the scheduled due date at the end of this month. The  _at-date_  query is as of the Jan 8th 2026.

*Reproduction:*

Create and disburse a loan (eg: 12 monthly instalment), interest, Cummulative (penalty, fee, interest, principal order). Add an instalment fee to the loan. Let the disbursement happen 3 months ago, take care that today doesn't match any installment due date. 

Repay the installments which were due. Repayment allocation is split between interest, principal and instlament fee. 

Get a loan detail api result and an as-of-date api result. The as of date should be between the last paid instalment and before today (and inherently before the next due date)

*Expected:*

The payment allocation in the two api response should match. 

*Actual:* 

There's no payment allocated to installment fees 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)