This is an automated email from the ASF dual-hosted git repository.

adamsaghy pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 5d4f57912d92e2448197449044c75ba77b20d86f
Author: Peter Kovacs <[email protected]>
AuthorDate: Tue Feb 24 10:26:10 2026 +0100

    FINERACT-2326: Fix buydown fee amounts missing from Transaction Summary 
Reports - E2E tests
---
 .../src/test/resources/features/Reporting.feature  | 155 +++++++++++++++++----
 1 file changed, 131 insertions(+), 24 deletions(-)

diff --git 
a/fineract-e2e-tests-runner/src/test/resources/features/Reporting.feature 
b/fineract-e2e-tests-runner/src/test/resources/features/Reporting.feature
index e2874102ee..e01d355c76 100644
--- a/fineract-e2e-tests-runner/src/test/resources/features/Reporting.feature
+++ b/fineract-e2e-tests-runner/src/test/resources/features/Reporting.feature
@@ -1,6 +1,7 @@
 @ReportingFeature
 Feature: Reporting
 
+  @TestRailId:C4686
   Scenario: Verify Transaction Summary Reports contain all buydown fee 
transaction types
     When Admin sets the business date to "01 January 2024"
     And Admin creates a new office
@@ -10,15 +11,16 @@ Feature: Reporting
       | LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | 01 January 
2024   | 100            | 7                      | 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 "100" 
amount and expected disbursement date on "01 January 2024"
     And Admin successfully disburse the loan on "01 January 2024" with "100" 
EUR transaction amount
-    When Admin adds buy down fee with "AUTOPAY" payment type to the loan on 
"01 January 2024" with "50" EUR transaction amount
-    When Admin sets the business date to "31 January 2024"
-    When Admin runs inline COB job for Loan
-    When Admin sets the business date to "01 February 2024"
-    When Admin runs inline COB job for Loan
+    And Admin adds buy down fee with "AUTOPAY" payment type to the loan on "01 
January 2024" with "50" EUR transaction amount
+    And Admin sets the business date to "31 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
     And Admin adds buy down fee adjustment with "AUTOPAY" payment type to the 
loan on "01 February 2024" with "10" EUR transaction amount
-    When Admin sets the business date to "02 February 2024"
+    And Admin sets the business date to "02 February 2024"
     And Admin adds buy down fee adjustment of buy down fee transaction made on 
"01 January 2024" with "AUTOPAY" payment type to the loan on "10 January 2024" 
with "25" EUR transaction amount
-    When Admin runs inline COB job for Loan
+    And Admin runs inline COB job for Loan
+#    --- Transaction Summary Report ---
     Then Transaction Summary Report for date "01 January 2024" has the 
following data:
       | TransactionDate | Product                                              
    | TransactionType_Name | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
| AUTOPAY          |            | 0        | Fees                     |         
             | 0.0                |
@@ -31,7 +33,7 @@ Feature: Reporting
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
|                  |            | 0        | Penalty                  |         
             | 0.0                |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
|                  |            | 0        | Principal                |         
             | 100.0              |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
|                  |            | 0        | Unallocated Credit (UNC) |         
             | 0.0                |
-    Then Transaction Summary Report for date "31 January 2024" has the 
following data:
+    And Transaction Summary Report for date "31 January 2024" has the 
following data:
       | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
     |                  |            | 0        | Interest                 |    
                  |                    |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |
@@ -39,7 +41,7 @@ Feature: Reporting
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
-    Then Transaction Summary Report for date "01 February 2024" has the 
following data:
+    And Transaction Summary Report for date "01 February 2024" has the 
following data:
       | TransactionDate | Product                                              
    | TransactionType_Name                 | PaymentType_Name | chargetype | 
Reversed | Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount 
|
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
                |                  |            | 0        | Interest           
      |                      |                    |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment              | AUTOPAY          |            | 0        | Fees       
              |                      | 0.0                |
@@ -52,7 +54,8 @@ Feature: Reporting
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization Adjustment |                  |            | 0        | Penalty    
              |                      | 0.0                |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization Adjustment |                  |            | 0        | Principal  
              |                      | 0.0                |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization Adjustment |                  |            | 0        | 
Unallocated Credit (UNC) |                      | 0.0                |
-    Then Transaction Summary Report with Asset Owner for date "01 January 
2024" has the following data:
+#   --- Transaction Summary Report with Asset Owner ---
+    And Transaction Summary Report with Asset Owner for date "01 January 2024" 
has the following data:
       | TransactionDate | Product                                              
    | TransactionType_Name | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount | 
