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ă
  4. SourceDocuments             Mandatory Mandatory           1     x x x x x x
    4.1 SalesInvoices           Mandatory Mandatory           1     x N/A N/A x x x
SD.SI.1   Number of entries Number of entries Număr de intrări nonNegativeInteger ERP Mandatory Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A x x x
SD.SI.2 Total Debit The total of all debit amounts in the header’s default currency Totalul tuturor sumelor debitoare din valuta implicită a antetului SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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 x x x
SD.SI.3 Total Credit The total of all credit amounts in the header’s default currency Totalul tuturor sumelor creditoare din valuta implicită a antetului SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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 x x x
SD.SI.4 Invoice Invoice structure Structura facturii Invoice structure   Mandatory Optional N/A N/A N/A N/A N/A 0..*     x N/A N/A x x x
  4.2 PurchaseInvoices           Mandatory Mandatory           1       N/A N/A x x x
SD.PI.1   Number of entries Number of entries Număr de intrări nonNegativeInteger ERP Mandatory Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A x x x
SD.PI.2 Total Debit The total of all debit amounts in the header’s default currency Totalul tuturor sumelor debitoare din valuta implicită a antetului SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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 x x x
SD.PI.3 Total Credit The total of all credit amounts in the header’s default currency Totalul tuturor sumelor creditoare din valuta implicită a antetului SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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 x x x
SD.PI.4 Invoice Invoice structure Structura facturii Invoice structure   Mandatory Optional N/A N/A N/A N/A N/A 0..*     x N/A N/A x x x
  4.3 Payments           Mandatory Mandatory           1     x N/A N/A N/A x N/A
SD.P.1 4.3 Payments Number of entries Number of entries Număr de intrări nonNegativeInteger ERP Mandatory Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.2 Total Debit The total of all debit amounts in the header’s default currency Totalul tuturor sumelor debitoare din valuta implicită a antetului SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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
SD.P.3 Total Credit The total of all credit amounts in the header’s default currency Totalul tuturor sumelor creditoare din valuta implicită a antetului SAFmonetaryType GL Mandatory Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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
SD.P.4 Payment     Payment   Mandatory Optional N/A N/A N/A N/A N/A 0..*     x N/A N/A N/A x N/A
SD.P.5 Payment Payment ref no. Unique reference number for payment Număr unic de referință pentru plată SAFmiddle1textType ERP Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
SD.P.6 Period Accounting period Perioada contabilă nonNegativeInteger ERP Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.7 Period Year The year of the accounting period Anul perioadei contabile nonNegativeInteger ERP Optional Optional (minInclusive 2020, maxInclusive Current-Year] (minInclusiv 2020, maxInclusiv Current-Year] N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.8 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 ERP/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
SD.P.9 Transaction Date 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
SD.P.10 PaymentMethod Cheque, Bank, Giro, Cash etc Cec, Bancă, Giro, Numerar etc. SAFshorttextType ERP Mandatory Mandatory Validation according to the codes defiend in the nomenclature Nom_Mecanisme_plati Validare conform codurilor indicate din nomenclatorul Nom_Mecanisme_plati For validation is used the nomenclature Nom_Mecanisme_plati

Also, the value of SD.P.10 must be correlated to the value of SD.P.32 such that they match with the tuples defined by the nomenclature.

Example: PaymentMethod = "99" can only work with PaymentMechanism = "1"
Se validează cu nomenclatorul Nom_Mecanisme_plati

Deasemenea, valoarea campului SD.P.10 trebuie sa fie corelata cu valoarea campului SD.P.32, asa cum sint definite in nomenclator.

Exemplu: PaymentMethod = "99" poate sa corespunda doar cu PaymentMechanism = "1"
N/A 1 Filled in according to the following CODES:
- 01 - for Cash
- 02 - for Offset/ Netting
- 03 - for Non-Cash
- 98 - for Mutually defined
- 99 - for Instrument not defined

Information for the codification are in the nomenclature
Nom_Mecanisme_plati
Completarea acestui câmp se face cu CODUL asociat conform:
- 01 - pentru Numerar
- 02 - pentru Compensare
- 03 - pentru Fără numerar
- 98 - pentru Definit de comun acord
- 99 - pentru Instrument nedefinit

