ID Section Sub-section Element Description [RO] Descriere Type Sourced Document/Field Modul de raportare
(Obligatoriu - Mandatory sau Opțional - Optional)
pentru
 secțiuni/ sub-secțiuni/ structuri și câmpuri
conform OpANAF nr. 1783/2021[1]
Modul de validare pentru raportarea cumulativă și modală pentru secțiuni/ sub-secțiuni/ structuri și câmpuri
(Obligatoriu - Mandatory sau Opțional - Optional)[2]
Syntactic Validation Rules [RO] Reguli de validare sintactică Semantic Validation Rules [RO] Reguli de validare semantică Default Value Cardinality Comments [RO] Observații Raportare Modala
Raportare Lunara/ Trimestrială corelată cu decontul de TVA*

*Entitățile neînregistrate în scop de TVA vor depune trimestrial
Raportare la cerere - Stocuri Raportare Anuala - Active Raportare D406 pentru Societățile nerezidente înregistrate în scopuri de TVA Raportare rectificativă D406 (care se depune pentru corecția erorilor materiale în declarațiile informative D406) Contribuabilii care au obligaţia să depună decontul special de taxă pe valoarea adăugată
  3. GeneralLedgerEntries             Mandatory Mandatory           1     x N/A N/A N/A x N/A
GL.1   N/A NumberOfEntries Number of entries Număr de intrări nonNegativeInteger GL Mandatory Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
GL.2 TotalDebit The total of all debit amounts in the header's default currency. The total of the debit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign. Totalul tuturor sumelor debitoare in valuta implicită a antetului. Soldul sumelor debitoare poate fi pozitiv sau negativ, după caz. Sumele negative se reprezintă prefixate cu semnul „-” SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
This amount may be positive or negative. Negative amounts are profixed with the minus („-”) sign
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul zecimal. Numărul poate fi pozitiv sau negativ. Sumele negative sunt prefixate cu semnul minus („-”)
Validare număr zecimal
N/A N/A N/A 0..1 Number with two decimals.
For aproximation is used the Order no. 978 from 8 July 2005 of the Ministery of Finance
Număr zecimal cu maxim 2 zecimale.
Pentru aproximări se utilizează regulile de rotunjire, conform Ordinului nr. 978 din 8 Iulie 2005 al Ministerului Finanțelor.
x N/A N/A N/A x N/A
GL.3 TotalCredit The total of all credit amounts in the header's default currency.
The total of the credit amounts may be positive or negative. Negative amounts are prefixed with the minus („-”) sign.
Totalul tuturor sumelor creditoare in valuta implicită a antetului.
Soldul sumelor creditoare poate fi pozitiv sau negativ, după caz. Sumele negative se reprezintă prefixate cu semnul minus („-”)
SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
This amount may be positive or negative. Negative amounts are profixed with the minus („-”) sign
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul zecimal. Numărul poate fi pozitiv sau negativ. Sumele negative sunt prefixate cu semnul minus („-”)
Validare număr zecimal
N/A N/A N/A 0..1 Number with two decimals.
For aproximation is used the Order no. 978 from 8 July 2005 of the Ministery of Finance
Număr zecimal cu maxim 2 zecimale.
Pentru aproximări se utilizează regulile de rotunjire, conform Ordinului nr. 978 din 8 Iulie 2005 al Ministerului Finanțelor.
x N/A N/A N/A x N/A
GL.4 Journal     Journal   Mandatory Optional N/A N/A N/A N/A N/A 0..*     x N/A N/A N/A x N/A
GL.5 Journal JournalID Source GL journal identifier, or invoices and payments in single ledger systems Identificator al jurnalului auxiliar in registrul jurnal sursă sau facturi și plăți în sisteme cu un singur registru SAFshorttextType GL Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.6 Description Description of the Journal Descrierea jurnalului SAFlongtextType GL Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.7 Type Grouping mechanism for journals Mecanismul de grupare a jurnalelor SAFcodeType GL Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.8 Transaction The accounting ledger transactions. Tranzacțiile din registrul jurnal. Transaction   Mandatory Mandatory N/A N/A N/A N/A N/A 1..*     x N/A N/A N/A x N/A
GL.9 Transaction TransactionID Cross-reference to GL posting. It can contain many different levels to identify the transaction. It could include cost centres such as company, division, region, group and branch/department. Referință încrucișată la înregistrarea GL. Poate conține mai multe niveluri diferite pentru a identifica tranzacția. Acesta ar putea include centre de cost, cum ar fi societatea, divizia, regiunea, grupul și sucursala /departamentul. SAFmiddle2textType   Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.10 Period Accounting Period Perioada contabilă nonNegativeInteger GL Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.11 PeriodYear The year of the Accounting Period. Anul perioadei contabile. nonNegativeInteger GL Mandatory Mandatory (minInclusive 2020, maxInclusive Current-Year] (minInclusiv 2020, maxInclusiv Current-Year] N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.12 TransactionDate Document date Data documentului Date GL Mandatory Mandatory Validation accoring to ISO 8601 Validare conform standardului ISO 8601 N/A N/A N/A 1 The date and time is filled in the SAF-T reporting file using the ISO 8601 standard, that specify the following format AAAA-LL-ZZ

Example of accepted format for date: 2020-10-03, 2021-04-12
Codificarea datei și a orei în fișierul standard de audit SAF-T se realizează pe baza standardului ISO 8601, care specifica următorul format : AAAA-LL-ZZ

Exemple de date acceptate: 2020-10-03, 2021-04-12
x N/A N/A N/A x N/A
GL.13 SourceID Details of person or application that entered the transaction Detalii despre persoana sau aplicația care a introdus/ generat tranzacția SAFmiddle1textType   Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
GL.14 TransactionType Type of journal transaction: normal, (automated) periodically, etc. Tipul tranzacției în jurnal: normală, (automatizată) periodică etc. SAFshorttextType GL Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
GL.15 Description Description of Journal Transaction Descrierea tranzacției în jurnal SAFlongtextType GL Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.16 BatchID Systems generated ID for batch ID generat de sisteme pentru lot SAFmiddle1textType   Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
GL.17 SystemEntryDate Date captured by system Data capturată de sistem Date GL Mandatory Mandatory Validation accoring to ISO 8601 Validare conform standardului ISO 8601 N/A N/A N/A 1 The date and time is filled in the SAF-T reporting file using the ISO 8601 standard, that specify the following format AAAA-LL-ZZ