Asset_owner_id | From_asset_owner_id |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
| AUTOPAY          |            | 0        | Fees                     |         
             | 0.0                |                |                     |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
| AUTOPAY          |            | 0        | Interest                 |         
             | 0.0                |                |                     |
@@ -64,7 +67,7 @@ Feature: Reporting
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
|                  |            | 0        | Penalty                  |         
             | 0.0                |                |                     |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
|                  |            | 0        | Principal                |         
             | 100.0              |                |                     |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
|                  |            | 0        | Unallocated Credit (UNC) |         
             | 0.0                |                |                     |
-    Then Transaction Summary Report with Asset Owner for date "31 January 
2024" has the following data:
+    And Transaction Summary Report with Asset Owner for date "31 January 2024" 
has the following data:
       | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount | 
Asset_owner_id | From_asset_owner_id |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
     |                  |            | 0        | Interest                 |    
                  |                    |                |                     |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |                |               
      |
@@ -72,7 +75,7 @@ Feature: Reporting
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |                |               
      |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |                |               
      |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |                |            
         |
-    Then Transaction Summary Report with Asset Owner for date "01 February 
2024" has the following data:
+    And Transaction Summary Report with Asset Owner for date "01 February 
2024" has the following data:
       | TransactionDate | Product                                              
    | TransactionType_Name                 | PaymentType_Name | chargetype | 
Reversed | Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount 
| Asset_owner_id | From_asset_owner_id |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
                |                  |            | 0        | Interest           
      |                      |                    |                |            
         |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment              | AUTOPAY          |            | 0        | Fees       
              |                      | 0.0                |                |    
                 |
@@ -86,6 +89,7 @@ Feature: Reporting
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization Adjustment |                  |            | 0        | Principal  
              |                      | 0.0                |                |    
                 |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization Adjustment |                  |            | 0        | 
Unallocated Credit (UNC) |                      | 0.0                |          
      |                     |
 
+  @TestRailId:C4687
   Scenario: Verify Transaction Summary Reports with buyDownFeeIncomeType = FEE
     When Admin sets the business date to "01 January 2024"
     And Admin creates a new office
@@ -95,15 +99,16 @@ Feature: Reporting
       | LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | 
01 January 2024   | 100            | 7                      | 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 "100" 
amount and expected disbursement date on "01 January 2024"
     And Admin successfully disburse the loan on "01 January 2024" with "100" 
EUR transaction amount
-    When Admin adds buy down fee with "AUTOPAY" payment type to the loan on 
"01 January 2024" with "50" EUR transaction amount
-    When Admin sets the business date to "31 January 2024"
-    When Admin runs inline COB job for Loan
-    When Admin sets the business date to "01 February 2024"
-    When Admin runs inline COB job for Loan
+    And Admin adds buy down fee with "AUTOPAY" payment type to the loan on "01 
January 2024" with "50" EUR transaction amount
+    And Admin sets the business date to "31 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
     And Admin adds buy down fee adjustment with "AUTOPAY" payment type to the 
loan on "01 February 2024" with "10" EUR transaction amount
-    When Admin sets the business date to "02 February 2024"
+    And Admin sets the business date to "02 February 2024"
     And Admin adds buy down fee adjustment of buy down fee transaction made on 
"01 January 2024" with "AUTOPAY" payment type to the loan on "10 January 2024" 
with "25" EUR transaction amount
-    When Admin runs inline COB job for Loan
+    And Admin runs inline COB job for Loan
+#    --- Transaction Summary Report ---
     Then Transaction Summary Report for date "01 January 2024" has the 
following data:
       | TransactionDate | Product                                              
               | TransactionType_Name | PaymentType_Name | chargetype | 
Reversed | Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount 
|
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee         | AUTOPAY          |            | 0        | Fees                   
  |                      | 0.0                |
@@ -116,7 +121,7 @@ Feature: Reporting
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | 
Disbursement         |                  |            | 0        | Penalty       
           |                      | 0.0                |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | 
Disbursement         |                  |            | 0        | Principal     
           |                      | 100.0              |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | 