Informații privind codificarea se găsesc în nomenclatorul
Nom_Mecanisme_plati
x N/A N/A N/A x N/A
SD.P.11 Description Description of the payment Descrierea plății 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
SD.P.12 Batch ID Systems generated ID for batch ID generat de sisteme pentru lot SAFmiddle1textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.13 System ID Unique number created by the system for the document Număr unic creat de sistem pentru document SAFmiddle1textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.14 Source ID Details of person or application that entered the transaction Detalii despre persoana sau aplicația care a introdus/ generat tranzacția SAFmiddle1textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.15 Line Line  Linie  PaymentLine   Mandatory Mandatory N/A N/A N/A N/A N/A 1..*     x N/A N/A N/A x N/A
SD.P.16 PaymentSettlement     PaymentSettlement   Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.17 PaymentDocumentTotals     PaymentDocumentTotals   Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.18 PaymentLine LineNumber  Number of the paymentline  Numărul liniei de plată SAFshorttextType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.19 SourceDocumentID  The source document to which the line relates  Documentul sursă la care se referă linia SAFmiddle1textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.20 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 întreg 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
SD.P.21 Analysis General Ledger analysis code Cod analiză 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
SD.P.22 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 for the element SD.P.22 CustomerID is done as follows:
1. If the element SD.P.22 CustomerID is reported with value ”0” (zero), then the element SD.P.23 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 SD.P.22 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.P.22 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 SD.P.22 CustomerID AND SD.P.23 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 SD.P.22 CustomerID se face astfel:
1. Dacă elementul SD.P.22 CustomerID este egal cu ”0” (zero), atunci elementul SD.P.23 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 SD.P.22 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.P.22 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.9. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – CustomerID incorrect value)
3. Altfel dacă SD.P.22 CustomerID AND SD.P.23 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation for the element SD.P.22 CustomerID is done as follows:
1. If the element SD.P.22 CustomerID is reported with value ”0” (zero), then the element SD.P.23 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 SD.P.22 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.P.22 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 SD.P.22 CustomerID AND SD.P.23 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 SD.P.22 CustomerID se face astfel:
1. Dacă elementul SD.P.22 CustomerID este egal cu ”0” (zero), atunci elementul SD.P.23 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 SD.P.22 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.P.22 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ă SD.P.22 CustomerID AND SD.P.23 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 If payment relates to a Customer, use CustomerID and report SupplierID with value 0 (zero).

OR

See note (1) below:
CustomerID/ SupplierID - for the corresponding transactions and lines in this subsection, which does not represent a payment / collection made to a Supplier / Client 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" are filled in with the unique code of reporting taxpayer
Dacă plata se referă la un Client, utilizați CustomerID și raportați SupplierID cu valoarea 0 (zero).

SAU

Vezi nota (1) de mai jos:
CustomerID/ SupplierID - pentru tranzacțiile si liniile corespunzătoare din aceasta subsecțiune, care nu reprezintă o plată/ încasare realizată către un Furnizor/ Client pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoana fizica sau juridica, în câmpurile “SupplierID” si “CustomerID” se completează cu codul unic al
contribuabilului raportor
x N/A N/A N/A x N/A
SD.P.23 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 for the element SD.P.23 SupplierID is done as follows:
1. If the element SD.P.23 SupplierID is reported with value ”0” (zero), then the element SD.P.22 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 SD.P.23 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.P.23 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.8. In any other case the value is not validated and is return a syntactic validation error. (Validation error – SupplierID incorrect value)
3. Else if SD.P.22 CustomerID AND SD.P.23 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 SD.P.23 SupplierID se face astfel:
1. Dacă elementul SD.P.23 SupplierID este egal cu ”0” (zero), atunci elementul SD.P.22 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 SD.P.23 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.P.23 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ă SD.P.22 CustomerID AND SD.P.23 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation for the element SD.P.23 SupplierID is done as follows:
1. If the element SD.P.23 SupplierID is reported with value ”0” (zero), then the element SD.P.22 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 SD.P.23 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.P.23 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 SD.P.22 CustomerID AND SD.P.23 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 SD.P.23 SupplierID se face astfel:
1. Dacă elementul SD.P.23 SupplierID este egal cu ”0” (zero), atunci elementul SD.P.22 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 SD.P.23 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.P.23 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ă SD.P.22 CustomerID AND SD.P.23 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 If payment relates to a Supplier, use SupplierID and report CustomerID with value 0 (zero).

OR

See note (1) below
CustomerID/ SupplierID - for the corresponding transactions and lines in this subsection, which does not represent a payment / collection made to a Supplier / Client 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" are filled in with the unique code of reporting taxpayer
Dacă plata se referă la un Furnizor, utilizați SupplierID și raportați CustomerID cu valoarea 0 (zero).

SAU

