Solution : https://service.sap.com/sap/support/notes/408808 (SAP Service marketplace login required)
Key words : 
note 364543insert-block     document currency, specific brazilian movement type8, additional key words miro, xtaxcom-waers <> xtaxcom-hwaer, note 364543delete-block          assign, wrong nota fiscal values, nota fiscal values, kontext-block          endif, note 408808                      xtaxcom-hwaer, note 408808                      xtaxcom-waers
Related Notes : 
       
| 1118911 | MIRO: Wrong NF values when using currency with no decimals | 
| 438784 | MIRO - Wrong calculation of taxes and discounts | 
| 430775 | MB1B/MIGO - Tax values in foreign currencies |