Disbursement         |                  |            | 0        | Unallocated 
Credit (UNC) |                      | 0.0                |
-    Then Transaction Summary Report for date "31 January 2024" has the 
following data:
+    And Transaction Summary Report for date "31 January 2024" has the 
following data:
       | TransactionDate | Product                                              
               | TransactionType_Name      | PaymentType_Name | chargetype | 
Reversed | Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount 
|
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Apply 
Charges             |                  |            | 0        | Interest       
          |                      |                    |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Fees              
       |                      | 0.55               |
@@ -124,7 +129,7 @@ Feature: Reporting
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Penalty           
       |                      | 0.0                |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Principal         
       |                      | 0.0                |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Unallocated 
Credit (UNC) |                      | 0.0                |
-    Then Transaction Summary Report for date "01 February 2024" has the 
following data:
+    And Transaction Summary Report for date "01 February 2024" has the 
following data:
       | TransactionDate | Product                                              
               | TransactionType_Name                 | PaymentType_Name | 
chargetype | Reversed | Allocation_Type          | Chargeoff_ReasonCode | 
Transaction_Amount |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Apply 
Charges                        |                  |            | 0        | 
Interest                 |                      |                    |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Adjustment              | AUTOPAY          |            | 0        | Fees   
                  |                      | 0.0                |
@@ -137,7 +142,8 @@ Feature: Reporting
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization Adjustment |                  |            | 0        | 
Penalty                  |                      | 0.0                |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization Adjustment |                  |            | 0        | 
Principal                |                      | 0.0                |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization Adjustment |                  |            | 0        | 
Unallocated Credit (UNC) |                      | 0.0                |
-    Then Transaction Summary Report with Asset Owner for date "01 January 
2024" has the following data:
+#    --- Transaction Summary Report with Asset Owner ---
+    And Transaction Summary Report with Asset Owner for date "01 January 2024" 
has the following data:
       | TransactionDate | Product                                              
               | TransactionType_Name | PaymentType_Name | chargetype | 
Reversed | Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount 
| Asset_owner_id | From_asset_owner_id |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee         | AUTOPAY          |            | 0        | Fees                   
  |                      | 0.0                |                |                
     |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee         | AUTOPAY          |            | 0        | Interest               
  |                      | 0.0                |                |                
     |
@@ -149,7 +155,7 @@ Feature: Reporting
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | 
Disbursement         |                  |            | 0        | Penalty       
           |                      | 0.0                |                |       
              |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | 
Disbursement         |                  |            | 0        | Principal     
           |                      | 100.0              |                |       
              |
       | 2024-01-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | 
Disbursement         |                  |            | 0        | Unallocated 
Credit (UNC) |                      | 0.0                |                |     
                |
-    Then Transaction Summary Report with Asset Owner for date "31 January 
2024" has the following data:
+    And Transaction Summary Report with Asset Owner for date "31 January 2024" 
has the following data:
       | TransactionDate | Product                                              
               | TransactionType_Name      | PaymentType_Name | chargetype | 
Reversed | Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount 
| Asset_owner_id | From_asset_owner_id |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Apply 
Charges             |                  |            | 0        | Interest       
          |                      |                    |                |        
             |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Fees              
       |                      | 0.55               |                |           
          |
@@ -157,7 +163,7 @@ Feature: Reporting
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Penalty           
       |                      | 0.0                |                |           
          |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Principal         
       |                      | 0.0                |                |           
          |
       | 2024-01-31      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization |                  |            | 0        | Unallocated 
Credit (UNC) |                      | 0.0                |                |     
                |
-    Then Transaction Summary Report with Asset Owner for date "01 February 
2024" has the following data:
+    And Transaction Summary Report with Asset Owner for date "01 February 
2024" has the following data:
       | TransactionDate | Product                                              
               | TransactionType_Name                 | PaymentType_Name | 
chargetype | Reversed | Allocation_Type          | Chargeoff_ReasonCode | 
Transaction_Amount | Asset_owner_id | From_asset_owner_id |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Apply 
Charges                        |                  |            | 0        | 
Interest                 |                      |                    |          
      |                     |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Adjustment              | AUTOPAY          |            | 0        | Fees   
                  |                      | 0.0                |                
|                     |
@@ -170,3 +176,104 @@ Feature: Reporting
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization Adjustment |                  |            | 0        | 
Penalty                  |                      | 0.0                |          
      |                     |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization Adjustment |                  |            | 0        | 
Principal                |                      | 0.0                |          
      |                     |
       | 2024-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES_FEE_INCOME | Buy Down 