Vezi nota (1) de mai jos:
CustomerID/ SupplierID - pentru tranzacțiile si liniile corespunzătoare din aceasta subsecțiune, care nu reprezintă o plată/ încasare realizată către un Furnizor/ Client pentru care, conform reglementarilor contabile aplicabile, exista obligația de contabilizare pe fiecare persoana fizica sau juridica, în câmpurile “SupplierID” si “CustomerID” se completează cu codul unic al
contribuabilului raportor
x N/A N/A N/A x N/A
SD.P.24 TaxPointDate Tax Point date where recorded or if not recorded then the Invoice date Data exigibilității taxei dacă este disponibilă sau dacă nu este disponibilă atunci data facturii 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
SD.P.25 Description Description of the payment line Descrierea liniei de plată SAFlongtextType ERP/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
SD.P.26 DebitCreditIndicator Indicates whether the amount on line-level are debit or credit amounts. Entry must correspond to entry reflected in General Ledger Entry. Signing of lineamounts is relative to this indicator. E.g. a return can lead to a negative amount Indică dacă sumele la nivel de linie sunt sume debitoare sau creditoare. Înregistrarea trebuie să corespundă înregistrării reflectate în Registrul Jurnal. Semnul sumelor la nivel de linie depinde de acest indicator. De exemplu, un retur poate duce la o sumă negativă SAFcodeType GL Mandatory Mandatory Restriction for values: C for Credit and D for Debit. Restricție pentru valori: C pentru Credit și D pentru Debit. N/A N/A N/A 1 Filled in with one of the value:
- C - for credit
- D - for debit
Se completează cu una din valorile:
- C - pentru credit
- D - pentru debit
x N/A N/A N/A x N/A
SD.P.27 PaymentLineAmount Amount for transaction  Suma tranzacției  AmountStructure   Mandatory Mandatory N/A N/A N/A N/A N/A 1     x N/A N/A N/A x N/A
SD.P.28 TaxInformation     TaxInformationStructure   Mandatory Mandatory N/A N/A N/A N/A N/A 1..*     x N/A N/A N/A x N/A
SD.P.29 PaymentSettlement SettlementDiscount Description settlement/other discount Descriere reducere tip de decontare /altă reducere SAFmiddle1textType TBD Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.30 SettlementAmount Settlement amount Suma decontării AmountStructure TBD Optional Optional N/A N/A N/A N/A N/A 0..1     x N/A N/A N/A x N/A
SD.P.31 SettlementDate Date settled Data decontării Date TBD 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
SD.P.32 PaymentMechanism Payment mechanism Mecanismul de plată SAFcodeType TBD Optional Optional N/A N/A For validation is used the nomenclature Nom_Mecanisme_plati

Also, the value of SD.P.10 must be correlated to the value of SD.P.32 such that they match with the tuples defined by the nomenclature.

Example: PaymentMethod = "99" can only work with PaymentMechanism = "1"
Se validează cu nomenclatorul Nom_Mecanisme_plati

Deasemenea, valoarea campului SD.P.10 trebuie sa fie corelata cu valoarea campului SD.P.32, asa cum sint definite in nomenclator.

Exemplu: PaymentMethod = "99" poate sa corespunda doar cu PaymentMechanism = "1"
N/A 0..1 Filled in according to the codes in the nomenclature: Nom_Mecanisme_plati.

For this field is used the following codes:
- code 10 - for cash payment used at the trezorery at registers
- code 97 - for pentru Clearing between partners (offset/ netting)
For payments non-cash, use the following codes used by NAFA as payment channels:
- code 42 - Payment to bank account
- codul 48 - Bank card
- codul 20 - Cheque
- codul 68 - Online payment service

The other codes in the nomenclature
Nom_Mecanisme_plati will be used when the payment channels will be available at NAFA.
Completarea acestui câmp se face cu codul asociat conform nomenclatorul: Nom_Mecanisme_plati.

Pentru completarea câmpului se vor selecta coduri din cele de mai jos astfel:
- codul 10 - pentru plata în numerar efectuată la casieriile trezoreriei
- codul 97 - pentru Compensarea între parteneri (offset/ netting)
Pentru plățile făcute fără numerar de către contribuabili se vor utiliza următoarele coduri pentru desemnarea canalelor electronice de plată deja utilizate de ANAF:
- codul 42 - plata prin transfer bancar
- codul 48 - card bancar
- codul 20 - Cec bancar
- codul 68 - Serviciul de plată online [Internet Banking]

Celelalte coduri din nomenclatorul
Nom_Mecanisme_plati vor fi utilizate în momentul în care aceste canale de plată vor fi disponibile în cadrul ANAF.
x N/A N/A N/A x N/A
SD.P.33 PaymentDocumentTotals Tax information Totals Control totals tax payable information. Per Tax Type/ Tax Code the Tax Base and Tax Amount are summarized Control totaluri informații de plată a taxelor. Pe tip de impozit/ Cod de taxă se sintetizează baza de impozitare și suma impozitului Tax Information Structure   Optional Optional N/A N/A N/A N/A N/A 0..*     x N/A N/A N/A x N/A
SD.P.34 Net Total Total amount excluding tax in header’s default currency Suma totală fără taxă în moneda implicită a antetului SAFmonetaryType ERP Optional Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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
SD.P.35 Gross Total Total amount including tax in header’s default currency Suma totală, inclusiv taxa în moneda implicită a antetului SAFmonetaryType ERP Mandatory Mandatory Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul zecimal.  N/A N/A N/A 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
  4.4 MovementOfGoods           Mandatory - by request Mandatory           1     N/A x N/A N/A x N/A
