By having operations with foreign currency, it produces differences that are income or expenses, for “exchange differences”.
At year-end closing, you have to post the exchange rate differences at the year-end closing date for all accounts with balances in foreign currency.
At the time of payment or collection, it is also necessary to make the calculation of exchange differences, if their value is different from the time of the day the transaction was made.