ANAF returns · Article 17
D394: ANAF versions
Applies to Odoo 19 · 20
ANAF periodically changes the structure of D394 (Declarația informativă, the domestic supplies and purchases statement). This page lists the versions applied by the NextERP declarations server, the period from which each one applies, what changes in the file and what to check in Odoo. The right version is selected automatically from the period of the return; do not choose it manually.
Versions
| Version | Applies from | Details |
|---|---|---|
| v5 | 1 August 2025 | what changes |
| 2025-02-12 | 12 February 2025 | what changes |
| v4 | 10 May 2022 | what changes |
| v3 | 2 September 2020 | what changes |
| 2017-01-31 | 31 January 2017 | what changes |
| 2016-08-02 | 2 August 2016 | what changes |
| 2016-04-06 | 6 April 2016 | what changes |
| v2 | 1 December 2013 | what changes |
| 2013-10-24 | 24 October 2013 | what changes |
Version v5, from August 2025
| Applies to | returns for periods starting with August 2025 (1 August 2025) |
| Replaces | 2025-02-12 |
What changes
Compared with the previous version, the D394 file has: 22 new fields, 5 fields with changed rules.
- 22 new fields, in 3 sections; 6 are required, without them the file fails the ANAF validation.
- New allowed values (4 fields): 21, 11.
- 1 fields have other length, format or value limits.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d394:declaratie:v5.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| facturi | baza11 |
no | integer; -999999999999999–999999999999999 |
| facturi | baza21 |
no | integer; -999999999999999–999999999999999 |
| facturi | tva11 |
no | integer; -999999999999999–999999999999999 |
| facturi | tva21 |
no | integer; -999999999999999–999999999999999 |
| informatii | BUN11 |
no | integer; 0–1 |
| informatii | BUN21 |
no | integer; 0–1 |
| informatii | Prest11 |
no | integer; 0–1 |
| informatii | Prest21 |
no | integer; 0–1 |
| informatii | achizitiiB11 |
no | integer; 0–1 |
| informatii | achizitiiB21 |
no | integer; 0–1 |
| informatii | achizitiiS11 |
no | integer; 0–1 |
| informatii | achizitiiS21 |
no | integer; 0–1 |
| informatii | tvaCol11 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaCol21 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDed11 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDed21 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDedAI11 |
yes | integer; -999999999999999–999999999999999 |
| informatii | tvaDedAI21 |
yes | integer; -999999999999999–999999999999999 |
| op2 | TVA11 |
yes | integer; 0–999999999999999 |
| op2 | TVA21 |
yes | integer; 0–999999999999999 |
| op2 | baza11 |
yes | integer; 0–999999999999999 |
| op2 | baza21 |
yes | integer; 0–999999999999999 |
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| declaratie394 | caen |
maximum length: 4 → 15; removed values: 0111, 0112, 0113, 0114, 0115, 0116, 0119, 0121, 0122, 0123 (+605) |
| lista | cota |
new values: 21, 11 |
| op1 | cota |
new values: 21, 11 |
| rezumat1 | cota |
new values: 21, 11 |
| rezumat2 | cota |
new values: 21, 11 |
What it means for the user
Version v5 brings the 21% and 11% VAT rates introduced from 1 August 2025. The previous version does not accept these rates, so D394 for periods starting with August 2025 is filed only on v5. Returns for earlier periods stay on v4.
What to configure in Odoo
The configuration rules of the previous version still apply. From August 2025, D394 requires the new 21% and 11% rates in the list of operations, in the summaries and in the information section (the bases, output and input VAT, including input VAT under the VAT on payment scheme). What to check:
- The 21% and 11% taxes are of the VAT type (RO Tax Type = VAT) and have the correct rate: the rate in D394 is taken from the tax.
- Invoices at the old rates (19%, 9%, 5%) issued after August 2025 still use the old taxes; do not recode them to the new rates.
- The CAEN code (the Romanian activity classification code) in the header can now have up to 15 characters, and the list of accepted codes has changed: check the company's CAEN code.
The requirements guide is rewritten into three requirements: Partners and operation type, Invoice series and Check before filing. Companies that confirmed the old ones confirm them again.
Version 2025-02-12, from February 2025
| Applies to | returns for periods starting with February 2025 (12 February 2025) |
| Replaces | v4 |
What changes
ANAF did not publish a new XSD schema for this version: the validator, the instructions or the PDF form changed. The structure of the XML file stays that of the previous version.
Version v4, from May 2022
| Applies to | returns for periods starting with May 2022 (10 May 2022) |
| Replaces | v3 |
What changes
Compared with the previous version, the D394 file has: 1 fields with changed rules.
- New allowed values (1 fields): 36.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d394:declaratie:v4.
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| rezumat1/detaliu | bun |
new values: 36 |
What to configure in Odoo
The configuration rules of the previous version still apply. The new code 36 appears in the summary by goods. If the company carries out reverse-charge operations for the goods under this code, add the code to those products (Declaration Codes, the D394 code). The code list is updated on Propose from Fiscal Profile or when the version is synchronised.
Version v3, from September 2020
| Applies to | returns for periods starting with September 2020 (2 September 2020) |
| Replaces | 2017-01-31 |
What changes
Compared with the previous version, the D394 file has: 1 new fields.
- 1 new fields, in the same section; 1 are required, without them the file fails the ANAF validation.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d394:declaratie:v3.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| declaratie394 | prsAfiliat |
yes | integer; 0–1 |
Version 2017-01-31, from January 2017
| Applies to | returns for periods starting with January 2017 (31 January 2017) |
| Replaces | 2016-08-02 |
What changes
Compared with the previous version, the D394 file has: 5 fields with changed rules.
- 5 fields have other length, format or value limits.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d394:declaratie:v3.
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| facturi | serie |
maximum length: 10 → 20 |
| informatii | pret_cumparare |
minimum: 0 → -999999999999999 |
| informatii | pret_vanzare |
minimum: 0 → -999999999999999 |
| op2 | nrAMEF |
maximum: 999999999999999 → 9999 |
| serieFacturi | serieI |
maximum length: 10 → 20 |
Version 2016-08-02, from August 2016
| Applies to | returns for periods starting with August 2016 (2 August 2016) |
| Replaces | 2016-04-06 |
What changes
Compared with the previous version, the D394 file has: 203 new fields, 33 removed fields, 6 fields with changed rules, 8 new sections, 3 removed sections.
- 203 new fields, in 11 sections; 81 are required, without them the file fails the ANAF validation.
- 33 removed fields, in 4 sections.
- New allowed values (2 fields): LS, AS, AI, N, 22, 23, 24, 25 (+10).
- 2 fields have other length, format or value limits.
- Sections: 8 new, 3 removed.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d394:declaratie:v3.
New sections: facturi, informatii, lista, op2, rezumat1, rezumat1/detaliu, rezumat2, serieFacturi.
Removed sections: idReprezentant, identificare, rezumat.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| declaratie394 | adresa |
yes | string; max. 1000 characters |
| declaratie394 | adresaR |
yes | string; max. 1000 characters |
| declaratie394 | caen |
yes | string; max. 4 characters; values: 0111, 0112, 0113, 0114, 0115, 0116, 0119, 0121 (+607) |
| declaratie394 | calitate_intocmit |
no | string; max. 75 characters |
| declaratie394 | cifR |
no | token |
| declaratie394 | cif_intocmit |
yes | integer; 0–9999999999999 |
| declaratie394 | cui |
yes | token |
| declaratie394 | den |
yes | string; max. 200 characters |
| declaratie394 | denR |
yes | string; max. 200 characters |
| declaratie394 | den_intocmit |
yes | string; max. 75 characters |
| declaratie394 | fax |
no | string; max. 15 characters |
| declaratie394 | faxR |
no | string; max. 15 characters |
| declaratie394 | functie_intocmit |
no | string; max. 75 characters |
| declaratie394 | functie_reprez |
yes | string; max. 100 characters |
| declaratie394 | mail |
no | string; max. 200 characters |
| declaratie394 | mailR |
no | string; max. 200 characters |
| declaratie394 | op_efectuate |
yes | integer; 0–1 |
| declaratie394 | optiune |
yes | integer; 0–1 |
| declaratie394 | schimb_optiune |
no | integer; 1–1 |
| declaratie394 | sistemTVA |
yes | integer; 0–1 |
| declaratie394 | telefon |
yes | string; max. 15 characters |
| declaratie394 | telefonR |
no | string; max. 15 characters |
| declaratie394 | tip_intocmit |
yes | integer; 0–1 |
| declaratie394 | totalPlata_A |
yes | integer; -999999999999999–999999999999999 |
| facturi | baza19 |
no | integer; -999999999999999–999999999999999 |
| facturi | baza20 |
no | integer; -999999999999999–999999999999999 |
| facturi | baza24 |
no | integer; -999999999999999–999999999999999 |
| facturi | baza5 |
no | integer; -999999999999999–999999999999999 |
| facturi | baza9 |
no | integer; -999999999999999–999999999999999 |
| facturi | nr |
yes | string; max. 20 characters |
| facturi | serie |
no | string; max. 10 characters |
| facturi | tip_factura |
yes | integer; 1–4 |
| facturi | tva19 |
no | integer; -999999999999999–999999999999999 |
| facturi | tva20 |
no | integer; -999999999999999–999999999999999 |
| facturi | tva24 |
no | integer; -999999999999999–999999999999999 |
| facturi | tva5 |
no | integer; -999999999999999–999999999999999 |
| facturi | tva9 |
no | integer; -999999999999999–999999999999999 |
| informatii | BUN19 |
no | integer; 0–1 |
| informatii | BUN20 |
no | integer; 0–1 |
| informatii | BUN24 |
no | integer; 0–1 |
| informatii | BUN5 |
no | integer; 0–1 |
| informatii | BUN9 |
no | integer; 0–1 |
| informatii | BunTI |
no | integer; 0–1 |
| informatii | Export |
no | integer; 0–1 |
| informatii | LIntra |
no | integer; 0–1 |
| informatii | Prest19 |
no | integer; 0–1 |
| informatii | Prest20 |
no | integer; 0–1 |
| informatii | Prest24 |
no | integer; 0–1 |
| informatii | Prest5 |
no | integer; 0–1 |
| informatii | Prest9 |
no | integer; 0–1 |
| informatii | PrestIntra |
no | integer; 0–1 |
| informatii | PrestScutit |
no | integer; 0–1 |
| informatii | acINecorp |
no | integer; 0–1 |
| informatii | achizitiiA |
no | integer; 0–1 |
| informatii | achizitiiB19 |
no | integer; 0–1 |
| informatii | achizitiiB20 |
no | integer; 0–1 |
| informatii | achizitiiB24 |
no | integer; 0–1 |
| informatii | achizitiiB5 |
no | integer; 0–1 |
| informatii | achizitiiB9 |
no | integer; 0–1 |
| informatii | achizitiiCB |
no | integer; 0–1 |
| informatii | achizitiiCI |
no | integer; 0–1 |
| informatii | achizitiiCR |
no | integer; 0–1 |
| informatii | achizitiiPE |
no | integer; 0–1 |
| informatii | achizitiiS19 |
no | integer; 0–1 |
| informatii | achizitiiS20 |
no | integer; 0–1 |
| informatii | achizitiiS24 |
no | integer; 0–1 |
| informatii | achizitiiS5 |
no | integer; 0–1 |
| informatii | achizitiiS9 |
no | integer; 0–1 |
| informatii | costuri_ag |
no | integer; -999999999999999–999999999999999 |
| informatii | efectuat |
no | integer; 0–1 |
| informatii | importB |
no | integer; 0–1 |
| informatii | incasari_ag |
no | integer; -999999999999999–999999999999999 |
| informatii | incasari_i1 |
yes | integer; -999999999999999–999999999999999 |
| informatii | incasari_i2 |
yes | integer; -999999999999999–999999999999999 |
| informatii | livINecorp |
no | integer; 0–1 |
| informatii | livrariBI |
no | integer; 0–1 |
| informatii | marja_ag |
no | integer; -999999999999999–999999999999999 |
| informatii | marja_antic |
no | integer; -999999999999999–999999999999999 |
| informatii | nrCui1 |
yes | integer; 0–999999999999999 |
| informatii | nrCui2 |
yes | integer; 0–999999999999999 |
| informatii | nrCui3 |
yes | integer; 0–999999999999999 |
| informatii | nrCui4 |
yes | integer; 0–999999999999999 |
| informatii | nrFacturi |
yes | integer; 0–999999999999999 |
| informatii | nrFacturiLS_PF |
yes | integer; 0–999999999999999 |
| informatii | nrFacturiL_PF |
yes | integer; 0–999999999999999 |
| informatii | nrFacturi_benef |
yes | integer; 0–999999999999999 |
| informatii | nrFacturi_terti |
yes | integer; 0–999999999999999 |
| informatii | nr_BF_i1 |
yes | integer; 0–999999999999999 |
| informatii | pret_cumparare |
no | integer; 0–999999999999999 |
| informatii | pret_vanzare |
no | integer; 0–999999999999999 |
| informatii | solicit |
yes | integer; 0–1 |
| informatii | tvaCol19 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaCol20 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaCol24 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaCol5 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaCol9 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDed19 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDed20 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDed24 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDed5 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDed9 |
no | integer; -999999999999999–999999999999999 |
| informatii | tvaDedAI19 |
yes | integer; -999999999999999–999999999999999 |
| informatii | tvaDedAI20 |
yes | integer; -999999999999999–999999999999999 |
| informatii | tvaDedAI24 |
yes | integer; -999999999999999–999999999999999 |
| informatii | tvaDedAI5 |
yes | integer; -999999999999999–999999999999999 |
| informatii | tvaDedAI9 |
yes | integer; -999999999999999–999999999999999 |
| informatii | tva_ag |
no | integer; -999999999999999–999999999999999 |
| informatii | tva_antic |
no | integer; -999999999999999–999999999999999 |
| informatii | val_LS_PF |
yes | integer; -999999999999999–999999999999999 |
| informatii | valoareScutit |
no | integer; 0–1 |
| lista | caen |
yes | integer; values: 1071, 4520, 4730, 47761, 47762, 4932, 55101, 55102 (+6) |
| lista | cota |
yes | integer; values: 5, 9, 19, 20, 24 |
| lista | operat |
yes | integer; 1–2 |
| lista | tva |
yes | integer; -999999999999999–999999999999999 |
| lista | valoare |
yes | integer; -999999999999999–999999999999999 |
| op1 | apP |
no | string; max. 50 characters |
| op1 | blP |
no | string; max. 50 characters |
| op1 | cota |
yes | integer; values: 0, 5, 9, 19, 20, 24 |
| op1 | detP |
no | string; max. 100 characters |
| op1 | judP |
no | string; max. 256 characters; values: 01, 02, 03, 04, 05, 06, 07, 08 (+34) |
| op1 | locP |
no | string; max. 75 characters |
| op1 | nrP |
no | string; max. 50 characters |
| op1 | strP |
no | string; max. 75 characters |
| op1 | taraP |
no | string; max. 256 characters; values: AF, AX, AL, DZ, AS, AD, AO, AI (+241) |
| op1 | tip_document |
no | integer; 1–5 |
| op1 | tip_partener |
yes | integer; values: 1, 2, 3, 4 |
| op1/op11 | nrFactPR |
yes | integer; 0–999999999999999 |
| op2 | TVA19 |
yes | integer; 0–999999999999999 |
| op2 | TVA20 |
yes | integer; 0–999999999999999 |
| op2 | TVA5 |
yes | integer; 0–999999999999999 |
| op2 | TVA9 |
yes | integer; 0–999999999999999 |
| op2 | baza19 |
yes | integer; 0–999999999999999 |
| op2 | baza20 |
yes | integer; 0–999999999999999 |
| op2 | baza5 |
yes | integer; 0–999999999999999 |
| op2 | baza9 |
yes | integer; 0–999999999999999 |
| op2 | luna |
yes | integer; 1–12 |
| op2 | nrAMEF |
no | integer; 0–999999999999999 |
| op2 | nrBF |
no | integer; 0–999999999999999 |
| op2 | tip_op2 |
yes | string; max. 256 characters; values: I1, I2 |
| op2 | total |
yes | integer; 0–999999999999999 |
| rezumat1 | bazaA |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | bazaAI |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | bazaAS |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | bazaC |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | bazaL |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | bazaLS |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | bazaN |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | bazaV |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | cota |
yes | integer; values: 0, 5, 9, 19, 20, 24 |
| rezumat1 | document_N |
no | integer; 1–5 |
| rezumat1 | facturiA |
no | integer; 0–999999999999999 |
| rezumat1 | facturiAI |
no | integer; 0–999999999999999 |
| rezumat1 | facturiAS |
no | integer; 0–999999999999999 |
| rezumat1 | facturiC |
no | integer; 0–999999999999999 |
| rezumat1 | facturiL |
no | integer; 0–999999999999999 |
| rezumat1 | facturiLS |
no | integer; 0–999999999999999 |
| rezumat1 | facturiN |
no | integer; 0–999999999999999 |
| rezumat1 | facturiV |
no | integer; 0–999999999999999 |
| rezumat1 | tip_partener |
yes | integer; values: 1, 2, 3, 4 |
| rezumat1 | tvaA |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | tvaAI |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | tvaC |
no | integer; -999999999999999–999999999999999 |
| rezumat1 | tvaL |
no | integer; -999999999999999–999999999999999 |
| rezumat1/detaliu | bazaAchizC |
no | integer; -999999999999999–999999999999999 |
| rezumat1/detaliu | bazaLivV |
no | integer; -999999999999999–999999999999999 |
| rezumat1/detaliu | bun |
yes | integer; values: 21, 22, 23, 24, 25, 26, 27, 28 (+7) |
| rezumat1/detaliu | nrAchizC |
no | integer; 0–999999999999999 |
| rezumat1/detaliu | nrLivV |
no | integer; 0–999999999999999 |
| rezumat1/detaliu | nrN |
no | integer; 0–999999999999999 |
| rezumat1/detaliu | tvaAchizC |
no | integer; -999999999999999–999999999999999 |
| rezumat1/detaliu | valN |
no | integer; -999999999999999–999999999999999 |
| rezumat2 | TVABFAI |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | TVAFSA |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | TVAFSAI |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | TVAFSL |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | TVAFSLcod |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaA |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaAI |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaBFAI |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaFSA |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaFSAI |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaFSL |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaFSLcod |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaL |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | bazaL_PF |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | baza_incasari_i1 |
no | integer; -999999999999999–999999999999999 |
| rezumat2 | baza_incasari_i2 |
no | integer; -999999999999999–999999999999999 |
| rezumat2 | cota |
no | integer; values: 5, 9, 19, 20, 24 |
| rezumat2 | nrFacturiA |
yes | integer; 0–999999999999999 |
| rezumat2 | nrFacturiAI |
yes | integer; 0–999999999999999 |
| rezumat2 | nrFacturiL |
yes | integer; 0–999999999999999 |
| rezumat2 | tvaA |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | tvaAI |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | tvaL |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | tvaL_PF |
yes | integer; -999999999999999–999999999999999 |
| rezumat2 | tva_incasari_i1 |
no | integer; -999999999999999–999999999999999 |
| rezumat2 | tva_incasari_i2 |
no | integer; -999999999999999–999999999999999 |
| serieFacturi | cui |
no | token |
| serieFacturi | den |
no | string; max. 100 characters |
| serieFacturi | nrF |
no | string; max. 20 characters |
| serieFacturi | nrI |
yes | string; max. 20 characters |
| serieFacturi | serieI |
no | string; max. 10 characters |
| serieFacturi | tip |
yes | integer; 1–4 |
Removed fields
| Section | Field |
|---|---|
| declaratie394 | functie_declar |
| declaratie394 | nume_declar |
| declaratie394 | prenume_declar |
| idReprezentant | adresaR |
| idReprezentant | cifR |
| idReprezentant | denR |
| idReprezentant | faxR |
| idReprezentant | mailR |
| idReprezentant | telefonR |
| identificare | adresa |
| identificare | cui |
| identificare | den |
| identificare | fax |
| identificare | mail |
| identificare | telefon |
| identificare | totalPlata_A |
| rezumat | bazaA |
| rezumat | bazaC |
| rezumat | bazaCc |
| rezumat | bazaL |
| rezumat | bazaV |
| rezumat | bazaVc |
| rezumat | nrCui |
| rezumat | nrFactA |
| rezumat | nrFactC |
| rezumat | nrFactL |
| rezumat | nrFactV |
| rezumat | tvaA |
| rezumat | tvaC |
| rezumat | tvaCc |
| rezumat | tvaL |
| rezumat | tvaV |
| rezumat | tvaVc |
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| declaratie394 | an |
minimum: 2011 → 2016 |
| op1 | cuiP |
becomes optional; type token → string; maximum length: — → 50; format: [1-9]\d{1,9} → — |
| op1 | tip |
new values: LS, AS, AI, N |
| op1 | tva |
becomes optional |
| op1/op11 | codPR |
new values: 22, 23, 24, 25, 26, 27, 28, 29, 30, 31 (+4) |
| op1/op11 | tvaPR |
becomes optional |
Sections with a changed number of occurrences
| Section | What changes |
|---|---|
| op1 | minOccurs: 1 → 0 |
| op1/op11 | maxOccurs: 63 → unbounded |
Version 2016-04-06, from April 2016
| Applies to | returns for periods starting with April 2016 (6 April 2016) |
| Replaces | v2 |
What changes
ANAF did not publish a new XSD schema for this version: the validator, the instructions or the PDF form changed. The structure of the XML file stays that of the previous version.
Version v2, from December 2013
| Applies to | returns for periods starting with December 2013 (1 December 2013) |
| Replaces | 2013-10-24 |
What changes
Compared with the previous version, the D394 file has: 5 new fields, 1 fields with changed rules.
- 5 new fields, in 2 sections; 5 are required, without them the file fails the ANAF validation.
- New allowed values (1 fields): 1001, 1004, 10086000, 120400.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d394:declaratie:v2.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| op1 | nrFact |
yes | integer; 0–999999999999999 |
| rezumat | nrFactA |
yes | integer; 0–999999999999999 |
| rezumat | nrFactC |
yes | integer; 0–999999999999999 |
| rezumat | nrFactL |
yes | integer; 0–999999999999999 |
| rezumat | nrFactV |
yes | integer; 0–999999999999999 |
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| op1/op11 | codPR |
new values: 1001, 1004, 10086000, 120400; removed values: 10011100, 10011900, 10019110, 10019120, 10019900 |
Version 2013-10-24, from October 2013
| Applies to | returns for periods starting with October 2013 (24 October 2013) |
What changes
The first version of the return in the NextERP catalogue; there is no earlier version to compare it with.
What to configure in Odoo
For this version, the oldest in the catalogue, below are all the configuration rules D394 needs. The later versions describe only what changes.
The obligation
The obligation. D394 is proposed from the fiscal profile when the company is VAT-registered, with the VAT periodicity from the profile and the deadline the 30th of the following month. The default start date is the beginning of the year. Confirm the obligation in Declarations and Registers. The steps are in Obligations and filing schedule.
Taxes and operation type
D394 is built from the lines of the period's posted invoices (sales, purchases and receipts), grouped by partner, operation type and rate. A line is included if it has a tax or a VAT report tag, whatever the account. Tax lines and the 401/411 counterpart lines are not included. The operation type is derived from the taxes and the fiscal position:
| Type | When |
|---|---|
| L supplies | sale with VAT |
| V reverse-charge supplies | the tax has "Invers" / "Reverse" in its name or description, or the invoice has the Regim Taxare Inversa ("Reverse Tax Regime") fiscal position |
| LS / AS | the invoice has the Ro Special Regime checkbox (special scheme) |
| A purchases | purchase with VAT |
| AI purchases under VAT on payment | the tax is due on payment or the Regim TVA la Incasare ("VAT collection system") position applies, with a supplier registered for VAT on payment (TVA la încasare) |
| C reverse-charge purchases | reverse-charge tax, the Regim Taxare Inversa position or a non-EU supplier with tag 22 |
| N purchases from non-VAT-registered suppliers | supplier not registered for VAT, with the document type filled in on the invoice (Document type) |
Not included in D394: exempt operations without the right of deduction (a single 0% VAT tax without reverse charge), sales with tag 15 on the base or 14 on the VAT, intra-community acquisitions (tags 1, 3_1, 5, 6, 7_1, 20, 21, 22_1: they go into D390), supplies to EU companies registered in VIES with delivery outside Romania, and taxes of another state (OSS, D318). Fiscal receipts without the buyer's tax code are not included as purchases (the Ro Simple Invoice and Ro Has VAT Number checkboxes).
Accounts
No accounts are mapped: the selection is by VAT, not by account class, so purchases of goods (371), stock (30x) and fixed assets (21x) are included just like services. The totals are reconciled with the sales and purchase journals and with D300 (Decont de TVA, the VAT return) for the same month.
Analytics
The return does not use the Odoo analytic plans (analytic accounts by project, department or activity): a separate activity is not declared separately through them.
Partners
The partner type is computed from the partner company's data (invoices are grouped by commercial partner):
| Type | The partner |
|---|---|
| 1 | Romanian company with the VAT Subjected checkbox (VAT-registered, synchronised from the ANAF register) |
| 2 | Romanian company not registered for VAT, EU company without a valid VIES number, or individual |
| 3 | EU company with a VAT number valid in VIES |
| 4 | non-EU company |
On each company, fill in the country and the tax code (with the country prefix for the EU) and tick Is a Company: an individual partner is always type 2.
Products and invoice series
- The ANAF product code for reverse-charge operations (cereals, waste, timber, phones, etc.) is set on the product, in the Declaration Codes field, as the D394 code. Without a code, the operation does not reach the detail by goods.
- Invoice series are taken from the sales journals: Ro Sequence Type (own invoice, customer self-billing, supplier self-billing) decides the section, Ro Partner marks the invoices issued by a third party, and the allocated range (first and last number) comes from the yearly range of Ro Journal Sequence. Cancelled invoices of the period are reported automatically.
- The company's CAEN code, set on the company, decides whether the section on operations with individuals is filled in for the activities on the ANAF list.