At first sight, seems a simple question, but the answer to this question is one complicated: it depends.
Why depends on? It depends on the accounting standards applicable and then depends on the accounting policy of the company.
For more information, please see the Romanian version of the article, here.