NextERP Documentation
ROEN

ANAF returns · Article 07

D112: the ANAF versions

Applies to Odoo 19 · 20

ANAF periodically changes the structure of the D112 return (the monthly return on social contributions, income tax and insured persons). Here you find 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 chosen automatically from the period of the return; you do not choose it manually.

Versions

Version Applies from Details
v726 1 July 2026 what changes
v7 1 August 2025 what changes
v6 1 January 2020 what changes

Version v726, from July 2026

Applies to returns for periods starting with July 2026 (1 July 2026)
Replaces v7

What changes

Compared with the previous version, the D112 file has: 15 new fields, 107 removed fields, 43 fields with changed rules, 3 removed sections.

  • 15 new fields, in 4 sections.
  • 107 removed fields, in 11 sections.
  • 15 fields become mandatory.
  • New allowed values (2 fields): 2, 3, 4, 5, 7, 8, 9, 55 (+2).
  • 24 fields have different length, format or value limits.
  • Sections: 0 new, 3 removed.
Detail: structural differences in the XML file

Version identifier in the file: mfp:anaf:dgti:declaratie_unica:declaratie:v7.

Removed sections: asigurat/asiguratA1, asigurat/asiguratB41, asigurat/coAsigurati.

New fields

Section Field Mandatory Format
angajator/angajatorE2 E2_121 no integer; 0–999999
angajator/angajatorE2 E2_122 no integer; 0–99999
angajator/angajatorE2 E2_124 no integer; 0–99999
angajator/angajatorE2 E2_126 no integer; 0–999999999999999
angajator/angajatorE2 E2_131 no integer; 0–999999
angajator/angajatorE2 E2_132 no integer; 0–99999
angajator/angajatorE2 E2_134 no integer; 0–99999
angajator/angajatorE2 E2_136 no integer; 0–999999999999999
angajator/angajatorE2 E2_141 no integer; 0–999999
angajator/angajatorE2 E2_142 no integer; 0–99999
angajator/angajatorE2 E2_144 no integer; 0–99999
angajator/angajatorE2 E2_146 no integer; 0–999999999999999
asigurat bifa_Ucraina no integer; 0–1
asigurat/asiguratC C_29 no integer; 0–999999999999999
asigurat/det1 anita_stat no integer; 0–1

Removed fields

Section Field
angajator bifa_AgCon
angajator bifa_CAM
angajator caenC
angajator cifAf1
angajator cifAf1_a
angajator cifAf2
angajator cifAf2_a
angajator pond1
angajator pond1_a
asigurat bifa_pilon2
asigurat bifa_ucraina
asigurat/asiguratA A_8r
asigurat/asiguratA A_8s
asigurat/asiguratA1 A_11f
asigurat/asiguratA1 A_11fP
asigurat/asiguratA1 A_11i
asigurat/asiguratA1 A_11iP
asigurat/asiguratA1 A_12f
asigurat/asiguratA1 A_12fP
asigurat/asiguratA1 A_12i
asigurat/asiguratA1 A_12iP
asigurat/asiguratA1 A_13f
asigurat/asiguratA1 A_13fP
asigurat/asiguratA1 A_13i
asigurat/asiguratA1 A_13iP
asigurat/asiguratA1 A_14f
asigurat/asiguratA1 A_14fP
asigurat/asiguratA1 A_14i
asigurat/asiguratA1 A_14iP
asigurat/asiguratA1 A_5f
asigurat/asiguratA1 A_5i
asigurat/asiguratA1 A_81
asigurat/asiguratA1 A_82
asigurat/asiguratA1 SalBrut_A
asigurat/asiguratB2 B2_6f
asigurat/asiguratB2 B2_6i
asigurat/asiguratB2 B2_7f
asigurat/asiguratB2 B2_7i
asigurat/asiguratB4 B4_17
asigurat/asiguratB4 B4_19
asigurat/asiguratB4 B4_1r
asigurat/asiguratB4 B4_1s
asigurat/asiguratB4 B4_21
asigurat/asiguratB4 B4_22
asigurat/asiguratB4 B4_23
asigurat/asiguratB4 B4_24
asigurat/asiguratB4 B4_25
asigurat/asiguratB4 B4_26
asigurat/asiguratB4 B4_27
asigurat/asiguratB4 B4_28
asigurat/asiguratB4 B4_29
asigurat/asiguratB4 B4_30
asigurat/asiguratB41 B4_14f
asigurat/asiguratB41 B4_14i
asigurat/asiguratB41 B4_5f
asigurat/asiguratB41 B4_5fP
asigurat/asiguratB41 B4_5i
asigurat/asiguratB41 B4_5iP
asigurat/asiguratB41 B4_6f
asigurat/asiguratB41 B4_6fP
asigurat/asiguratB41 B4_6i
asigurat/asiguratB41 B4_6iP
asigurat/asiguratB41 B4_7f
asigurat/asiguratB41 B4_7fP
asigurat/asiguratB41 B4_7i
asigurat/asiguratB41 B4_7iP
asigurat/asiguratB41 B4_81
asigurat/asiguratB41 B4_82
asigurat/asiguratB41 B4_8f
asigurat/asiguratB41 B4_8fP
asigurat/asiguratB41 B4_8i
asigurat/asiguratB41 B4_8iP
asigurat/asiguratB41 SalBrut_B
asigurat/asiguratC C_20
asigurat/asiguratC C_21
asigurat/asiguratC C_22
asigurat/asiguratC C_23
asigurat/asiguratC C_24
asigurat/asiguratE3 E3_18
asigurat/asiguratE3 E3_21
asigurat/asiguratE3 E3_22
asigurat/asiguratE3 E3_25
asigurat/asiguratE3 E3_26
asigurat/asiguratE3 E3_29
asigurat/asiguratE3 E3_30
asigurat/asiguratE3 E3_32
asigurat/asiguratE3 E3_33
asigurat/asiguratE3 E3_34
asigurat/asiguratE3 E3_35
asigurat/asiguratE3 E3_36
asigurat/asiguratE3 E3_37
asigurat/asiguratE3 E3_38
asigurat/asiguratE3 E3_39
asigurat/asiguratE3 E3_40
asigurat/asiguratE3 E3_41
asigurat/asiguratE3 E3_42
asigurat/asiguratE3 E3_43
asigurat/asiguratE3 E3_50
asigurat/asiguratE3 E3_51
asigurat/asiguratE3 E3_76
asigurat/asiguratE3 E3_84
asigurat/asiguratE3 E3_89
asigurat/coAsigurati cnp
asigurat/coAsigurati nume
asigurat/coAsigurati prenume
asigurat/coAsigurati tip
asigurat/det1 acord_stat

