Hi,
I have an invoice - lets say invoice A (65000). Discount added into invoice line item from global discount 1500. Remaining unpaid 63500. Payment received 45375, remaining unpaid is 18125
Now, I have another credit note from different invoice B of same customer, which is converted into discount recently 18125. After applying this 18125, total should come to ZERO (0) but instead its remaining unpaid is 1500, exactly same amount which was added into invoice line item.
How to fix this?






