NextERP Documentation
ROEN

ANAF returns · Article 05

D101: ANAF versions

Applies to Odoo 19 · 20

ANAF periodically changes the structure of the D101 return (impozitul pe profit anual, the annual profit tax return). 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
v10 1 January 2024 what changes
2023 1 January 2022 what changes
2021 1 January 2021 what changes
2020 1 January 2020 what changes
2018 1 January 2018 what changes
2017 1 August 2017 what changes
2017 1 January 2017 what changes
2016 1 January 2016 what changes
2015 1 January 2015 what changes
2014 1 January 2014 what changes
2012 1 January 2012 what changes

Version v10, from January 2024

Applies to returns for periods starting with January 2024 (1 January 2024)
Replaces 2023

What changes

The file structure could not be compared automatically with the previous version (the schema of one of the versions is missing from the catalogue).

What to configure in Odoo

From 2024, D101 is no longer filled in entirely by hand: the main rows come from the journal entries. In addition to the rules of the previous version:

Rows from journal entries (new)

Row Accounts What is taken
1 operating income 70–75, 781, 79 credit balance
2 operating expenses 60–65, 681, 69 debit balance
4 financial income 76, 786 credit balance
5 financial expenses 66, 686 debit balance
11 tax depreciation 6811 debit balance
13 deductible legal reserve 1061 credit balance
17 non-taxable dividend income 761 credit balance
171 dividends from a Romanian legal entity 7611 credit balance
23 profit tax expense 691 debit balance
28 accounting depreciation 6811 debit balance

Closing entries to 121 are not taken into account. The mappings are adjusted in ANAF Declarations › Configuration › Accounting › Calculation or with Configure Journal Item Rows; configure only the deviations from the Romanian chart of accounts.

Rows taken from other returns (new)

  • Row 39, the tax loss to be recovered, is taken from the previous year's D101; row 39.1 is proposed at no more than 70% of the taxable profit.
  • Row 50, the tax declared through D100 in the reporting year, is summed from that year's D100 and D710 returns. So keep the year's D100 returns calculated in Odoo.

Manual rows

These remain to be filled in on the document: 25 interest, late-payment charges and fines, 26 entertainment expenses above the limit, 27 sponsorships, 29 non-deductible provisions and adjustments, 33 other non-deductible expenses, 45 tax reduction (OUG 153/2020, Government Emergency Ordinance).

Company configuration requirements

The guide is rewritten into four requirements: Fiscal profile and periodicity, Rows calculated from journal entries, Amounts entered by the accountant and Check before filing. Companies that confirmed the old ones confirm them again.

Version 2023, from January 2022

Applies to returns for periods starting with January 2022 (1 January 2022)
Replaces 2021

What changes

The file structure could not be compared automatically with the previous version (the schema of one of the versions is missing from the catalogue).

What to configure in Odoo

The configuration rules of the previous version remain valid. The form structure changes under OPANAF 310/2023; the rows are still filled in on the document, in Manual Rows, and the company requirements are the same. Reread the guide of the requirement Amounts entered by the accountant: tax adjustments, losses and reductions follow the legislation of the year.

Version 2021, from January 2021

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

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.

What to configure in Odoo

The configuration rules of the previous version remain valid. The form structure changes under OPANAF 423/2020; the rows are still filled in on the document, in Manual Rows, and the company requirements are the same. Reread the guide of the requirement Amounts entered by the accountant: tax adjustments, losses and reductions follow the legislation of the year.

Version 2020, from January 2020

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

What changes

The file structure could not be compared automatically with the previous version (the schema of one of the versions is missing from the catalogue).

What to configure in Odoo

The configuration rules of the previous version remain valid. The form structure changes under OPANAF 4072/2020; the rows are still filled in on the document, in Manual Rows, and the company requirements are the same. Reread the guide of the requirement Amounts entered by the accountant: tax adjustments, losses and reductions follow the legislation of the year.

Version 2018, from January 2018

Applies to returns for periods starting with January 2018 (1 January 2018)
Replaces 2017

What changes

The file structure could not be compared automatically with the previous version (the schema of one of the versions is missing from the catalogue).

What to configure in Odoo

The configuration rules of the previous version remain valid. The form structure changes under OPANAF 3200/2018; the rows are still filled in on the document, in Manual Rows, and the company requirements are the same. Reread the guide of the requirement Amounts entered by the accountant: tax adjustments, losses and reductions follow the legislation of the year.

Version 2017, from August 2017

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

What changes

The file structure could not be compared automatically with the previous version (the schema of one of the versions is missing from the catalogue).

Version 2017, from January 2017

Applies to returns for periods starting with January 2017 (1 January 2017)
Replaces 2016

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.

What to configure in Odoo

The configuration rules of the previous version remain valid. The form structure changes under OPANAF 4160/2017; the rows are still filled in on the document, in Manual Rows, and the company requirements are the same. Reread the guide of the requirement Amounts entered by the accountant: tax adjustments, losses and reductions follow the legislation of the year.

Version 2016, from January 2016

Applies to returns for periods starting with January 2016 (1 January 2016)
Replaces 2015

What changes

Compared with the previous version, the D101 file has: 15 new fields, 18 removed fields.

  • 15 new fields, in the same section; 1 are required, without them the file fails the ANAF validation.
  • 18 removed fields, in the same section.