SD.MG.1   Number of movement lines Number of movement lines in selected period Numărul de linii de mișcare din perioada selectată NonNegativeInteger Inventory file. Mandatory Optional N/A N/A N/A N/A N/A 0..1 The reporting of MovementOfGoods is done on NAFA request. This field is reported with the number of movements in stock at the time when the information is requested or with ”0” for the monthly reporting. Raportarea mișcărilor de bunuri în stoc se face la cererea ANAF. Acest câmp se completează cu numărul de mișcări în stoc, raportat la perioada când informația este solicitată și cu ”0” în cadrul celorlalte raportări periodice. N/A x N/A N/A x N/A
SD.MG.2 Total quantity received Quantity of goods received Cantitatea de stocuri primite SAFquantityType Inventory file. Mandatory Optional N/A N/A N/A N/A N/A 0..1 The reporting of MovementOfGoods is done on NAFA request. This field is reported with the number of movements in stock at the time when the information is requested or with ”0” for the monthly reporting. Raportarea mișcărilor de bunuri în stoc se face la cererea ANAF. Acest câmp se completează cu numărul de mișcări în stoc, raportat la perioada când informația este solicitată și cu ”0” în cadrul celorlalte raportări periodice. N/A x N/A N/A x N/A
SD.MG.3 Total quantity issued Quantity of goods issued in selected period Cantitatea de stocuri ieșite în perioada selectată SAFquantityType Inventory file. Mandatory Optional N/A N/A N/A N/A N/A 0..1 The reporting of MovementOfGoods is done on NAFA request. This field is reported with the number of movements in stock at the time when the information is requested or with ”0” for the monthly reporting. Raportarea mișcărilor de bunuri în stoc se face la cererea ANAF. Acest câmp se completează cu numărul de mișcări în stoc, raportat la perioada când informația este solicitată și cu ”0” în cadrul celorlalte raportări periodice. N/A x N/A N/A x N/A
SD.MG.4 Stock movement     Stock movement   Mandatory Optional N/A N/A N/A N/A N/A 0..* No information are send when the Number of movement lines is equal with 0. Nu se transmit informații atunci când câmpul Number of movement lines este egal cu 0. N/A x N/A N/A x N/A
SD.MG.5 StockMovement Movement reference Unique reference to the movement Referință unică la mișcare SAFmiddle1textType Inventory file. Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A x N/A N/A x N/A
SD.MG.6 Movement date Document date Data documentului Date Inventory file. 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
N/A x N/A N/A x N/A
SD.MG.7 Movement posting date Date of posting of the movement If different to movement date Data înregistrării mișcării dacă este diferită de data deplasării Date Inventory file. 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
N/A x N/A N/A x N/A
SD.MG.8 Movement posting time Time of posting of the movement Ora înregistrării mișcării Time Inventory file. 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 HH:MM 24H 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 : HH:MM 24H N/A x N/A N/A x N/A
SD.MG.9 Tax point date Date of supply of goods  Data livrării de bunuri  Date E.g. Invoice, dispatch note, customs declaration 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
N/A x N/A N/A x N/A
SD.MG.10 Movement type The movement expresses the type of the process for the underlying lines e.g. production, sales, purchase, Predescribed table is possible Mișcarea exprimă tipul procesului pentru liniile subiacente, de exemplu, producția, vânzările, cumpărarea, tabel predefinit este posibil SAFcodeType ERP Mandatory Mandatory Validation according to the nomenclature Nomenclator stocuri Validare conform nomenclatorului Nomenclator stocuri N/A N/A N/A 1 Filled with the codes from the nomenclature - Nomenclator stocuri Completarea acestui câmp se face cu codul asociat conform nomenclatorul: Nomenclator stocuri N/A x N/A N/A x N/A
SD.MG.11 Source ID Detail of person or application that entered the transaction Detalii despre persoana sau aplicația care a introdus/ generat tranzacția SAFmiddle1textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.12 System ID Unique number created by the system for the document Număr unic creat de sistem pentru document SAFmiddle1textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.13 Document reference     Document reference   Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.14 Line     StockMovementLine   Mandatory Mandatory N/A N/A N/A N/A N/A 1..*     N/A x N/A N/A x N/A
SD.MG.15 DocumentReference Document type Type of document Tipul documentului SAFshorttextType e.g. VAT invoice, the act of write-off of materials, etc. Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A x N/A N/A x N/A
SD.MG.16 Document number Reference number of the document Numărul de referință al documentului SAFmiddle1textType   Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A x N/A N/A x N/A
SD.MG.17 Document line Line number of the document Numărul de linie al documentului SAFshorttextType   Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.18 StockMovementLine Line number Number of the movement line Numărul liniei de mișcare SAFshorttextType ERP Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A x N/A N/A x N/A
SD.MG.19 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 ERP Mandatory Mandatory The account is an integer decimal number, not null Contul trebuie să fie un număr întreg 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
N/A x N/A N/A x N/A
SD.MG.20 TransactionID Cross reference to GL posting. It can contain many different values 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 multe valori diferite pentru a identifica tranzacția. Acesta ar putea include centre de cost, cum ar fi societatea, divizia, regiunea, grupul și sucursala /departamentul. SAFmiddle2textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.21 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
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ă
SAFmiddle1textType ERP Mandatory Mandatory The syntactic validation for the element SD.MG.21 CustomerID is done as follows:
1. If the element SD.MG.21 CustomerID is reported with value ”0” (zero), then the element SD.MG.22 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 SD.MG.21 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.MG.21 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. In any other case the value is not validated and is return a syntactic validation error. (Validation error – CustomerID incorrect value)
3. Else if SD.MG.21 CustomerID AND SD.MG.22 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 SD.MG.21 CustomerID se face astfel:
1. Dacă elementul SD.MG.21 CustomerID este egal cu ”0” (zero), atunci elementul SD.MG.22 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 SD.MG.21 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.MG.21 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. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – CustomerID incorrect value)
3. Altfel dacă SD.MG.21 CustomerID AND SD.MG.22 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation for the element SD.MG.21 CustomerID is done as follows:
1. If the element SD.MG.21 CustomerID is reported with value ”0” (zero), then the element SD.MG.22 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 SD.MG.21 CustomerID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.MG.21 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. In any other case the value is not validated and is return a semantic validation error. (Validation error – CustomerID incorrect value)
3. Else if SD.MG.21 CustomerID AND SD.MG.22 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 SD.MG.21 CustomerID se face astfel:
1. Dacă elementul SD.MG.21 CustomerID este egal cu ”0” (zero), atunci elementul SD.MG.22 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 SD.MG.21 CustomerID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.MG.21 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. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea semantică.(Validation error – CustomerID incorrect value)
3. Altfel dacă SD.MG.21 CustomerID AND SD.MG.22 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 For records of lines of stock movements - the element SD.MG.21 CustomerID is filled with the identity of the partner to which the delivery was made (conventionally considered – "customer") and with the value 0 (zero) for the element SD.MG.22 SupplierID. Pentru înregistrările liniilor de mișcări de stocuri- se completează elementul SD.MG.21 CustomerID cu identitatea partenerului către care s-a făcut livrarea (convențional considerat – „client”) și cu valoarea 0 (zero) pentru elementul SD.MG.22 SupplierID.