Fields with changed rules

Section Field What changes
declaratieUnica d_rec becomes mandatory
declaratieUnica tip_rec maximum: 3 → —; minimum: 1 → —; new values: 2, 3, 4, 5, 7, 8, 9
angajator/angajatorA A_codOblig removed values: 486, 487, 488
angajator/angajatorB nrSal1_111 maximum: 99999 → 999999999999999
angajator/angajatorB nrSal2_111 maximum: 99999 → 999999999999999
angajator/angajatorB nrSal3_111 maximum: 99999 → 999999999999999
angajator/angajatorC2 C2_121 maximum: 99999 → 999999
angajator/angajatorC2 C2_131 maximum: 99999 → 999999
angajator/angajatorE4 E4_aj_nr becomes mandatory; maximum: 99999 → 999999
angajator/angajatorE4 E4_aj_suma becomes mandatory
asigurat bifa_plataNerezident minimum: 1 → 0
asigurat motivExc maximum: 5 → 1; minimum: 1 → 0
asigurat/asiguratA A_1 maximum: 55 → 30
asigurat/asiguratA A_11P becomes mandatory
asigurat/asiguratA A_12D becomes mandatory
asigurat/asiguratA A_12P becomes mandatory
asigurat/asiguratA A_13C becomes mandatory
asigurat/asiguratA A_13P becomes mandatory
asigurat/asiguratA A_13S becomes mandatory
asigurat/asiguratA A_14D becomes mandatory
asigurat/asiguratA A_14P becomes mandatory
asigurat/asiguratB1 B1_1 maximum: 55 → 30
asigurat/asiguratB1 B1_16 maximum: 99 → 999999999999999
asigurat/asiguratB1 B1_17 maximum: 99 → 999999999999999
asigurat/asiguratB1 B1_sal1 becomes optional
asigurat/asiguratB1 B1_sal2 becomes optional
asigurat/asiguratB2 B2_1 maximum: 19 → 7
asigurat/asiguratC C_1 removed values: 31, 32, 33, 34
asigurat/asiguratD D_14a becomes mandatory
asigurat/asiguratD D_15a becomes mandatory
asigurat/asiguratD D_16a becomes mandatory
asigurat/asiguratD D_28 maximum: 999 → —; minimum: 0 → —; new values: 55, 65, 75
asigurat/asiguratD D_9a minimum: 1 → 0
asigurat/asiguratD D_9b minimum: 1 → 0
asigurat/asiguratE3 E3_45 type integer → string; maximum: 999999999999999 → —; maximum length: — → 7; minimum: 0 → —
asigurat/asiguratE3 E3_7 removed values: 70
asigurat/asiguratE3 E3_81 maximum: 99 → 999999999999999
asigurat/asiguratE3 E3_93 maximum: 999999999999999 → 99
asigurat/det1 bifa_stat maximum: 2 → 1; minimum: 1 → 0
asigurat/det1 cif_detasat format: [1-9]\d{12}|[1-9]\d{1,9} → [1-9]\d{12}
asigurat/det1 detasat maximum: 6 → 99; minimum: 1 → 0
asigurat/det1 plata34 maximum: 4 → 1; minimum: 3 → 0
asigurat/det1 stat_detasat becomes mandatory

Sections with a changed number of occurrences

Section What changes
angajator/angajatorA maxOccurs: 29 → 41
angajator/angajatorF2 maxOccurs: unbounded → 3000
asigurat/det1 maxOccurs: 10 → 5

