In Accounting Settings there is now Cash Roundings which should provide the feature. For odoo versions which do not have that feature there are apps under the topic swedish rounding.
First you have to enable Cash Rounding in Accounting Settings
After you need to configure Cash Rounding like that *use better Profit and Loss Accounts :-)
In the Invoice you can then use it in Other Section as Cash Rounding Method