Pentru tranzacțiile si liniile corespunzătoare din sub-secțiunea 4.4.Movement of Goods care nu reprezintă ieșiri către clienți sau intrări de la furnizori, în câmpurile “SupplierID” si “CustomerID” se va completa codul unic al contribuabilului raportor. Aceste înregistrări sunt diferențiate prin faptul că SupplierID = CustomerID = RegistrationNumber (din structura 5.5 CompanyHeaderStructure), prefixat cu „00”, fără particula „RO” (în RegistrationNumber se completează CUI-ul contribuabilului raportor).
N/A x N/A N/A x N/A
SD.MG.22 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
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 codul furnizorului 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 codul furnizorului 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 codul furnizorului 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
SAFmiddle1textType ERP Mandatory Mandatory The syntactic validation for the element SD.MG.22 SupplierID is done as follows:
1. If the element SD.MG.22 SupplierID is reported with value ”0” (zero), then the element SD.MG.21 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 SD.MG.22 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.MG.22 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. In any other case the value is not validated and is return a syntactic validation error. (Validation error – SupplierID incorrect value)
3. Else if SD.MG.21 CustomerID AND SD.MG.22 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 SD.MG.22 SupplierID se face astfel:
1. Dacă elementul SD.MG.22 SupplierID este egal cu ”0” (zero), atunci elementul SD.MG.21 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 SD.MG.22 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.MG.22 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. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – SupplierID incorect value)
3. Altfel dacă SD.MG.21 CustomerID AND SD.MG.22 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare sintactică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
The semantic validation for the element SD.MG.22 SupplierID is done as follows:
1. If the element SD.MG.22 SupplierID is reported with value ”0” (zero), then the element SD.MG.21 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 SD.MG.22 SupplierID is different from value ”0” (zero) then the value is validated as follows:
If the first two characters from SD.MG.22 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. In any other case the value is not validated and is return a semantic validation error. (Validation error – SupplierID incorrect value)
3. Else if SD.MG.21 CustomerID AND SD.MG.22 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 SD.MG.22 SupplierID se face astfel:
1. Dacă elementul SD.MG.22 SupplierID este egal cu ”0” (zero), atunci elementul SD.MG.21 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 SD.MG.22 SupplierID este diferit de ”0” (zero) atunci valoarea se validează astfel:
Dacă primele două caractere din SD.MG.22 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. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea semantică.(Validation error – SupplierID incorect value)
3. Altfel dacă SD.MG.21 CustomerID AND SD.MG.22 SupplierID sunt concomitent egale cu ”0” (zero) se semnalează eroare semantică. ( CustomerID și SupplierID nu pot fi ambele simultan ”0” (zero))
N/A 1 For records of lines of stock movements - the element SD.MG.22 SupplierID is filled with the identity of the partner from which the purchase was made (conventionally considered – "supplier") and with the value 0 (zero) for the element SD.MG.21 CustomerID. Pentru înregistrările liniilor de mișcări de stocuri – se completează elementul SD.MG.22 SupplierID cu identitatea partenerului de la care s-a făcut achiziția (convențional considerat – „furnizor”) și cu valoarea 0 (zero) pentru elementul SD.MG.21 CustomerID.