What to configure in Odoo

The configuration rules of the previous version remain valid. From July 2026 the form is reorganised: the CAM checkbox (CAM is the employer's work insurance contribution), the CAEN code and the affiliates' data disappear from the employer header, and the recovery of sick leave from the employer moves to section E2. A checkbox for insured persons from Ukraine and new fields in section C and the secondment section appear. What to check in Odoo:

  • the D112 version is synchronised: the new schema can also send a new account scheme, and the Payroll accounts requirement goes back to Needs Review; check it and confirm it again;
  • on employees from Ukraine, the identification data and the insured type.

Version v7, from August 2025

Applies to returns for periods starting with August 2025 (1 August 2025)
Replaces v6

What changes

Compared with the previous version, the D112 file has: 18 new fields, 5 fields with changed rules.

  • 18 new fields, in 6 sections.
  • 4 fields have different length, format or value limits.
Detail: structural differences in the XML file

Version identifier in the file: mfp:anaf:dgti:declaratie_unica:declaratie:v7.

New fields

Section Field Mandatory Format
angajator/angajatorC2 C2_155 no integer; 0–999999999999999
angajator/angajatorC2 C2_156 no integer; 0–999999999999999
angajator/angajatorE2 E2_156 no integer; 0–999999999999999
asigurat/asiguratB3 B3_7D no integer; 0–999999999999999
asigurat/asiguratC C_10D no integer; 0–999999999999999
asigurat/asiguratD D_14a no integer; 0–99
asigurat/asiguratD D_15a no integer; 0–99
asigurat/asiguratD D_16a no integer; 0–99
asigurat/asiguratD D_20a no integer; 0–999999999999999
asigurat/asiguratD D_21a no integer; 0–999999999999999
asigurat/asiguratD D_28 no integer; 0–999
asigurat/asiguratD D_9a no integer; 1–1
asigurat/asiguratD D_9b no integer; 1–1
asigurat/asiguratE3 E3_87 no integer; 0–999999999999999
asigurat/asiguratE3 E3_94 no integer; 0–999999999999999
asigurat/asiguratE3 E3_95 no integer; 0–999999999999999
asigurat/asiguratE3 E3_96 no integer; 0–999999999999999
asigurat/asiguratE3 E3_97 no integer; 0–999999999999999

Fields with changed rules

Section Field What changes
angajator bifa_CAM becomes optional
angajator/angajatorC2 C2_121 maximum: 999999 → 99999
angajator/angajatorC2 C2_131 maximum: 999999 → 99999
asigurat/asiguratA A_1 maximum: 49 → 55
asigurat/asiguratB1 B1_1 maximum: 49 → 55

Sections with a changed number of occurrences

Section What changes
angajator/angajatorF2 maxOccurs: 1000 → unbounded

What to configure in Odoo

The configuration rules of the previous version remain valid. From August 2025 new fields appear for sick leave (benefits, days and amounts borne by the employer and by FNUASS, the national health insurance fund, in sections C, D and E of the insured person and of the employer) and the limits of some fields are widened (for example the insured type up to 55). They are filled in from the month's medical certificates; in Odoo only check that the D112 version is synchronised and that the certificates have the benefit code and the days filled in. The payroll accounts and the obligations do not change.

Version v6, from January 2020

Applies to returns for periods starting with January 2020 (1 January 2020)

What changes

The first version of the return in the NextERP catalogue; there is no previous version to compare it with.

What to configure in Odoo

For this version, the oldest in the catalogue, below are all the configuration rules D112 needs. The later versions describe only what changes.

The obligation

D112 is proposed from the fiscal profile when the company has employees (the salary periodicity in the profile), monthly, due on the 25th of the following month. Confirm the obligation in ANAF Declarations › Configuration › General › Declarations and Registers: only then do the monthly returns appear in Schedule. The obligation codes of section A are in the same nomenclature as the D100 codes (D100 is the return for other taxes owed to the state budget). See Obligations and filing schedule.

The accounts

With Enterprise Payroll, D112 is not computed until the Payroll accounts requirement is confirmed. The Romanian salary rules receive their accounts from the server scheme (OMFP 1802/2014, the Romanian accounting regulations): Odoo looks for the account with the code in the scheme, then for its first sub-account (for example 4315, then 431510). Rules already configured are not changed; gross and net have no accounts. See Payroll accounts and the rule scheme.

Payment obligations (section A)

Each row of section A sums the payslip lines of the rules linked to the obligation (the Obligation field on the rule): 412 CAS (social insurance contribution), 432 CASS (health insurance contribution), 602 salary income tax, 480 CAM, 458 and 459 the differences borne by the employer. Deductible and exempt amounts are entered on the document.

Taxes and tags

D112 uses neither taxes nor VAT report tags.

Analytics

It does not require analytic plans in Odoo; the "analytic account" in the scheme is the sub-account in the chart of accounts (431510).

Employees

The insured person's data (CNP, the personal numeric code; insured type, contract, health insurance fund, co-insured persons) come from the employee and the contract; see D112.

Company configuration requirements

Documentation by the NextERP team.