Earlier, in the Customer invoice (SO303000) window, when you opened an invoice you had prepared in the Sales orders window, the invoice balance was not what the order total was. This happened when you had applied a discount on the customer and then clicked Skip discount or deleted the discount. The deleted discount remained on the invoice.
This has now been fixed and deleted/skipped discounts aren’t applied on the invoice.