Pentru tranzacțiile si liniile corespunzătoare din sub-secțiunea 4.4.Movement of Goods care nu reprezintă ieșiri către clienți sau intrări de la furnizori, în câmpurile “SupplierID” si “CustomerID” se va completa codul unic al contribuabilului raportor. Aceste înregistrări sunt diferențiate prin faptul că SupplierID = CustomerID = RegistrationNumber (din structura 5.5 CompanyHeaderStructure), prefixat cu „00”, fără particula „RO” (în RegistrationNumber se completează CUI-ul contribuabilului raportor).
N/A x N/A N/A x N/A
SD.MG.23 Ship to Ship to details Detalii referitoare la expediere către ShippingpointStructure   Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.24 Ship from Ship from details Detalii referitoare la expediere de la ShippingPointStructure   Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.25 Product code Product code Codul produsului SAFmiddle2textType ERP Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A x N/A N/A x N/A
SD.MG.26 Stock account no Stock batch, lot, serial identification. Not used when there is exactly 1 physical stock entry per Product Code Lot de stocuri, lot, identificare în serie. Nu se utilizează atunci când există exact 1 intrare fizică de stoc pe cod produs SAFmiddle2textType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.27 Quantity Quantity of goods
Not needed when UOM = UOMPhysicalStock
Cantitatea de mărfuri
Nu este necesar atunci când UOM = UOMPhysicalStock
SAFquantityType ERP Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A x N/A N/A x N/A
SD.MG.28 UnitOfMeasure Quantity unit of measure e.g. pack o 12 Unitatea de măsură cantitativă, de exemplu, pachet de 12 SAFcodeType ERP Mandatory Mandatory Validation according to the nomenclature Unitati_masura Validare conform nomenclatorului Unitati_masura Validation according to the nomenclature Unitati_masura Validare conform nomenclatorului Unitati_masura N/A 1 Filled in according to the codes in the nomenclature Unitati_masura Se completează conform codurilor din nomenclatorul de unități de măsură - Unitati_masura N/A x N/A N/A x N/A
SD.MG.29 UOMToUOMPhysicalStockConversion Conversion factor of the UOM to UOM physical stock Factorul de conversie al unității de măsură cantitativă (UOM) în unitatea de măsură (UOM) a stocului fizic (Sistemul Internațional de Măsuri) Decimal ERP Mandatory Mandatory Not needed when UOM = UOMPhysicalStock Nu este necesar atunci când UOM = UOMPhysicalStock N/A N/A N/A 1     N/A x N/A N/A x N/A
SD.MG.30 Book value Value of the transaction line as registered in the general ledger in the header’s default currency Valoarea liniei de tranzacție așa cum este înregistrată în contabilitate în valuta implicită a antetului SAFmonetaryType ERP Optional Optional Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul 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.
N/A x N/A N/A x N/A
SD.MG.31 Movement subtype Identify the type of the movement on line/article level.  A movement (type) production contains f.i.  use of components, getting finished product, efficiency loss as movement subtypes. Predescribed table is possible. Identificați tipul mișcării la nivel de linie/articol.  O mișcare de (tip) producție conține f.i.  utilizarea componentelor, obținerea produsului finit, pierderi tehnologice ca subtipuri de mișcare. Tabel predefinit este posibil. SAFcodeType ERP Mandatory Mandatory Validation according to the nomenclature Nomenclator stocuri Validare conform nomenclatorului Nomenclator stocuri N/A N/A N/A 1 Filled with the codes from the nomenclature - Nomenclator stocuri Completarea acestui câmp se face cu codul asociat conform nomenclatorul: Nomenclator stocuri N/A x N/A N/A x N/A
SD.MG.32 Movement comments A reason for the movement Un motiv pentru mișcare SAFlongtextType ERP Optional Optional N/A N/A N/A N/A N/A 0..1     N/A x N/A N/A x N/A
SD.MG.33 Tax information     TaxinformationStructure   Optional Optional N/A N/A N/A N/A N/A 0..*     N/A x N/A N/A x N/A
  4.5 AssetTransactions           Mandatory - once per year Optional           0..1 AssetTransactions is Optional because it is reported only for the declaration D406 Assets. With D406 Assets being reported once a year, the other types of declarations, i.e., D406 Monthly, D406 Quarterly and D406 Stocks have no need to contain any information, even if only the section header, connected to assets. AssetTransactions este Opțional deoarece se rapoartează doar în cazul declarațiilor D406 anuale pentru active. În acest caz, fiind raportat o singura data pe an, celelalte tipuri de tranzacții (Lunare, Trimestriale, pentru Stocuri) nu trebuie să conțină informații, ci doar header-ul sub-secțiunii. N/A N/A x N/A x N/A
