ANAF returns · Article 03
D100: ANAF versions
Applies to Odoo 19 · 20
ANAF periodically changes the structure of the D100 return (obligațiile de plată la bugetul de stat, payment obligations to the state budget). Here you find the versions applied by the NextERP team's 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 return period; you do not choose it manually.
Versions
| Version | Applies from | Details |
|---|---|---|
| 2024-02-09 | 9 February 2024 | what changes |
| v2 | 24 February 2022 | what changes |
| 2021-01-20 | 20 January 2021 | what changes |
| 2020-09-30 | 30 September 2020 | what changes |
| 2018-06-07 | 7 June 2018 | what changes |
| 2018-02-01 | 1 February 2018 | what changes |
| 2017-10-17 | 17 October 2017 | what changes |
| 2017-03-16 | 16 March 2017 | what changes |
| 2016-12-07 | 7 December 2016 | what changes |
| 2013-02-27 | 27 February 2013 | what changes |
| 2012-01-31 | 31 January 2012 | what changes |
| v1 | 1 November 2011 | what changes |
Version 2024-02-09, from February 2024
| Applies to | returns for periods starting with February 2024 (9 February 2024) |
| 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 February 2022
| Applies to | returns for periods starting with February 2022 (24 February 2022) |
| Replaces | 2021-01-20 |
What changes
Compared with the previous version, the D100 file has: 1 new fields, 1 removed fields.
- 1 new fields, in the same section.
- 1 removed fields, in the same section.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d100:declaratie:v2.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| obligatie | suma_redu |
no | integer; 0–999999999999999 |
Removed fields
| Section | Field |
|---|---|
| obligatie | suma_bonif |
Version 2021-01-20, from January 2021
| Applies to | returns for periods starting with January 2021 (20 January 2021) |
| Replaces | 2020-09-30 |
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 2020-09-30, from September 2020
| Applies to | returns for periods starting with September 2020 (30 September 2020) |
| Replaces | 2018-06-07 |
What changes
Compared with the previous version, the D100 file has: 1 new fields.
- 1 new fields, in the same section.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d100:declaratie:v2.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| obligatie | suma_bonif |
no | integer; 0–999999999999999 |
Version 2018-06-07, from June 2018
| Applies to | returns for periods starting with June 2018 (7 June 2018) |
| Replaces | 2018-02-01 |
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 2018-02-01, from February 2018
| Applies to | returns for periods starting with February 2018 (1 February 2018) |
| Replaces | 2017-10-17 |
What changes
Compared with the previous version, the D100 file has: 1 new fields.
- 1 new fields, in the same section.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d100:declaratie:v2.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| declaratie100 | d_dizolv |
no | integer; 0–1 |
Version 2017-10-17, from October 2017
| Applies to | returns for periods starting with October 2017 (17 October 2017) |
| Replaces | 2017-03-16 |
What changes
Compared with the previous version, the D100 file has: 2 new fields.
- 2 new fields, in the same section.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d100:declaratie:v2.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| declaratie100 | cifS |
no | token |
| declaratie100 | d_succ |
no | integer; 0–1 |
Version 2017-03-16, from March 2017
| Applies to | returns for periods starting with March 2017 (16 March 2017) |
| Replaces | 2016-12-07 |
What changes
Compared with the previous version, the D100 file has: 2 fields with changed rules.
- New allowed values (2 fields): 106, 710, 609, 617, 612, 140, 111, 244 (+10).
- 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:d100:declaratie:v2.
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| obligatie | cod_oblig |
new values: 106, 710, 609, 617, 612, 140, 111, 244, 242, 243 (+6); removed values: 226, 227, 455, 456, 536, 537, 631, 632, 633, 634 (+9) |
| obligatie | cota |
maximum: 3 → —; minimum: 1 → —; new values: 1, 3 |
Version 2016-12-07, from December 2016
| Applies to | returns for periods starting with December 2016 (7 December 2016) |
| Replaces | 2013-02-27 |
What changes
Compared with the previous version, the D100 file has: 3 new fields, 1 removed fields, 1 fields with changed rules.
- 3 new fields, in 2 sections; 1 are required, without them the file fails the ANAF validation.
- 1 removed fields, in the same section.
- New allowed values (1 fields): 226, 227, 455, 456, 536, 537, 631, 632 (+11).
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d100:declaratie:v2.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| declaratie100 | d_anulare |
yes | integer; 0–1 |
| declaratie100 | temei |
no | integer; 2–2 |
| obligatie | cota |
no | integer; 1–3 |
Removed fields
| Section | Field |
|---|---|
| obligatie | tip_oblig |
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| obligatie | cod_oblig |
new values: 226, 227, 455, 456, 536, 537, 631, 632, 633, 634 (+9); removed values: 106, 710, 609, 617, 612, 140, 111, 244, 242, 243 (+4) |
Version 2013-02-27, from February 2013
| Applies to | returns for periods starting with February 2013 (27 February 2013) |
| Replaces | 2012-01-31 |
What changes
Compared with the previous version, the D100 file has: 1 new fields, 1 removed fields, 1 fields with changed rules.
- 1 new fields, in the same section.
- 1 removed fields, in the same section.
- New allowed values (1 fields): 758, 621, 781, 711, 712, 713.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d100:declaratie:v1.
New fields
| Section | Field | Required | Format |
|---|---|---|---|
| declaratie100 | mai |
no | token; max. 200 characters |
Removed fields
| Section | Field |
|---|---|
| declaratie100 | mail |
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| obligatie | cod_oblig |
new values: 758, 621, 781, 711, 712, 713 |
Version 2012-01-31, from January 2012
| Applies to | returns for periods starting with January 2012 (31 January 2012) |
| Replaces | v1 |
What changes
Compared with the previous version, the D100 file has: 1 fields with changed rules.
Detail: the structural differences of the XML file
Version identifier in the file: mfp:anaf:dgti:d100:declaratie:v1.
Fields with changed rules
| Section | Field | What changes |
|---|---|---|
| obligatie | cod_oblig |
removed values: 758, 621, 781 |
Version v1, from November 2011
| Applies to | returns for periods starting with November 2011 (1 November 2011) |
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 only one in the catalog, below are all the configuration rules D100 needs.
The obligation
The obligation. D100 is proposed from the fiscal profile for the profit tax or micro-enterprise regime, monthly, with the deadline on the 25th of the following month. Monthly codes are declared with the amount of the month, and quarterly codes (103 profit tax, 121 micro-enterprise tax) in March, June, September and December, with the amount of the quarter; codes with a zero amount are not declared. The codes of the D112 obligations are in the same nomenclature, see D100 and D112. The steps are in Obligations and filing schedule.
The accounts
Each obligation code is calculated from the credit movements of its account or of the entries carrying its tag; no single rate is applied to all codes.
| Code | Standard source | Due when |
|---|---|---|
| 103 profit tax | account 4411 | regime Profit tax, with the tax periodicity from the profile |
| 121 micro-enterprise income tax | account 4418 | regime Micro-enterprise income tax, quarterly |
| the other codes (dividends 150/604, non-residents 631–642, excise duties 211–270, gambling, contributions etc.) | entries with the tag D100 <code> | monthly or quarterly, according to the nomenclature |
The mappings are shown and adjusted in ANAF Declarations › Configuration › Accounting › Calculation or with the Configure Journal Item Rows button on the requirement. Configure only the deviations from the Romanian chart of accounts.
Taxes and tags
When the nomenclature is synchronised, Odoo creates for each D100 code the tax tag D100 <code> (for example "D100 604"). Put the tag on the repartition lines of the tax used for that levy (for example the withheld dividend tax), so the entries carry it. The excise codes (211–270) are filled from the D120 excise tags.
Analytics
Account 446 is used for several taxes: separate them into analytic accounts of the chart of accounts (for example 446100 for dividends) or through the obligation tag, and the row takes only those lines. The return does not use Odoo analytic plans (analytic accounts per project, department or activity): a separate activity is not declared separately through them.
The partners
Nothing is configured on partners.