<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://45.127.191.6/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.3"
          urlbase="http://45.127.191.6/bugzilla/"
          
          maintainer="checkmark.bugzilla@checkmark.in"
>

    <bug>
          <bug_id>19167</bug_id>
          
          <creation_ts>2026-04-15 16:22:35 +0530</creation_ts>
          <short_desc>[Setup- Account Balances]-Incorrect Refund Calculation and Duplicate Payment Reflection After Deleting Finance Charge Invoice</short_desc>
          <delta_ts>2026-05-05 14:33:53 +0530</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>ML_DB 64-bit Mac</product>
          <component>Account Balances</component>
          <version>2026-14.0.22 + 26.0.1 Ver 03</version>
          <rep_platform>MAC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Nandhini">bnandhini</reporter>
          <assigned_to name="Nandhini">bnandhini</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>72942</commentid>
    <comment_count>0</comment_count>
    <who name="Nandhini">bnandhini</who>
    <bug_when>2026-04-15 16:22:35 +0530</bug_when>
    <thetext>1. Create a basic setup: Assign COAs, create items, create customers, then save the setup
2. Create an invoice and save it.
3. Navigate to the Finance Charges screen: Apply finance charges to the invoice &amp; Save
4. Go to the Customer Payment screen: Make a payment for the original invoice amount
5. Pay the remaining finance charge amount: Enter an extra amount
6. Process a refund for the excess and delete the finance charge–applied invoice.
The refund amount is calculated incorrectly. After deleting the finance charge invoice, the customer payment amount is duplicated (double reflected). In Account Balances, Finance charge–related refund check details are not updated properly. This results in incorrect overall balances.

screen rec:
https://drive.google.com/file/d/1w6oNjzmjuy05hO1MToVhberofJE1UbZx/view?usp=sharing
screenshot:
https://drive.google.com/file/d/1denJQ8UrSalfOCVv2wJSyULW3oZDijTe/view?usp=sharing</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73119</commentid>
    <comment_count>1</comment_count>
    <who name="Bhavani">btadepalli</who>
    <bug_when>2026-04-17 14:03:36 +0530</bug_when>
    <thetext>Fixed, Available in net build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73866</commentid>
    <comment_count>2</comment_count>
    <who name="G.Shivasai">gshiva</who>
    <bug_when>2026-04-27 18:49:29 +0530</bug_when>
    <thetext>#REOPEN =&gt;

After generating the refund check for the finance charged excess paid amount. Then the Balances in the Finance Charge account reflected incorrectly. Due to this it causing out of balance issue.

Screenshot:
https://prnt.sc/U-NE1_qucb9H</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73949</commentid>
    <comment_count>3</comment_count>
    <who name="Bhavani">btadepalli</who>
    <bug_when>2026-04-29 15:05:26 +0530</bug_when>
    <thetext>Fixed, Available in next build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74306</commentid>
    <comment_count>4</comment_count>
    <who name="saikumar">dsaikumar</who>
    <bug_when>2026-05-05 14:33:53 +0530</bug_when>
    <thetext>Working Fine</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>