Fee Amortization Adjustment |                  |            | 0        | 
Unallocated Credit (UNC) |                      | 0.0                |          
      |                     |
+
+  @TestRailId:C4688
+  Scenario: Verify Transaction Summary Reports with Buydown fee - happy path
+    When Admin sets the business date to "01 February 2026"
+    And Admin creates a new office
+    And Admin creates a client with random data in the last created office
+    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_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | 01 February 
2026      | 100         | 7                     | DECLINING_BALANCE | DAILY     
                  | EQUAL_INSTALLMENTS | 6                | MONTHS              
    | 1             | MONTHS                   | 6                 | 0          
             | 0                      | 0                    | 
ADVANCED_PAYMENT_ALLOCATION |
+    And Admin successfully approves the loan on "01 February 2026" with "100" 
amount and expected disbursement date on "01 February 2026"
+    And Admin successfully disburse the loan on "01 February 2026" with "100" 
EUR transaction amount
+    And Admin adds buy down fee with "AUTOPAY" payment type to the loan on "01 
February 2026" with "50" EUR transaction amount
+    And Admin sets the business date to "02 February 2026"
+    And Admin runs inline COB job for Loan
+    And Admin sets the business date to "03 February 2026"
+    And Admin runs inline COB job for Loan
+    And Admin adds buy down fee adjustment with "AUTOPAY" payment type to the 
loan on "03 February 2026" with "25" EUR transaction amount
+    And Admin sets the business date to "04 February 2026"
+    And Admin runs inline COB job for Loan
+    And Admin sets the business date to "05 February 2026"
+    And Admin runs inline COB job for Loan
+#    --- Transaction Summary Report with Asset Owner ---
+    Then Transaction Summary Report with Asset Owner for date "01 February 
2026" has the following data:
+      | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Fees                     |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Interest                 |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Penalty                  |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Principal                |    
                  | 50.0               |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Unallocated Credit (UNC) |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Interest              
   |                      | 0.28               |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Fees                     |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Interest                 |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Penalty                  |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Principal                |    
                  | 100.0              |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Unallocated Credit (UNC) |    
                  | 0.0                |
+    And Transaction Summary Report with Asset Owner for date "02 February 
2026" has the following data:
+      | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
     |                  |            | 0        | Interest                 |    
                  | 0.02               |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Interest              
   |                      | 0.27               |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+    And Transaction Summary Report with Asset Owner for date "03 February 
2026" has the following data:
+      | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
     |                  |            | 0        | Interest                 |    
                  | 0.02               |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Interest              
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Principal             
   |                      | -25.0              |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Interest              
   |                      | 0.14               |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+#    --- Transaction Summary Report ---
+    And Transaction Summary Report for date "01 February 2026" has the 
following data:
+      | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Fees                     |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Interest                 |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Penalty                  |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Principal                |    
                  | 50.0               |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee         
     | AUTOPAY          |            | 0        | Unallocated Credit (UNC) |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Interest              
   |                      | 0.28               |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Fees                     |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Interest                 |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Penalty                  |    
                  | 0.0                |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Principal                |    
                  | 100.0              |
+      | 2026-02-01      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Disbursement         
     | AUTOPAY          |            | 0        | Unallocated Credit (UNC) |    
                  | 0.0                |
+    And Transaction Summary Report for date "02 February 2026" has the 
following data:
+      | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
     |                  |            | 0        | Interest                 |    
                  | 0.02               |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Interest              
   |                      | 0.27               |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |
+      | 2026-02-02      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+    And Transaction Summary Report for date "03 February 2026" has the 
following data:
+      | TransactionDate | Product                                              
    | TransactionType_Name      | PaymentType_Name | chargetype | Reversed | 
Allocation_Type          | Chargeoff_ReasonCode | Transaction_Amount |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Apply Charges        
     |                  |            | 0        | Interest                 |    
                  | 0.02               |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Interest              
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Principal             
   |                      | -25.0              |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Adjustment   | AUTOPAY          |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Fees                  
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Interest              
   |                      | 0.14               |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Penalty               
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Principal             
   |                      | 0.0                |
+      | 2026-02-03      | 
LP2_PROGRESSIVE_ADVANCED_PAYMENT_ALLOCATION_BUYDOWN_FEES | Buy Down Fee 
Amortization |                  |            | 0        | Unallocated Credit 
(UNC) |                      | 0.0                |
+
+


Reply via email to