Example of accepted format for date: 2020-10-03, 2021-04-12
Codificarea datei și a orei în fișierul standard de audit SAF-T se realizează pe baza standardului ISO 8601, care specifica următorul format : AAAA-LL-ZZ

Exemple de date acceptate: 2020-10-03, 2021-04-12
x N/A N/A N/A x N/A
GL.18 GLPostingDate Date posting to GL Data înregistrării în GL Date GL Mandatory Mandatory Validation accoring to ISO 8601 Validare conform standardului ISO 8601 N/A N/A N/A 1 The date and time is filled in the SAF-T reporting file using the ISO 8601 standard, that specify the following format AAAA-LL-ZZ

Example of accepted format for date: 2020-10-03, 2021-04-12
Codificarea datei și a orei în fișierul standard de audit SAF-T se realizează pe baza standardului ISO 8601, care specifica următorul format : AAAA-LL-ZZ

Exemple de date acceptate: 2020-10-03, 2021-04-12
x N/A N/A N/A x N/A
GL.19 CustomerID Unique client code consisting of: type (two decimal places) followed by the unique client code, as follows:
1. 00 followed by CUI - where the type is 00, and CUI is the unique identification code for economic operators registered in Romania. The code is an integer, with 1 to 9 digits, followed by a control digit - Example: 004221306 - for the Ministry of Public Finance
Attention! The fiscal attribute "RO" for VAT payers is not included

2. 01 followed by the country code (according to ISO 3166-1 - 2 letters) and the unique VAT Identification Code of the respective Member State - for the economic operators from the EU Member States, except Romania, verified according to the VIES system (VAT Information Exchange System) - Example: 01EL123456789 or 01HU12345678

3. 02 followed by the country code and the unique VAT identification code of the respective state, which is neither Romania nor EU member state - for economic operators from other states than Romania or EU members - Example: 02TK123005284

4. 03 followed by CNP for individuals Romanian citizens or 03 followed by the unique personal code for individuals resident in Romania (same format as CNP, but with the first digit being 7 or 8) or the NIF of non-resident individuals

5. 04 followed by the customer code uniquely associated by the economic operator, for individuals who do not declare their CNP on transactions (example: online commerce).

6. 05 followed by the country code and the customer code uniquely associated by the economic operator - for the economic operators that are not registered for VAT, from the EU Member States, except Romania

7. 06 followed by the country code and the customer code uniquely associated by the economic operator - for the economic operators that are not registered for VAT from non-EU states

8. 08 followed by 13 zero's (080000000000000) for unidentified customers with a fiscal code on transactions at the point-of-sales, like petrol stations and groceries. This code is restricted ONLY for such transactions, is not a replacement on invoices, etc. This code is NOT USED for SupplierID element - the identity of the supplier is known based on the fiscal code      

9. 09 followed by NIF for non-resident legal entities registered in Romania;

10. 10 followed by the country code and the unique code assigned in the case of banking companies forcustomers of non-resident legal entities that are not found in category 01,02,05,06 and 09;

11. 11 followed by the country code and the unique code assigned in the case of banking companies for non-resident individuals customers who are not found in category 03
Cod unic pentru client este format astfel: tip (două cifre zecimale) urmat de codul unic al clientului, după cum urmează:
1. 00 urmat de CUI - unde tipul este 00, iar CUI este codul unic de identificare  pentru operatorii economici înregistrați în România. Codul este un număr întreg zecimal, cu 1 până la 9 cifre, urmat de o cifră de control - Exemplu: 004221306 - pentru Ministerul Finantelor Publice
Atenție! Nu se trece și atributul fiscal ”RO” pentru plătitorii de TVA

2. 01 urmat de codul de țară (conform ISO 3166-1 - 2 litere) și de Codul unic de identificare pentru TVA din statul membru respectiv- pentru operatorii economici din statele membre ale UE, mai puțin România, verificate conform sistemului VIES (VAT Information Exchange System) - Exemplu: 01EL123456789 sau 01HU12345678

3. 02 urmat de codul de țară și de codul unic de identificare pentru TVA din statul respectiv, care nu este nici România, nici stat membru UE - pentru operatorii economici din alte state care nu sunt România sau membre UE - Exemplu: 02TK123005284

4. 03 urmat de CNP pentru persoane fizice cetățeni români sau 03 urmat de codul unic personal pentru persoane fizice rezidente în România (același format cu CNP-ul, dar la care prima cifra este 7 sau 8) sau NIF-ul persoanelor fizice nerezidente

5. 04 urmat de cod client asociat în mod unic de către operatorul economic, pentru pers. fizice care nu își declară CNP-ul pe tranzacții (exemplu: comerț online).

6. 05 urmat de codul de țară și de cod client asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele membre ale UE, mai puțin România

7. 06 urmat de codul de țară și de cod client asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele non-UE

8. 08 urmat de 13 cifre zero (080000000000000) pentru clienții care NU SE IDENTIFICĂ cu cod fiscal în tranzacțiile de la punctele de vânzare, precum stații de distribuție de carburanți-lubrefianți sau magazine cu vânzare în detaliu. Acest cod este utilizat NUMAI pentru astfel de tranzacții și nu este un inlocuitor universal în raportarea facturilor și plăților, etc. Acest cod NU SE UTILIZEAZĂ pentru elementul SupplierID - deoarece identitatea furnizorului pe bază de cod fiscal este mereu cunoscută       

9. 09 urmat de NIF pentru persoane juridice nerezidente inregistrate in Romania; 

10. 10 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru clientii persoane juridice nerezidente care nu se regasesc in categoria 01,02,05,06 si 09;                

