The last version I had was 17.8.20

Now I know what happened, but i still don’t know how to fix it.

Initially I issued an invoice (inv#0054) of 9,301.73. We had some problem with one of the item on inv#0054 and I was discussing the issue with the supplier and meantime the invoice was due and the customer paid the full amount of 9,301.73. Then the supplier agreed to discount that item (after the invoice being fully paid) which I then applied a discount of $100.77 on one of the item on inv#0054 while already being paid in full.

On the next due invoice (inv#0058), I’ve asked the customer to apply the discount and to pay $100.77 less than the amount shown on the invoice, which he paid 955.23 where the amount on inv#0058 was 1056.00

Now inv#0054 is showing as overpaid whereas inv#0058 is overdue by $100.77

Is wasn’t showing up as an issue until I downloaded version 18.1.6

Any idea how to fix this? The only think i can think of is to edit those two payments as per the invoices, but in that case my bank account wont reconcile.