Had a rounding problem with vattotals by summing up "21 Units a € 6,50 (ex vat)" and "22 Units a € 6,50". Vat 19%. Invoice calculates correctly but does not round correctly the vattotal. So the invoice is incorrect.
Problem occurs with all releases.

Found for me a way to solve the problem by changing the code of "invoice.module" line 273 from
$a_vattotals[$key]['formatted_vattotal'] = _invoice_format_money($total['vattotal'], 2);

to

$a_vattotals[$key]['formatted_vattotal'] = _invoice_round_and_format_money($total['vattotal'], 2);