11. 11 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru clientii persoane fizice nerezidente care nu se regasesc in categoria 03          
SAFmiddle1textType   Mandatory Mandatory The syntactic validation of the element GL.19 CustomerID is done as follows:
1. If the element GL.19 CustomerID is reported with value ”0” (zero), then the element GL.20 SupplierID must be different from ”0” (zero), meaning the identity of the partner from which the purchase was made (conventionally considered ”supplier”) is reported
2. If the element GL.19 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.19 CustomerID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7. ”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.8. ”08” then the max length of the string without the prefix ”08”, must be 13 digits. The value must be equal with ”080000000000000”
2.9 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.10 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”11”, must be max 20  character- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.12. In any other case the value is not validated and is return a syntactic validation error. (Validation error – CustomerID incorrect value)
3. Else if GL.19 CustomerID AND GL.20 SupplierID are concomitantly equal to ”0” (zero), then is return a syntactic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea sintactică a valorii elementului GL.19 CustomerID se face astfel:
1. Dacă elementul GL.19 CustomerID este egal cu ”0” (zero), atunci elementul GL.20 SupplierID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului de la care s-a făcut achiziția (convențional considerat – „furnizor”)
2. Dacă elementul GL.19 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.19 CustomerID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7. ”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8. ”08” atunci se verifică ca lungimea maximă a valorii fără prefixul ”08”, să fie de 13 caractere doar de tip numeric. Se verifică ca valoarea să fie egal cu ”080000000000000”
2.9. “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.10 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice  - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
 2.11 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice  - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.12. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – CustomerID incorrect value)
3. Altfel dacă GL.19 CustomerID AND GL.20 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation of the element GL.19 CustomerID is done as follows:
1. If the element GL.19 CustomerID is reported with value ”0” (zero), then the element GL.20 SupplierID must be different from ”0” (zero), meaning the identity of the partner from which the purchase was made (conventionally considered ”supplier”) is reported
2. If the element GL.19 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.19 CustomerID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7. ”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.8. ”08” then the max length of the string without the prefix ”08”, must be 13 digits. The value must be equal with ”080000000000000”
2.9 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.10 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”11”, must be max 20  character- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.12. In any other case the value is not validated and is return a semantic validation error. (Validation error – CustomerID incorrect value)
3. Else if GL.19 CustomerID AND GL.20 SupplierID are concomitantly equal to ”0” (zero), then is return a semantic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea semantică a valorii elementului GL.19 CustomerID se face astfel:
1. Dacă elementul GL.19 CustomerID este egal cu ”0” (zero), atunci elementul GL.20 SupplierID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului de la care s-a făcut achiziția (convențional considerat – „furnizor”)
2. Dacă elementul GL.19 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.19 CustomerID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7. ”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8. ”08” atunci se verifică ca lungimea maximă a valorii fără prefixul ”08”, să fie de 13 caractere doar de tip numeric. Se verifică ca valoarea să fie egal cu ”080000000000000”
2.9. “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.10 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
 2.11 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.12. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea semantică.(Validation error – CustomerID incorrect value)
3. Altfel dacă GL.19 CustomerID AND GL.20 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 Supplier ("SupplierID") and Customer ("CustomerID") – are reported as follows: for transactions and transaction lines in section 3.GeneralLedgerEntries that do not represent records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID" and "CustomerID" the unique code of the reporting taxpayer will be filled in, for the transactions and lines of transactions that  represents records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID", respectively "CustomerID" will be filled in the code "SupplierID", respectively "CustomerID" as defined in the master files section (MasterFiles) Furnizor (“SupplierID”) și Client (“CustomerID”) – se raportează astfel: pentru tranzacțiile si liniile de tranzacții din secțiunea 3.GeneralLedgerEntries care nu reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID” și “CustomerID” se va completa codul unic al contribuabilului raportor, pentru tranzacțiile si liniile de tranzacții care reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID”, respective  “CustomerID” se va completa codul “SupplierID”, respective “CustomerID” astfel cum este definit în secțiunea de Fișiere master (MasterFiles) x N/A N/A N/A x N/A
GL.20 SupplierID Unique supplier code consisting of: type (two decimal places) followed by the unique supplier code, as follows:
1. 00 followed by CUI - where the type is 00, and CUI is the unique identification code for economic operators registered in Romania. The code is an integer, with 1 to 9 digits, followed by a control digit - Example: 004221306 - for the Ministry of Public Finance
Attention! The fiscal attribute "RO" for VAT payers is not included

2. 01 followed by the country code (according to ISO 3166-1 - 2 letters) and the unique VAT Identification Code of the respective Member State - for the economic operators from the EU Member States, except Romania, verified according to the VIES system (VAT Information Exchange System) - Example: 01EL123456789 or 01HU12345678

3. 02 followed by the country code and the unique VAT identification code of the respective state, which is neither Romania nor EU member state - for economic operators from other states than Romania or EU members - Example: 02TK123005284

4. 03 followed by CNP for individuals Romanian citizens or 03 followed by the unique personal code for individuals resident in Romania (same format as CNP, but with the first digit being 7 or 8) or the NIF of non-resident individuals

5. 04 followed by the supplier code uniquely associated by the economic operator, for individuals who do not declare their CNP on transactions (example: online commerce).

6. 05 followed by the country code and the supplier code uniquely associated by the economic operator - for the economic operators that are not registered for VAT, from the EU Member States, except Romania

7. 06 followed by the country code and the supplier code uniquely associated by the economic operator - for the economic operators that are not registered for VAT from non-EU states   

9. 09 followed by NIF for non-resident legal entities registered in Romania;

10. 10 followed by the country code and the unique code assigned in the case of banking companies for suppliers of non-resident legal entities that are not found in category 01,02,05,06 and 09;

11. 11 followed by the country code and the unique code assigned in the case of banking companies for non-resident individuals suppliers who are not found in category 03
Cod unic pentru furnizor este format astfel: tip (două cifre zecimale) urmat de codul unic al furnizorului, după cum urmează:
1. 00 urmat de CUI - unde tipul este 00, iar CUI este codul unic de identificare  pentru operatorii economici înregistrați în România. Codul este un număr întreg zecimal, cu 1 până la 9 cifre, urmat de o cifră de control - Exemplu: 004221306 - pentru Ministerul Finantelor Publice
Atenție! Nu se trece și atributul fiscal ”RO” pentru plătitorii de TVA

