Lesson 5
The accounts and SAF-T
Under review by an accountant.
The SAF-T file (fișierul standard de control fiscal), the declaration D406, takes the data of the company's books to ANAF: the accounts, the balances, the accounting entries, the partners. It is an XML file on the OECD SAF-T 2.0 model, with the rules of ANAF. When it is filed and which sections it has, you will see in the module about e-Factura and SAF-T. Here you look at one thing only: what the file asks of your chart of accounts.
The account in the file is a number of the official chart
In the file, each account has a code. ANAF asks that this code is a whole number, other than zero, that matches the Romanian chart of accounts for the type of the company. For commercial companies, the ANAF schema has their list of accounts. The file also says on which basis the books are kept: for double entry on the general chart of accounts, the basis is "A".
Two things follow from this rule:
- The synthetic accounts of the company must be those of the official chart. A synthetic account that the company makes up does not match the ANAF list.
- The code of an analytic account must also be a number. A code with letters, a dot or a dash is not a whole number.
The partners in the file
The file does not need an analytic account for each customer or supplier. The partner shows on each line, by a partner code. The code starts with two digits that say which kind of identifier follows: the Romanian tax code, the VAT code of a country of the European Union, a code of a country outside the Union, or the personal number. The identifier comes after them.
That is why the partner written on the line of the accounting entry, from the lesson about analytic accounts, fits SAF-T well: the file names the partner on the line, not by an account.
Version 1 · updated on 25 November 2026
Change history
- First version.
Thank you. We received your suggestion.