From 34712d223a18b6dd33026252350380e8fc51a07f Mon Sep 17 00:00:00 2001 From: Peter Kovacs Date: Fri, 9 May 2025 14:15:37 +0200 Subject: [PATCH] FINERACT-2232: Capitalized income - Daily amortization - E2E tests --- .../fineract/test/data/TransactionType.java | 3 +- .../data/loanproduct/DefaultLoanProduct.java | 1 + .../LoanProductGlobalInitializerStep.java | 29 ++ ...meAmortizationTransactionCreatedEvent.java | 27 ++ .../loan/LoanCapitalizedIncomeStepDef.java | 69 +++++ .../fineract/test/support/TestContextKey.java | 1 + .../features/LoanCapitalizedIncome.feature | 261 +++++++++++++++++- 7 files changed, 389 insertions(+), 2 deletions(-) create mode 100644 fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/messaging/event/loan/transaction/LoanCapitalizedIncomeAmortizationTransactionCreatedEvent.java create mode 100644 fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/LoanCapitalizedIncomeStepDef.java diff --git a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/TransactionType.java b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/TransactionType.java index 950e2d37e..16ab1edfa 100644 --- a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/TransactionType.java +++ b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/TransactionType.java @@ -35,7 +35,8 @@ public enum TransactionType { INTEREST_PAYMENT_WAIVER("interestPaymentWaiver"), // REPAYMENT_AT_DISBURSEMENT("repaymentAtDisbursement"), // CAPITALIZED_INCOME("capitalizedIncome"), // - CAPITALIZED_INCOME_AMORTIZATION("capitalizedIncomeAmortization"),; + CAPITALIZED_INCOME_AMORTIZATION("capitalizedIncomeAmortization"), // + ; public final String value; diff --git a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/loanproduct/DefaultLoanProduct.java b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/loanproduct/DefaultLoanProduct.java index 2edc5f433..c96372919 100644 --- a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/loanproduct/DefaultLoanProduct.java +++ b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/data/loanproduct/DefaultLoanProduct.java @@ -122,6 +122,7 @@ public enum DefaultLoanProduct implements LoanProduct { LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_IR_DAILY_TILL_REST_FREQUENCY_DATE_LAST_INSTALLMENT, // LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_CAPITALIZED_INCOME, // LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME, // + LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME_FEE, // LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSAL_CAPITALIZED_INCOME, // ; diff --git a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/initializer/global/LoanProductGlobalInitializerStep.java b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/initializer/global/LoanProductGlobalInitializerStep.java index 47c61c7f2..7c8fd0df8 100644 --- a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/initializer/global/LoanProductGlobalInitializerStep.java +++ b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/initializer/global/LoanProductGlobalInitializerStep.java @@ -2480,6 +2480,35 @@ public class LoanProductGlobalInitializerStep implements FineractGlobalInitializ TestContext.INSTANCE.set( TestContextKey.DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSAL_CAPITALIZED_INCOME, responseLoanProductsRequestLP2ProgressiveAdvPayment36030InterestRecalcMultidisbursalCapitalizedIncome); + + // LP2 with progressive loan schedule + horizontal + interest EMI + 360/30 + // + interest recalculation, preClosureInterestCalculationStrategy= till preclose, + // Frequency for recalculate Outstanding Principal: Daily, Frequency Interval for recalculation: 1 + // capitalized income enabled, capitalized income type: FEE + final String name101 = DefaultLoanProduct.LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME_FEE + .getName(); + final PostLoanProductsRequest loanProductsRequestLP2ProgressiveAdvPayment36030InterestRecalcCapitalizedIncomeFee = loanProductsRequestFactory + .defaultLoanProductsRequestLP2EmiCapitalizedIncome()// + .name(name101)// + .capitalizedIncomeType(PostLoanProductsRequest.CapitalizedIncomeTypeEnum.FEE)// + .daysInYearType(DaysInYearType.DAYS360.value)// + .daysInMonthType(DaysInMonthType.DAYS30.value)// + .isInterestRecalculationEnabled(true)// + .preClosureInterestCalculationStrategy(1)// + .rescheduleStrategyMethod(4)// + .interestRecalculationCompoundingMethod(0)// + .recalculationRestFrequencyType(2)// + .recalculationRestFrequencyInterval(1)// + .paymentAllocation(List.of(// + createPaymentAllocation("DEFAULT", "NEXT_INSTALLMENT"), // + createPaymentAllocation("GOODWILL_CREDIT", "LAST_INSTALLMENT"), // + createPaymentAllocation("MERCHANT_ISSUED_REFUND", "REAMORTIZATION"), // + createPaymentAllocation("PAYOUT_REFUND", "NEXT_INSTALLMENT")));// + final Response responseLoanProductsRequestLP2ProgressiveAdvPayment36030InterestRecalcCapitalizedIncomeFee = loanProductsApi + .createLoanProduct(loanProductsRequestLP2ProgressiveAdvPayment36030InterestRecalcCapitalizedIncomeFee).execute(); + TestContext.INSTANCE.set( + TestContextKey.DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME_FEE, + responseLoanProductsRequestLP2ProgressiveAdvPayment36030InterestRecalcCapitalizedIncomeFee); } public static AdvancedPaymentData createPaymentAllocation(String transactionType, String futureInstallmentAllocationRule, diff --git a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/messaging/event/loan/transaction/LoanCapitalizedIncomeAmortizationTransactionCreatedEvent.java b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/messaging/event/loan/transaction/LoanCapitalizedIncomeAmortizationTransactionCreatedEvent.java new file mode 100644 index 000000000..a31de14a4 --- /dev/null +++ b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/messaging/event/loan/transaction/LoanCapitalizedIncomeAmortizationTransactionCreatedEvent.java @@ -0,0 +1,27 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.fineract.test.messaging.event.loan.transaction; + +public class LoanCapitalizedIncomeAmortizationTransactionCreatedEvent extends AbstractLoanTransactionEvent { + + @Override + public String getEventName() { + return "LoanCapitalizedIncomeAmortizationTransactionCreatedBusinessEvent"; + } +} diff --git a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/LoanCapitalizedIncomeStepDef.java b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/LoanCapitalizedIncomeStepDef.java new file mode 100644 index 000000000..86b571972 --- /dev/null +++ b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/LoanCapitalizedIncomeStepDef.java @@ -0,0 +1,69 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +package org.apache.fineract.test.stepdef.loan; + +import io.cucumber.java.en.Then; +import java.io.IOException; +import java.time.format.DateTimeFormatter; +import java.util.List; +import lombok.extern.slf4j.Slf4j; +import org.apache.fineract.client.models.GetLoansLoanIdResponse; +import org.apache.fineract.client.models.GetLoansLoanIdTransactions; +import org.apache.fineract.client.models.PostLoansResponse; +import org.apache.fineract.client.services.LoansApi; +import org.apache.fineract.test.helper.ErrorHelper; +import org.apache.fineract.test.messaging.EventAssertion; +import org.apache.fineract.test.messaging.event.loan.transaction.LoanCapitalizedIncomeAmortizationTransactionCreatedEvent; +import org.apache.fineract.test.stepdef.AbstractStepDef; +import org.apache.fineract.test.support.TestContextKey; +import org.springframework.beans.factory.annotation.Autowired; +import retrofit2.Response; + +@Slf4j +public class LoanCapitalizedIncomeStepDef extends AbstractStepDef { + + public static final String DATE_FORMAT = "dd MMMM yyyy"; + private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern(DATE_FORMAT); + + @Autowired + LoansApi loansApi; + + @Autowired + EventAssertion eventAssertion; + + @Then("Loan Capitalized Income Amortization Transaction Created Business Event is created on {string}") + public void checkLoanCapitalizedIncomeAmortizationTransactionCreatedBusinessEventCreated(String date) throws IOException { + Response loanCreateResponse = testContext().get(TestContextKey.LOAN_CREATE_RESPONSE); + long loanId = loanCreateResponse.body().getLoanId(); + + Response loanDetailsResponse = loansApi.retrieveLoan(loanId, false, "transactions", "", "").execute(); + ErrorHelper.checkSuccessfulApiCall(loanDetailsResponse); + + List transactions = loanDetailsResponse.body().getTransactions(); + GetLoansLoanIdTransactions capitalizedIncomeAmortizationTransaction = transactions.stream() + .filter(t -> date.equals(FORMATTER.format(t.getDate())) && "Capitalized Income Amortization".equals(t.getType().getValue())) + .reduce((first, second) -> second).orElseThrow( + () -> new IllegalStateException(String.format("No Capitalized Income Amortization transaction found on %s", date))); + Long capitalizedIncomeAmortizationTransactionId = capitalizedIncomeAmortizationTransaction.getId(); + + eventAssertion.assertEventRaised(LoanCapitalizedIncomeAmortizationTransactionCreatedEvent.class, + capitalizedIncomeAmortizationTransactionId); + } + +} diff --git a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/support/TestContextKey.java b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/support/TestContextKey.java index b6d1862b8..06b6e104f 100644 --- a/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/support/TestContextKey.java +++ b/fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/support/TestContextKey.java @@ -147,6 +147,7 @@ public abstract class TestContextKey { public static final String DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CASH_ACCOUNTING_DISBURSEMENT_CHARGES = "loanProductCreateResponseLP2AdvancedPaymentInterestDailyEmi36030InterestRecalculationDailyCashBasedDisbursementCharge"; public static final String DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_PROGRESSIVE_ADV_PYMNT_CAPITALIZED_INCOME = "loanProductCreateResponseLP2ProgressiveAdvancedPaymentCapitalizedIncome"; public static final String DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME = "loanProductCreateResponseLP2ProgressiveAdvPayment36030InterestRecalcCapitalizedIncome"; + public static final String DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME_FEE = "loanProductCreateResponseLP2ProgressiveAdvPayment36030InterestRecalcCapitalizedIncomeFee"; public static final String DEFAULT_LOAN_PRODUCT_CREATE_RESPONSE_LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_MULTIDISBURSAL_CAPITALIZED_INCOME = "loanProductCreateResponseLP2ProgressiveAdvPayment36030InterestRecalcMultidisbursalCapitalizedIncome"; public static final String LP2_NO_INTEREST_RECALCULATION_CHARGEBACK_ALLOCATION_INTEREST_FIRST_RESPONSE = "loanProductCreateResponseLP2NoInterestRecalculationChargebackAllocationInterestFirst"; public static final String LP2_NO_INTEREST_RECALCULATION_CHARGEBACK_ALLOCATION_PRINCIPAL_FIRST_RESPONSE = "loanProductCreateResponseLP2NoInterestRecalculationChargebackAllocationPrincipalFirst"; diff --git a/fineract-e2e-tests-runner/src/test/resources/features/LoanCapitalizedIncome.feature b/fineract-e2e-tests-runner/src/test/resources/features/LoanCapitalizedIncome.feature index 6d9d79062..667e3d7ab 100644 --- a/fineract-e2e-tests-runner/src/test/resources/features/LoanCapitalizedIncome.feature +++ b/fineract-e2e-tests-runner/src/test/resources/features/LoanCapitalizedIncome.feature @@ -268,4 +268,263 @@ Feature: Capitalized Income | Type | Account code | Account name | Debit | Credit | | EXPENSE | e4 | Written off | | 100.0 | | LIABILITY | 145024 | Deferred Capitalized Income | 100.0 | | - Then LoanCapitalizedIncomeAmortizationTransactionCreatedBusinessEvent is raised on "02 January 2024" \ No newline at end of file + Then LoanCapitalizedIncomeAmortizationTransactionCreatedBusinessEvent is raised on "02 January 2024" + @TestRailId:C3648 + Scenario: Verify capitalized income: daily amortization - Capitalized Income type: interest + When Admin sets the business date to "01 January 2024" + And Admin creates a client with random data + And Admin creates a fully customized loan with the following data: + | LoanProduct | submitted on date | with Principal | ANNUAL interest rate % | interest type | interest calculation period | amortization type | loanTermFrequency | loanTermFrequencyType | repaymentEvery | repaymentFrequencyType | numberOfRepayments | graceOnPrincipalPayment | graceOnInterestPayment | interest free period | Payment strategy | + | LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME | 01 January 2024 | 200 | 0 | DECLINING_BALANCE | DAILY | EQUAL_INSTALLMENTS | 3 | MONTHS | 1 | MONTHS | 3 | 0 | 0 | 0 | ADVANCED_PAYMENT_ALLOCATION | + And Admin successfully approves the loan on "01 January 2024" with "200" amount and expected disbursement date on "01 January 2024" + And Admin successfully disburse the loan on "01 January 2024" with "100" EUR transaction amount + And Admin adds capitalized income with "AUTOPAY" payment type to the loan on "01 January 2024" with "50" EUR transaction amount + Then Loan status will be "ACTIVE" + And Loan Transactions tab has the following data: + | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed | + | 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false | + | 01 January 2024 | Capitalized Income | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 150.0 | false | false | + And Loan Transactions tab has a "CAPITALIZED_INCOME" transaction with date "01 January 2024" which has the following Journal entries: + | Type | Account code | Account name | Debit | Credit | + | LIABILITY | 145024 | Deferred Capitalized Income | | 50.0 | + | ASSET | 112601 | Loans Receivable | 50.0 | | + When Admin sets the business date to "02 January 2024" + And Admin runs inline COB job for Loan + And Admin sets the business date to "01 February 2024" + And Admin runs inline COB job for Loan + When Admin sets the business date to "01 March 2024" + And Admin runs inline COB job for Loan + And Admin sets the business date to "01 April 2024" + And Admin runs inline COB job for Loan + Then Loan Transactions tab has the following data: + | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed | + | 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false | + | 01 January 2024 | Capitalized Income | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 150.0 | false | false | + | 01 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 02 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 03 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 04 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 05 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 06 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 07 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 08 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 09 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 10 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 11 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 12 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 13 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 14 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 15 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 16 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 17 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 18 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 19 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 20 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 21 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 22 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 23 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 24 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 25 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 26 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 27 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 28 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 29 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 30 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 31 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + + | 01 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 02 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 03 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 04 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 05 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 06 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 07 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 08 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 09 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 10 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 11 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 12 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 13 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 14 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 15 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 16 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 17 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 18 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 19 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 20 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 21 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 22 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 23 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 24 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 25 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 26 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 27 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 28 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 29 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + + | 01 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 02 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 03 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 04 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 05 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 06 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 07 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 08 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 09 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 10 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 11 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 12 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 13 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 14 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 15 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 16 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 17 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 18 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 19 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 20 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 21 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 22 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.54 | 0.0 | 0.0 | 0.0 | false | false | + | 23 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 24 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.54 | 0.0 | 0.0 | 0.0 | false | false | + | 25 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 26 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.54 | 0.0 | 0.0 | 0.0 | false | false | + | 27 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 28 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.54 | 0.0 | 0.0 | 0.0 | false | false | + | 29 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + | 30 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.54 | 0.0 | 0.0 | 0.0 | false | false | + | 31 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.55 | 0.0 | 0.0 | 0.0 | false | false | + And Loan Transactions tab has a "CAPITALIZED_INCOME_AMORTIZATION" transaction with date "01 January 2024" which has the following Journal entries: + | Type | Account code | Account name | Debit | Credit | + | INCOME | 404000 | Interest Income | | 0.55 | + | LIABILITY | 145024 | Deferred Capitalized Income | 0.55 | | + And Loan Capitalized Income Amortization Transaction Created Business Event is created on "31 March 2024" + + @TestRailId:C3649 + Scenario: Verify capitalized income: daily amortization - Capitalized Income type: fee + When Admin sets the business date to "01 January 2024" + And Admin creates a client with random data + And Admin creates a fully customized loan with the following data: + | LoanProduct | submitted on date | with Principal | ANNUAL interest rate % | interest type | interest calculation period | amortization type | loanTermFrequency | loanTermFrequencyType | repaymentEvery | repaymentFrequencyType | numberOfRepayments | graceOnPrincipalPayment | graceOnInterestPayment | interest free period | Payment strategy | + | LP2_ADV_PYMNT_INTEREST_DAILY_EMI_360_30_INTEREST_RECALC_DAILY_CAPITALIZED_INCOME_FEE | 01 January 2024 | 200 | 0 | DECLINING_BALANCE | DAILY | EQUAL_INSTALLMENTS | 3 | MONTHS | 1 | MONTHS | 3 | 0 | 0 | 0 | ADVANCED_PAYMENT_ALLOCATION | + And Admin successfully approves the loan on "01 January 2024" with "200" amount and expected disbursement date on "01 January 2024" + And Admin successfully disburse the loan on "01 January 2024" with "100" EUR transaction amount + And Admin adds capitalized income with "AUTOPAY" payment type to the loan on "01 January 2024" with "50" EUR transaction amount + Then Loan status will be "ACTIVE" + And Loan Transactions tab has the following data: + | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed | + | 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false | + | 01 January 2024 | Capitalized Income | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 150.0 | false | false | + And Loan Transactions tab has a "CAPITALIZED_INCOME" transaction with date "01 January 2024" which has the following Journal entries: + | Type | Account code | Account name | Debit | Credit | + | LIABILITY | 145024 | Deferred Capitalized Income | | 50.0 | + | ASSET | 112601 | Loans Receivable | 50.0 | | + When Admin sets the business date to "02 January 2024" + And Admin runs inline COB job for Loan + And Admin sets the business date to "01 February 2024" + And Admin runs inline COB job for Loan + When Admin sets the business date to "01 March 2024" + And Admin runs inline COB job for Loan + And Admin sets the business date to "01 April 2024" + And Admin runs inline COB job for Loan + Then Loan Transactions tab has the following data: + | Transaction date | Transaction Type | Amount | Principal | Interest | Fees | Penalties | Loan Balance | Reverted | Replayed | + | 01 January 2024 | Disbursement | 100.0 | 0.0 | 0.0 | 0.0 | 0.0 | 100.0 | false | false | + | 01 January 2024 | Capitalized Income | 50.0 | 50.0 | 0.0 | 0.0 | 0.0 | 150.0 | false | false | + | 01 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 02 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 03 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 04 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 05 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 06 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 07 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 08 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 09 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 10 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 11 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 12 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 13 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 14 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 15 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 16 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 17 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 18 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 19 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 20 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 21 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 22 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 23 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 24 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 25 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 26 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 27 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 28 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 29 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 30 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 31 January 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + + | 01 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 02 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 03 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 04 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 05 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 06 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 07 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 08 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 09 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 10 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 11 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 12 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 13 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 14 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 15 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 16 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 17 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 18 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 19 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 20 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 21 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 22 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 23 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 24 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 25 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 26 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 27 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 28 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 29 February 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + + | 01 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 02 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 03 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 04 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 05 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 06 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 07 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 08 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 09 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 10 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 11 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 12 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 13 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 14 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 15 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 16 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 17 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 18 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 19 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 20 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 21 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 22 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.0 | 0.54 | 0.0 | 0.0 | false | false | + | 23 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 24 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.0 | 0.54 | 0.0 | 0.0 | false | false | + | 25 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 26 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.0 | 0.54 | 0.0 | 0.0 | false | false | + | 27 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 28 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.0 | 0.54 | 0.0 | 0.0 | false | false | + | 29 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + | 30 March 2024 | Capitalized Income Amortization | 0.54 | 0.0 | 0.0 | 0.54 | 0.0 | 0.0 | false | false | + | 31 March 2024 | Capitalized Income Amortization | 0.55 | 0.0 | 0.0 | 0.55 | 0.0 | 0.0 | false | false | + And Loan Transactions tab has a "CAPITALIZED_INCOME_AMORTIZATION" transaction with date "01 January 2024" which has the following Journal entries: + | Type | Account code | Account name | Debit | Credit | + | INCOME | 404000 | Interest Income | | 0.55 | + | LIABILITY | 145024 | Deferred Capitalized Income | 0.55 | | + And Loan Capitalized Income Amortization Transaction Created Business Event is created on "31 March 2024"