2. 01 urmat de codul de țară (conform ISO 3166-1 - 2 litere) și de Codul unic de identificare pentru TVA din statul membru respectiv- pentru operatorii economici din statele membre ale UE, mai puțin România, verificate conform sistemului VIES (VAT Information Exchange System) - Exemplu: 01EL123456789 sau 01HU12345678

3. 02 urmat de codul de țară și de codul unic de identificare pentru TVA din statul respectiv, care nu este nici România, nici stat membru UE - pentru operatorii economici din alte state care nu sunt România sau membre UE - Exemplu: 02TK123005284

4. 03 urmat de CNP pentru persoane fizice cetățeni români sau 03 urmat de codul unic personal pentru persoane fizice rezidente în România (același format cu CNP-ul, dar la care prima cifra este 7 sau 8) sau NIF-ul persoanelor fizice nerezidente

5. 04 urmat de cod furnizor asociat în mod unic de către operatorul economic, pentru pers. fizice care nu își declară CNP-ul pe tranzacții (exemplu: comerț online).

6. 05 urmat de codul de țară și de cod furnizor asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele membre ale UE, mai puțin România

7. 06 urmat de codul de țară și de cod furnizor asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele non-UE

9. 09 urmat de NIF pentru persoane juridice nerezidente inregistrate in Romania; 

10. 10 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru furnizorii persoane juridice nerezidente care nu se regasesc in categoria 01,02,05,06 si 09;                

11. 11 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru furnizorii persoane fizice nerezidente care nu se regasesc in categoria 03      
SAFmiddle1textType   Mandatory Mandatory The syntactic validation of the element GL.20 SupplierID is done as follows:
1. If the element GL.20 SupplierID is reported with value ”0” (zero), then the element GL.19 CustomerID must be different from ”0” (zero), meaning the identity of the partner to which the delivery was made (conventionally considered ”customer”) is reported
2. If the element GL.20 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.20 SupplierID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7. ”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.8 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.9 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.10 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”11”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11. In any other case the value is not validated and is return a syntactic validation error. (Validation error – SupplierID incorrect value)
3. Else if GL.19 CustomerID AND GL.20 SupplierID are concomitantly equal to ”0” (zero), then is return a syntactic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea sintactică a valorii elementului GL.20 SupplierID se face astfel:
1. Dacă elementul GL.20 SupplierID este egal cu ”0” (zero), atunci elementul GL.19 CustomerID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului către care s-a făcut livrarea (convențional considerat – „client”)
2. Dacă elementul GL.20 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.20 SupplierID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7. ”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8  “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.9 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.10 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.11. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – SupplierID incorrect value)
3. Altfel dacă GL.19 CustomerID AND GL.20 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation of the element GL.20 SupplierID is done as follows:
1. If the element GL.20 SupplierID is reported with value ”0” (zero), then the element GL.19 CustomerID must be different from ”0” (zero), meaning the identity of the partner to which the delivery was made (conventionally considered ”customer”) is reported
2. If the element GL.20 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.20 SupplierID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7. ”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.8 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.9 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.10 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”11”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11. In any other case the value is not validated and is return a semantic validation error. (Validation error – SupplierID incorrect value)
3. Else if GL.19 CustomerID AND GL.20 SupplierID are concomitantly equal to ”0” (zero), then is return a semantic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea semantică a valorii elementului GL.20 SupplierID se face astfel:
1. Dacă elementul GL.20 SupplierID este egal cu ”0” (zero), atunci elementul GL.19 CustomerID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului către care s-a făcut livrarea (convențional considerat – „client”)
2. Dacă elementul GL.20 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.20 SupplierID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7. ”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8  “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.9 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.10 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.11. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea semantică.(Validation error – SupplierID incorrect value)
3. Altfel dacă GL.19 CustomerID AND GL.20 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 Supplier ("SupplierID") and Customer ("CustomerID") – are reported as follows: for transactions and transaction lines in section 3.GeneralLedgerEntries that do not represent records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID" and "CustomerID" the unique code of the reporting taxpayer will be filled in, for the transactions and lines of transactions that  represents records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID", respectively "CustomerID" will be filled in the code "SupplierID", respectively "CustomerID" as defined in the master files section (MasterFiles) Furnizor (“SupplierID”) și Client (“CustomerID”) – se raportează astfel: pentru tranzacțiile si liniile de tranzacții din secțiunea 3.GeneralLedgerEntries care nu reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID” și “CustomerID” se va completa codul unic al contribuabilului raportor, pentru tranzacțiile si liniile de tranzacții care reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID”, respective  “CustomerID” se va completa codul “SupplierID”, respective “CustomerID” astfel cum este definit în secțiunea de Fișiere master (MasterFiles) x N/A N/A N/A x N/A
GL.21 SystemID Unique number created by the system for the document Număr unic creat de sistem pentru document SAFshorttextType   Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
GL.22 Line     TransactionLine   Mandatory Mandatory N/A N/A N/A N/A N/A 1..*     x N/A N/A N/A x N/A
GL.23 TransactionLine RecordID Identifier to trace entry to journal line or posting reference Identificator pentru a urmări intrarea în linia de jurnal sau referința de înregistrare SAFshorttextType GL Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.24 AccountID This is the analytical account ID based on the standard defined by the Romanian authorities, according to the accounting accounts chart for comercial companies (PlanConturiBalSocCom), accounting accounts chart for credit institutions and non-banking financial institutions (PlanConturiBanci), or the accounting accounts chart for insurance companies (PlanConturiSocAsigurari) Acesta este ID-ul contului analitic creat pe baza standardului definit de autoritățile române, conform planului de conturi pentru societăți generale (PlanConturiBalSocCom), planului de conturi aplicabil pentru instituțiile de credit şi instituțiile financiar nebancare (PlanConturiBanci) sau planului de conturi aplicabil pentru societățile de asigurări (PlanConturiSocAsigurari).