Detail: the structural differences of the XML file

Version identifier in the file: mfp:anaf:dgti:d101:declaratie:v3.

New fields

Section Field Required Format
declaratie101 P141 no integer; 0–999999999999999
declaratie101 P151 no integer; 0–999999999999999
declaratie101 P172 no integer; 0–999999999999999
declaratie101 P173 no integer; 0–999999999999999
declaratie101 P411 no integer; 0–999999999999999
declaratie101 P412 no integer; 0–999999999999999
declaratie101 P421 no integer; 0–999999999999999
declaratie101 P422 no integer; 0–999999999999999
declaratie101 P423 no integer; 0–999999999999999
declaratie101 P81 no integer; 0–999999999999999
declaratie101 P82 no integer; 0–999999999999999
declaratie101 P83 no integer; 0–999999999999999
declaratie101 P91 no integer; 0–999999999999999
declaratie101 d_anulare yes integer; 0–9
declaratie101 temei no integer; 0–9

Removed fields

Section Field
declaratie101 P121
declaratie101 P122
declaratie101 P181
declaratie101 P201
declaratie101 P202
declaratie101 P203
declaratie101 P451
declaratie101 P452
declaratie101 P4521
declaratie101 P453
declaratie101 P471
declaratie101 P472
declaratie101 P50
declaratie101 P51
declaratie101 P52
declaratie101 P53
declaratie101 Stat_rezid
declaratie101 d_reg

What to configure in Odoo

The configuration rules of the previous version remain valid. The form structure changes under OPANAF 3386/2016; the rows are still filled in on the document, in Manual Rows, and the company requirements are the same. Reread the guide of the requirement Amounts entered by the accountant: tax adjustments, losses and reductions follow the legislation of the year.

Version 2015, from January 2015

Applies to returns for periods starting with January 2015 (1 January 2015)
Replaces 2014

What changes

Compared with the previous version, the D101 file has: 2 new fields.

  • 2 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:d101:declaratie:v3.

New fields

Section Field Required Format
declaratie101 Stat_rezid no string; max. 2 characters
declaratie101 d_reg yes integer; 0–9

What to configure in Odoo

The configuration rules of the previous version remain valid. The form structure changes under OPANAF 3250/2015; the rows are still filled in on the document, in Manual Rows, and the company requirements are the same. Reread the guide of the requirement Amounts entered by the accountant: tax adjustments, losses and reductions follow the legislation of the year.

Version 2014, from January 2014

Applies to returns for periods starting with January 2014 (1 January 2014)
Replaces 2012

What changes

Compared with the previous version, the D101 file has: 20 new fields, 8 removed fields.

  • 20 new fields, in the same section; 3 are required, without them the file fails the ANAF validation.
  • 8 removed fields, in the same section.
Detail: the structural differences of the XML file

Version identifier in the file: mfp:anaf:dgti:d101:declaratie:v3.

New fields

Section Field Required Format
declaratie101 P201 no integer; 0–999999999999999
declaratie101 P202 no integer; 0–999999999999999
declaratie101 P203 no integer; 0–999999999999999
declaratie101 P441 no integer; 0–999999999999999
declaratie101 P442 no integer; 0–999999999999999
declaratie101 P451 no integer; 0–999999999999999
declaratie101 P452 no integer; 0–999999999999999
declaratie101 P4521 no integer; 0–999999999999999
declaratie101 P453 no integer; 0–999999999999999
declaratie101 P471 no integer; 0–999999999999999
declaratie101 P472 no integer; 0–999999999999999
declaratie101 P52 no integer; 0–999999999999999
declaratie101 P53 no integer; 0–999999999999999
declaratie101 an_i yes integer; 0–9999
declaratie101 data_i yes token
declaratie101 data_l no token
declaratie101 data_m no token
declaratie101 data_s yes token
declaratie101 primul_an_modif no integer; 0–9
declaratie101 trim_micro no integer; 0–9

Removed fields

Section Field
declaratie101 P421
declaratie101 P422
declaratie101 P431
declaratie101 P432
declaratie101 P4321
declaratie101 P433
declaratie101 luna_lichidare
declaratie101 nr_situatie

Version 2012, from January 2012

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

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 catalog, below are all the configuration rules D101 needs. The following versions describe only what changes.

The obligation

The obligation. D101 is proposed from the fiscal profile only for the Profit tax regime, yearly, with the deadline of 25 June of the following year (day 25, 6 months after the end of the year). The default start date is the start of the current year: for the closed year, change it to 1 January of that year. The steps are in Obligations and filing schedule.

The accounts

In this version all rows are filled in on the document, in the Manual Rows tab, from the trial balance and from the tax records register (registrul de evidență fiscală); the formulas of the annex (totals, tax, amount payable) are calculated on the server. Enter 0 on the rows you do not use. Closing entries of income and expense accounts to 121 are not taken into account.

Analytics

Keep non-deductible expenses in separate analytic accounts of the chart of accounts (for example an analytic of 623 for entertainment above the limit), so you can total them for the manual rows. 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. The header takes the company's tax ID, CAEN code (activity code), name, address and contact details.

Company configuration requirements

Documentation by the NextERP team.