You have rounding option on General Ledger Setup /field: Inv. Rounding Type (LCY)/. You can choose one of the options:
-Nearest (this option will be solve your problem)
-Up
-Down
You have rounding option on General Ledger Setup /field: Inv. Rounding Type (LCY)/. You can choose one of the options:
-Nearest (this option will be solve your problem)
-Up
-Down