SAFmiddle2textType   GL Mandatory Mandatory The account is an integer decimal number, not null Contul trebuie să fie un număr intreg diferit de 0 Validation at the level of the analytical account  that need to be reported according to the accounting account chart in Romania, applicable to the company that makes the reporting, based on the romanian accounting standards (”SRC”) Validare la nivelul codului contului analitic care trebuie să corespundă planului de conturi contabile pentru România aplicabil tipului societății raportoare conform standardelor românești de contabilitate. (”SRC”) N/A 1 The field is completed using the associated codes validated with the following nomenclatures:
- PlanConturiBalSocCom
- PlanConturiIFRS
- PlanConturiIFRS_Norma39
- PlanConturiBanci
- PlanConturiNebancare
- PlanConturiSocAsigurari
- PlanConturi_Norma36
Completarea acestui câmp se face cu codul asociat contului validat conform nomenclatoarelor:
- PlanConturiBalSocCom
- PlanConturiIFRS
- PlanConturiIFRS_Norma39
- PlanConturiBanci
- PlanConturiNebancare
- PlanConturiSocAsigurari

- PlanConturi_Norma36
x N/A N/A N/A x N/A
GL.25 Analysis General Ledger analysis codes Coduri de analiză in registrul jurnal AnalysisStructure   Optional Optional N/A N/A N/A N/A N/A 0..*     x N/A N/A N/A x N/A
GL.26 ValueDate Effective date from which interest charged. To be reported when this date differs from the transaction date Data efectivă de la care dobânda este percepută. A se raporta atunci când această dată diferă de data tranzacției Date ERP Optional Optional Validation accoring to ISO 8601 Validare conform standardului ISO 8601 N/A N/A N/A 0..1 The date and time is filled in the SAF-T reporting file using the ISO 8601 standard, that specify the following format AAAA-LL-ZZ

Example of accepted format for date: 2020-10-03, 2021-04-12
Codificarea datei și a orei în fișierul standard de audit SAF-T se realizează pe baza standardului ISO 8601, care specifica următorul format : AAAA-LL-ZZ

Exemple de date acceptate: 2020-10-03, 2021-04-12
x N/A N/A N/A x N/A
GL.27 SourceDocumentID Source document number to which line relates Numărul documentului sursă la care se referă linia SAFmiddle1textType GL Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
GL.28 CustomerID Unique client code consisting of: type (two decimal places) followed by the unique client code, as follows:
1. 00 followed by CUI - where the type is 00, and CUI is the unique identification code for economic operators registered in Romania. The code is an integer, with 1 to 9 digits, followed by a control digit - Example: 004221306 - for the Ministry of Public Finance
Attention! The fiscal attribute "RO" for VAT payers is not included

2. 01 followed by the country code (according to ISO 3166-1 - 2 letters) and the unique VAT Identification Code of the respective Member State - for the economic operators from the EU Member States, except Romania, verified according to the VIES system (VAT Information Exchange System) - Example: 01EL123456789 or 01HU12345678

3. 02 followed by the country code and the unique VAT identification code of the respective state, which is neither Romania nor EU member state - for economic operators from other states than Romania or EU members - Example: 02TK123005284

4. 03 followed by CNP for individuals Romanian citizens or 03 followed by the unique personal code for individuals resident in Romania (same format as CNP, but with the first digit being 7 or 8) or the NIF of non-resident individuals

5. 04 followed by the customer code uniquely associated by the economic operator, for individuals who do not declare their CNP on transactions (example: online commerce).

6. 05 followed by the country code and the customer code uniquely associated by the economic operator - for the economic operators that are not registered for VAT, from the EU Member States, except Romania

7. 06 followed by the country code and the customer code uniquely associated by the economic operator - for the economic operators that are not registered for VAT from non-EU states

8. 08 followed by 13 zero's (080000000000000) for unidentified customers with a fiscal code on transactions at the point-of-sales, like petrol stations and groceries. This code is restricted ONLY for such transactions, is not a replacement on invoices, etc. This code is NOT USED for SupplierID element - the identity of the supplier is known based on the fiscal code      

9. 09 followed by NIF for non-resident legal entities registered in Romania;

10. 10 followed by the country code and the unique code assigned in the case of banking companies forcustomers of non-resident legal entities that are not found in category 01,02,05,06 and 09;

11. 11 followed by the country code and the unique code assigned in the case of banking companies for non-resident individuals customers who are not found in category 03
Cod unic pentru client este format astfel: tip (două cifre zecimale) urmat de codul unic al clientului, după cum urmează:
1. 00 urmat de CUI - unde tipul este 00, iar CUI este codul unic de identificare  pentru operatorii economici înregistrați în România. Codul este un număr întreg zecimal, cu 1 până la 9 cifre, urmat de o cifră de control - Exemplu: 004221306 - pentru Ministerul Finantelor Publice
Atenție! Nu se trece și atributul fiscal ”RO” pentru plătitorii de TVA

2. 01 urmat de codul de țară (conform ISO 3166-1 - 2 litere) și de Codul unic de identificare pentru TVA din statul membru respectiv- pentru operatorii economici din statele membre ale UE, mai puțin România, verificate conform sistemului VIES (VAT Information Exchange System) - Exemplu: 01EL123456789 sau 01HU12345678

3. 02 urmat de codul de țară și de codul unic de identificare pentru TVA din statul respectiv, care nu este nici România, nici stat membru UE - pentru operatorii economici din alte state care nu sunt România sau membre UE - Exemplu: 02TK123005284

4. 03 urmat de CNP pentru persoane fizice cetățeni români sau 03 urmat de codul unic personal pentru persoane fizice rezidente în România (același format cu CNP-ul, dar la care prima cifra este 7 sau 8) sau NIF-ul persoanelor fizice nerezidente

5. 04 urmat de cod client asociat în mod unic de către operatorul economic, pentru pers. fizice care nu își declară CNP-ul pe tranzacții (exemplu: comerț online).

6. 05 urmat de codul de țară și de cod client asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele membre ale UE, mai puțin România

7. 06 urmat de codul de țară și de cod client asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele non-UE

8. 08 urmat de 13 cifre zero (080000000000000) pentru clienții care NU SE IDENTIFICĂ cu cod fiscal în tranzacțiile de la punctele de vânzare, precum stații de distribuție de carburanți-lubrefianți sau magazine cu vânzare în detaliu. Acest cod este utilizat NUMAI pentru astfel de tranzacții și nu este un inlocuitor universal în raportarea facturilor și plăților, etc. Acest cod NU SE UTILIZEAZĂ pentru elementul SupplierID - deoarece identitatea furnizorului pe bază de cod fiscal este mereu cunoscută       

