One of our customers had 2 invoices for the same customer that had the same cash discount date. A payment was created to completely pay both of these invoices.
The payment was within the due date but outside of the Cash Discount Date. The payment still applied the cash discount.
I have tried to recreate this issue with the same vendor but cannot. It calculates the total correctly even when I change the payment date. I went through their old payments and the majority are correct but I did find one other that had the same issue.
Any idea what circumstances could be causing this?