MT#10061 Fix rounding for invoices.

(cherry picked from commit 4ffac12e4728ce506f48015500e217a9838f3b4b)
(cherry picked from commit a4ff7cb458562c7816ece23bb930f226229b9303)