SD.AT.1   Number of asset transactions Number of movement lines during selected period Numărul de linii de mișcare în perioada selectată nonNegativeInteger FAR Mandatory Mandatory N/A N/A N/A N/A N/A 1 The reporting of AssetTransactions is done once a year. This field is reported with the number of assets transaction per year for the respective year, or with ”0” for the monthly reporting. Raportarea tranzacțiilor pe active se face o dată pe an. Acest câmp se completează cu numărul de tranzacții pe active, raportat la nivelul unui an pentru anul de raportat și cu ”0” în cadrul celorlalte raportări periodice. N/A N/A x N/A x N/A
SD.AT.2 AssetTransaction     Asset transaction   Mandatory Optional N/A N/A N/A N/A N/A 0..* AssetTransaction is Optional when you do not have any assets to report, in which case will be declared NumberOfAssetTransactions = 0 and no AssetTransaction structure. AssetTransaction este Opțional de raportat în cazul în care NU există tranzacții pe active de raportat, caz în care se va declara NumberofAssetTransaction cu valoarea 0 și nu se va raporta structura de AssetTransaction N/A N/A x N/A x N/A
SD.AT.3 AssetTransaction AssetTransactionID Unique identification of the transaction Identificarea unică a tranzacției SAFmiddle2textType Asset file. Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A N/A x N/A x N/A
SD.AT.4 AssetID Unique identifier of the asset Identificator unic al activului SAFmiddle1textType Asset file. Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A N/A x N/A x N/A
SD.AT.5 AssetTransactionType Code for the type of the transaction Codul pentru tipul tranzacției SAFcodeType Asset file. Mandatory Mandatory Validation according to the nomenclature Nomenclator imobilizari Validare conform nomenclatorului Nomenclator imobilizari N/A N/A N/A 1 Filled with the codes from the nomenclature - Nomenclator imobilizari Completarea acestui câmp se face cu codul asociat conform nomenclatorului: Nomenclator imobilizari N/A N/A x N/A x N/A
SD.AT.6 Description Description of the type of the transaction Descrierea tipului tranzacției SAFlongtextType Asset file. Optional Optional N/A N/A N/A N/A N/A 0..1     N/A N/A x N/A x N/A
SD.AT.7 AssetTransactionDate Recording date of the transaction type Data înregistrării tipului de tranzacție Date Asset file. 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
N/A N/A x N/A x N/A
SD.AT.8 Supplier Information about the supplier of the asset Informații despre furnizorul activului Supplier   Optional Optional N/A N/A N/A N/A N/A 0..1     N/A N/A x N/A x N/A
SD.AT.9 TransactionID Cross reference to GL posting n the journal. 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 în registrul jurnal. 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 GL/ERP Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A N/A x N/A x N/A
SD.AT.10 AssetTransactionValuations These amounts of the transaction can differ per asset valuation type Aceste valori ale tranzacției pot diferi în funcție de tipul de evaluare a activelor Asset transaction valuations Asset file. Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A N/A x N/A x N/A
SD.AT.11 Supplier Supplier Name Name of the supplier of the address Numele furnizorului adresei SAFmiddle2textType Invoice Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A N/A x N/A x N/A
SD.AT.12 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
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 intreg 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 codul furnizorului 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 codul furnizorului 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 codul furnizorului 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
SAFmiddle1textType ERP Mandatory Mandatory The syntactic validation for the element SD.AT.12 SupplierID is done as follows:
1. If the element SD.AT.12 SupplierID is different from ”0” (zero), then the value is validated as follows:
If the first two characters from SD.AT.12 SupplierID are:
1.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
1.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
1.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
1.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)
1.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
1.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
1.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
1.8. In any other case the value is not validated and is return a syntactic validation error. (Validation error – SupplierID incorrect value)
2. Else if SD.AT.12 SupplierID is equal to ”0” (zero), then is return a syntactic validation error. (SupplierID can not be equal to ”0” (zero))
Validarea sintactică a valorii elementului SD.AT.12 SupplierID se face astfel:
1. Dacă elementul SD.AT.12 SupplierID este diferit de ”0” (zero), atunci valoarea se validează astfel:
Dacă primele două caractere din SD.AT.12 SupplierID sunt:
1.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ă
1.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
1.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
1.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.
1.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc)
1.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
1.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.
1.8. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea sintactică.(Validation error – SupplierID incorrect value)