9. 09 urmat de NIF pentru persoane juridice nerezidente inregistrate in Romania; 

10. 10 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru clientii persoane juridice nerezidente care nu se regasesc in categoria 01,02,05,06 si 09;                

11. 11 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru clientii persoane fizice nerezidente care nu se regasesc in categoria 03          
SAFmiddle1textType ERP Mandatory Mandatory The syntactic validation of the element GL.28 CustomerID is done as follows:
1. If the element GL.28 CustomerID is reported with value ”0” (zero), then the element GL.29 SupplierID must be different from ”0” (zero), meaning the identity of the partner from which the purchase was made (conventionally considered ”supplier”) is reported
2. If the element GL.28 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.28 CustomerID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7. ”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.8. ”08” then the max length of the string without the prefix ”08”, must be 13 digits. The value must be equal with ”080000000000000”
2.9 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.10 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”11”, must be max 20  character- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.12. In any other case the value is not validated and is return a syntactic validation error. (Validation error – CustomerID incorrect value)
3. Else if GL.28 CustomerID AND GL.29 SupplierID are concomitantly equal to ”0” (zero), then is return a syntactic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea sintactică a valorii elementului GL.28 CustomerID se face astfel:
1. Dacă elementul GL.28 CustomerID este egal cu ”0” (zero), atunci elementul GL.29 SupplierID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului de la care s-a făcut achiziția (convențional considerat – „furnizor”)
2. Dacă elementul GL.28 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.28 CustomerID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7. ”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8.”08” atunci se verifică ca lungimea maximă a valorii fără prefixul ”08”, să fie de 13 caractere doar de tip numeric. Se verifică ca valoarea să fie egal cu ”080000000000000[Caz distinct pentru CustomerID]”
2.9. “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.10 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
 2.11 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.12. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – CustomerID incorrect value)
3. Altfel dacă GL.28 CustomerID AND GL.29 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation of the element GL.28 CustomerID is done as follows:
1. If the element GL.28 CustomerID is reported with value ”0” (zero), then the element GL.29 SupplierID must be different from ”0” (zero), meaning the identity of the partner from which the purchase was made (conventionally considered ”supplier”) is reported
2. If the element GL.28 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.28 CustomerID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7. ”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.8. ”08” then the max length of the string without the prefix ”08”, must be 13 digits. The value must be equal with ”080000000000000”
2.9 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.10 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”11”, must be max 20  character- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.12. In any other case the value is not validated and is return a semantic validation error. (Validation error – CustomerID incorrect value)
3. Else if GL.28 CustomerID AND GL.29 SupplierID are concomitantly equal to ”0” (zero), then is return a semantic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea semantică a valorii elementului GL.28 CustomerID se face astfel:
1. Dacă elementul GL.28 CustomerID este egal cu ”0” (zero), atunci elementul GL.29 SupplierID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului de la care s-a făcut achiziția (convențional considerat – „furnizor”)
2. Dacă elementul GL.28 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.28 CustomerID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7. ”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8.”08” atunci se verifică ca lungimea maximă a valorii fără prefixul ”08”, să fie de 13 caractere doar de tip numeric. Se verifică ca valoarea să fie egal cu ”080000000000000[Caz distinct pentru CustomerID]”
2.9. “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.10 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
 2.11 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.12. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea semantică.(Validation error – CustomerID incorrect value)
3. Altfel dacă GL.28 CustomerID AND GL.29 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 Supplier ("SupplierID") and Customer ("CustomerID") – are reported as follows: for transactions and transaction lines in section 3.GeneralLedgerEntries that do not represent records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID" and "CustomerID" the unique code of the reporting taxpayer will be filled in, for the transactions and lines of transactions that  represents records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID", respectively "CustomerID" will be filled in the code "SupplierID", respectively "CustomerID" as defined in the master files section (MasterFiles) Furnizor (“SupplierID”) și Client (“CustomerID”) – se raportează astfel: pentru tranzacțiile si liniile de tranzacții din secțiunea 3.GeneralLedgerEntries care nu reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID” și “CustomerID” se va completa codul unic al contribuabilului raportor, pentru tranzacțiile si liniile de tranzacții care reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID”, respective  “CustomerID” se va completa codul “SupplierID”, respective “CustomerID” astfel cum este definit în secțiunea de Fișiere master (MasterFiles) x N/A N/A N/A x N/A
GL.29 SupplierID Unique supplier code consisting of: type (two decimal places) followed by the unique supplier code, as follows:
1. 00 followed by CUI - where the type is 00, and CUI is the unique identification code for economic operators registered in Romania. The code is an integer, with 1 to 9 digits, followed by a control digit - Example: 004221306 - for the Ministry of Public Finance
Attention! The fiscal attribute "RO" for VAT payers is not included

2. 01 followed by the country code (according to ISO 3166-1 - 2 letters) and the unique VAT Identification Code of the respective Member State - for the economic operators from the EU Member States, except Romania, verified according to the VIES system (VAT Information Exchange System) - Example: 01EL123456789 or 01HU12345678

3. 02 followed by the country code and the unique VAT identification code of the respective state, which is neither Romania nor EU member state - for economic operators from other states than Romania or EU members - Example: 02TK123005284

4. 03 followed by CNP for individuals Romanian citizens or 03 followed by the unique personal code for individuals resident in Romania (same format as CNP, but with the first digit being 7 or 8) or the NIF of non-resident individuals

5. 04 followed by the supplier code uniquely associated by the economic operator, for individuals who do not declare their CNP on transactions (example: online commerce).

6. 05 followed by the country code and the supplier code uniquely associated by the economic operator - for the economic operators that are not registered for VAT, from the EU Member States, except Romania

7. 06 followed by the country code and the supplier code uniquely associated by the economic operator - for the economic operators that are not registered for VAT from non-EU states   

9. 09 followed by NIF for non-resident legal entities registered in Romania;

10. 10 followed by the country code and the unique code assigned in the case of banking companies for suppliers of non-resident legal entities that are not found in category 01,02,05,06 and 09;

