[
https://issues.apache.org/jira/browse/FINERACT-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Saghy resolved FINERACT-2435.
----------------------------------
Fix Version/s: 1.15.0
Resolution: Fixed
> 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
> Priority: Critical
> Fix For: 1.15.0
>
>
> 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)