The counter at Account/Sales Invoice still remains red

ok yes your issue may relate to this rounding one reported here UOMMustBeIntegerError: Quantity (1.436) cannot be a fraction in row 1 - #2 by clarkej

What version are you running?

To fix this all you may need to do is run an update.