11. 11 followed by the country code and the unique code assigned in the case of banking companies for non-resident individuals suppliers who are not found in category 03
Cod unic pentru furnizor este format astfel: tip (două cifre zecimale) urmat de codul unic al furnizorului, după cum urmează:
1. 00 urmat de CUI - unde tipul este 00, iar CUI este codul unic de identificare  pentru operatorii economici înregistrați în România. Codul este un număr întreg zecimal, cu 1 până la 9 cifre, urmat de o cifră de control - Exemplu: 004221306 - pentru Ministerul Finantelor Publice
Atenție! Nu se trece și atributul fiscal ”RO” pentru plătitorii de TVA

2. 01 urmat de codul de țară (conform ISO 3166-1 - 2 litere) și de Codul unic de identificare pentru TVA din statul membru respectiv- pentru operatorii economici din statele membre ale UE, mai puțin România, verificate conform sistemului VIES (VAT Information Exchange System) - Exemplu: 01EL123456789 sau 01HU12345678

3. 02 urmat de codul de țară și de codul unic de identificare pentru TVA din statul respectiv, care nu este nici România, nici stat membru UE - pentru operatorii economici din alte state care nu sunt România sau membre UE - Exemplu: 02TK123005284

4. 03 urmat de CNP pentru persoane fizice cetățeni români sau 03 urmat de codul unic personal pentru persoane fizice rezidente în România (același format cu CNP-ul, dar la care prima cifra este 7 sau 8) sau NIF-ul persoanelor fizice nerezidente

5. 04 urmat de cod furnizor asociat în mod unic de către operatorul economic, pentru pers. fizice care nu își declară CNP-ul pe tranzacții (exemplu: comerț online).

6. 05 urmat de codul de țară și de cod furnizor asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele membre ale UE, mai puțin România

7. 06 urmat de codul de țară și de cod furnizor asociat în mod unic de către operatorul economic - pentru operatorii economici care nu sunt înregistrați în scopuri de TVA din statele non-UE

9. 09 urmat de NIF pentru persoane juridice nerezidente inregistrate in Romania; 

10. 10 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru furnizorii persoane juridice nerezidente care nu se regasesc in categoria 01,02,05,06 si 09;                