2. Altfel dacă SD.AT.12 SupplierID este egal cu ”0” (zero) se semnalează eroare sintactică. ( SupplierID nu poate fi ”0” (zero))
The semantic validation for the element SD.AT.12 SupplierID is done as follows:
1. If the element SD.AT.12 SupplierID is different from ”0” (zero), then the value is validated as follows:
If the first two characters from SD.AT.12 SupplierID are:
1.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
1.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
1.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
1.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)
1.5. ”04” then the string is verified not to contain special characters (for example: ”.”, ”,”,”!”, ”-”, ”?” etc.)
1.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
1.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
1.8. In any other case the value is not validated and is return a semantic validation error. (Validation error – SupplierID incorrect value)
2. Else if SD.AT.12 SupplierID is equal to ”0” (zero), then is return a semantic validation error. (SupplierID can not be equal to ”0” (zero))
Validarea semantică a valorii elementului SD.AT.12 SupplierID se face astfel:
1. Dacă elementul SD.AT.12 SupplierID este diferit de ”0” (zero), atunci valoarea se validează astfel:
Dacă primele două caractere din SD.AT.12 SupplierID sunt:
1.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ă
1.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
1.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
1.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.
1.5. ”04” atunci se verifică ca valoarea să nu conțină caractere speciale (de exemplu: ”.”, ”,”,”!”, ”-”, ”?” etc)
1.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
1.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.
1.8. În orice alt caz nu se validează valoarea, semnalându-se eroare la validarea semantică.(Validation error – SupplierID incorrect value)

2. Altfel dacă SD.AT.12 SupplierID este egal cu ”0” (zero) se semnalează eroare semantică. ( SupplierID nu poate fi ”0” (zero))
N/A 1     N/A N/A x N/A x N/A
SD.AT.13 Postal address Address information of the supplier of the asset Informații cu privire la adresa furnizorului activului AddressStructure   Mandatory Mandatory N/A N/A N/A N/A N/A 1     N/A N/A x N/A x N/A
SD.AT.14 AssetTransactionValuations AssetTransactionValuation     Asset transaction valuation   Mandatory Mandatory N/A N/A N/A N/A N/A 1..*   Mandatory este necesar pentru a se putea face legătura între 2 structuri N/A N/A x N/A x N/A
SD.AT.15 AssetTransactionValuation AssetValuationType Describes the purpose for the reporting f.i. commercial, tax in country 1, tax in country 2 etc Descrie scopul raportării f.i. comerciale, fiscale în țara 1, fiscale în țara 2 etc. SAFshorttextType Accounting policies. Optional Optional N/A N/A N/A N/A N/A 0..1     N/A N/A x N/A x N/A
SD.AT.16 AcquisitionAndProductionCostOnTransaction Costs of acquisition and/or production of related asset transaction on the header’s default currency at date of transaction Costul de achiziție și/sau de producție a tranzacției cu activele aferente în moneda implicită a antetului la data tranzacției SAFmonetaryType Asset file. Mandatory Mandatory Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul zecimal.  N/A N/A N/A 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.
N/A N/A x N/A x N/A
SD.AT.17 BookValueOnTransaction Bookvalue of related asset transaction in the header’s default currency at date of transaction Valoarea contabilă a tranzacției cu activele respective în moneda implicită a antetului la data tranzacției SAFmonetaryType Asset file. Mandatory Mandatory Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul zecimal.  N/A N/A N/A 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.
N/A N/A x N/A x N/A
SD.AT.18 AssetTransactionAmount Net amount of related asset transaction in the header’s default currency, for instance the net sale revenue Valoarea netă a tranzacției cu activele respective în moneda implicită a antetului, de exemplu venitul net din vânzare SAFmonetaryType Asset file. Mandatory Mandatory Decimal number, decimal point delimited, maxim 2 (two) digits after decimal point delimitator
Validation decimal number
Număr zecimal, delimitat prin punct  zecimal, maxim 2 (două) cifre după punctul zecimal.  N/A N/A N/A 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.
N/A N/A x N/A x N/A
 

[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)