11. 11 urmat de codul de tara si de codul unic alocat in cazul societatilor bancare pentru furnizorii persoane fizice nerezidente care nu se regasesc in categoria 03      
SAFmiddle1textType ERP Mandatory Mandatory The syntactic validation of the element GL.29 SupplierID is done as follows:
1. If the element GL.29 SupplierID is reported with value ”0” (zero), then the element GL.28 CustomerID must be different from ”0” (zero), meaning the identity of the partner to which the delivery was made (conventionally considered ”customer”) is reported
2. If the element GL.29 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.29 SupplierID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7.”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature
2.8 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.9 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.10 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the the prefix ”11”, must be max 20  character- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11. In any other case the value is not validated and is return a syntactic validation error. (Validation error – SupplierID incorrect value)
3. Else if GL.28 CustomerID AND GL.29 SupplierID are concomitantly equal to ”0” (zero), then is return a syntactic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea sintactică a valorii elementului GL.29 SupplierID se face astfel:
1. Dacă elementul GL.29 SupplierID este egal cu ”0” (zero), atunci elementul GL.28 CustomerID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului către care s-a făcut livrarea (convențional considerat – „client”)
2. Dacă elementul GL.29 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.29 SupplierID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7.”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8  “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.9 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.10 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.11. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – SupplierID incorrect value)
3. Altfel dacă GL.28 CustomerID AND GL.29 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation of the element GL.29 SupplierID is done as follows:
1. If the element GL.29 SupplierID is reported with value ”0” (zero), then the element GL.28 CustomerID must be different from ”0” (zero), meaning the identity of the partner to which the delivery was made (conventionally considered ”customer”) is reported
2. If the element GL.29 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from GL.29 SupplierID are:
2.1. ”00” then the max length of the string without the prefix ”00”, must be 10 digits. The substring ”RO” is not accepted. The validation is made according to the well-known rules for CUI.
CUI format is #########C – where ######### is the identification number, with length between 1 and 9 digits, and C is the control digit, 1 digit
2.2. ”01” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”EL” for 01EL123456789 or ”HU” for 01HU12345678
2.3. ”02” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature. – Example: ”TK” for 02TK123005284
2.4. ”03” then the max length of the string without the prefix ”03”, must be 13 digits. The first digit in the string must be different from 0 (zero).
2.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
2.6. ”05” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature.
2.7.”06” then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature
2.8 “09” then the max length of the string without the prefix ”09”, must be 13 digits. The first digit in the string must be different from 0 (zero)
2.9 “10” then TaxAccountingBasis (H2=BANK) and the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”10”, must be max 20  character.- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.10 “11”  then TaxAccountingBasis (H2=BANK) then the code for the country (characters 3 and 4) must be a valid country code from the ISO 3166-1 - 2 letters nomenclature and the max length of the string without the prefix ”11”, must be max 20  character- the code is used until the provisions of art 82, paragraph (6), letter e of law no. 207/2015 regarding the Fiscal Procedure Code with subsequent amendments and additions
2.11. In any other case the value is not validated and is return a semantic validation error. (Validation error – SupplierID incorrect value)
3. Else if GL.28 CustomerID AND GL.29 SupplierID are concomitantly equal to ”0” (zero), then is return a semantic validation error. (CustomerID and SupplierID can not be concomitantly 0 (zero))
Validarea semantică a valorii elementului GL.29 SupplierID se face astfel:
1. Dacă elementul GL.29 SupplierID este egal cu ”0” (zero), atunci elementul GL.28 CustomerID trebuie să fie diferit de ”0” (zero), adică este completat cu identitatea partenerului către care s-a făcut livrarea (convențional considerat – „client”)
2. Dacă elementul GL.29 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din GL.29 SupplierID sunt:
2.1. ”00” atunci se verifică ca lungimea maximă a valorii fără prefixul ”00”, să fie de 10 caractere doar de tip numeric. Nu se acceptă caracterele ”RO”. Validarea se realizează după regulile cunoscute pentru CUI
Formatul unui CUI este #########C – unde ######### este numărul de identificare, între 1 și 9 cifre, iar C este numărul de verificare, 1 cifră
2.2. ”01” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”EL” pentru 01EL123456789 sau ”HU” pentru 01HU12345678
2.3. ”02” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere. - Exemplu: ”TK” pentru 02TK123005284
2.4. ”03” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”03”, să fie de 13 caractere de tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0.
2.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc).
2.6. ”05” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.7.”06” atunci se verifică codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere.
2.8  “09” atunci se verifică ca lungimea maximă a înregistrării fără prefixul ”09”, să fie de 13 caractere de   tip numeric. Se verifică ca prima cifră din grupul de 13 caractere să fie diferită de 0
2.9 “10”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”10”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.10 “11”  atunci se verifică ca societatea are TaxAccountingBasis (H2) = Bank si codul de țară (caracterele 3 și 4) care trebuie să fie un cod valid conform nomenclatorului ISO 3166-1 - 2 litere si  se verifică ca lungimea maximă a valorii fără prefixul ”11”, să fie de max  20 caractere alfanumerice - codul se foloseste pana la aplicarea prevederilor art 82, alin (6), lit e din legea nr. 207/2015 privind Codul de procedura fiscala cu modificarile si completarile ulterioare
2.11. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea semantică.(Validation error – SupplierID incorrect value)
3. Altfel dacă GL.28 CustomerID AND GL.29 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 Supplier ("SupplierID") and Customer ("CustomerID") – are reported as follows: for transactions and transaction lines in section 3.GeneralLedgerEntries that do not represent records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID" and "CustomerID" the unique code of the reporting taxpayer will be filled in, for the transactions and lines of transactions that  represents records of debts and receivables for which, according to the applicable accounting regulations, there is an obligation to account for each individual or legal person, in the fields "SupplierID", respectively "CustomerID" will be filled in the code "SupplierID", respectively "CustomerID" as defined in the master files section (MasterFiles) Furnizor (“SupplierID”) și Client (“CustomerID”) – se raportează astfel: pentru tranzacțiile si liniile de tranzacții din secțiunea 3.GeneralLedgerEntries care nu reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID” și “CustomerID” se va completa codul unic al contribuabilului raportor, pentru tranzacțiile si liniile de tranzacții care reprezintă înregistrări de datorii si creanțe pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoană fizică sau juridică, în câmpurile “SupplierID”, respective  “CustomerID” se va completa codul “SupplierID”, respective “CustomerID” astfel cum este definit în secțiunea de Fișiere master (MasterFiles) x N/A N/A N/A x N/A
GL.30 Description Description of the Journal Line. Descrierea liniei de jurnal. SAFlongtextType GL Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
GL.31 DebitAmount Debit amount information for transaction
The debit amount may be positive or negative, to reflect the storno în black ink. Negative amounts are prefixed with the minus („-”) sign.
Informații despre suma debitului pentru tranzacție
Suma debitoare poate fi pozitivă sau negativă, după caz putând fi reflectate stornările în negru. Suma negativă se reprezintă prefixată cu semnul „-”
Amount Structure GL Mandatory Mandatory N/A N/A If the transaction line is debit, use DebitAmount and don't report CreditAmount - meaning the item is not reported (will not be present in the XML file).
(see XML code fragment in the below footnote [4])
Dacă linia de tranzacție este debit, utilizați DebitAmount și nu raportați CreditAmount - adică elementul nu se raportează (nu va fi prezent în fișierul XML).
(Vă rog să urmăriți fragmentul de cod XML din nota de subsol [4])
N/A 1     x N/A N/A N/A x N/A
GL.32 CreditAmount Credit amount information for transaction
The credit amount may be positive or negative, to reflect the storno în black ink. Negative amounts are prefixed with the minus („-”) sign.
Informații privind valoarea creditului pentru tranzacție
Suma creditoare poate fi pozitivă sau negativă, după caz putând fi reflectate stornările în negru. Suma negativă se reprezintă prefixată cu semnul „-”
Amount Structure GL Mandatory Mandatory N/A N/A If the transaction line is debit, use DebitAmount and don't report CreditAmount - meaning the item is not reported (will not be present in the XML file).
(see XML code fragment in the below footnote [4])
Dacă linia de tranzacție este debit, utilizați DebitAmount și nu raportați CreditAmount - adică elementul nu se raportează (nu va fi prezent în fișierul XML).
(Vă rog să urmăriți fragmentul de cod XML din nota de subsol [4])
N/A 1     x N/A N/A N/A x N/A
GL.33 TaxInformation Tax information for the accounting line. Informații fiscale pentru linia contabilă. TaxInformationStructure   Mandatory Mandatory N/A N/A N/A N/A N/A 1..*     x N/A N/A N/A x N/A
 
Nota:
[4] /Journal/Transaction/TransactionLine
Elements: DebitAmount/CreditAmount

                                <xs:choice>
                                                <xs:element name="DebitAmount" type="nsSAFT:AmountStructure">
                                                                <xs:annotation>
                                                                                <xs:documentation>Debit amount information for transaction.</xs:documentation>
                                                                </xs:annotation>
                                                </xs:element>
                                                <xs:element name="CreditAmount" type="nsSAFT:AmountStructure">
                                                                <xs:annotation>
                                                                                <xs:documentation>Credit amount information for transaction.</xs:documentation>
                                                                </xs:annotation>
                                                </xs:element>
                                </xs:choice>

[1]
[Threaded comment]

Your version of Excel allows you to read this threaded comment; however, any edits to it will get removed if the file is opened in a newer version of Excel. Learn more: https://go.microsoft.com/fwlink/?linkid=870924

Comment:
    Reporting (Mandatory or Optional) for sections/ sub-sections/ structures and fields according to OpANAF no. 1783/2021
[2]
[Threaded comment]

Your version of Excel allows you to read this threaded comment; however, any edits to it will get removed if the file is opened in a newer version of Excel. Learn more: https://go.microsoft.com/fwlink/?linkid=870924

Comment:
    Validation of cumulativ and modal
reporting for sections/ sub-sections/ structures and fields (Mandatory or Optional)