Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Localisation
  3. Romania - D394 ANAF Declaration v 19.0
  4. Sales Conditions FAQ

Romania - D394 ANAF Declaration

by NextERP Romania https://www.nexterp.ro
Odoo

$ 5728.00

v 19.0 Third Party 1
This module requires Odoo Enterprise Edition.
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
• Inventory (stock)
Community Apps Dependencies Show
• Romania - ANAF Declaration
• Romania - Account Enterprise
• NextERP License Client
• NextERP Base
Lines of code 6003
Technical Name l10n_ro_declaration_D394
LicenseOPL-1
Websitehttps://www.nexterp.ro
Versions 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
• Inventory (stock)
Community Apps Dependencies Show
• Romania - ANAF Declaration
• Romania - Account Enterprise
• NextERP License Client
• NextERP Base
Lines of code 6003
Technical Name l10n_ro_declaration_D394
LicenseOPL-1
Websitehttps://www.nexterp.ro
Versions 18.0 19.0
  • Description
  • License
Romania - D394 ANAF Declaration icon

Romania - D394 ANAF Declaration

Romania - D394 ANAF Declaration

v 19.0.0.2.4 LocalisationOPL-1
  • Overview
  • Features
  • Configuration
  • How it works
  • Screenshots
  • Versions

Overview

This module generates the D394 declaration (Declarația informativă privind livrările/prestările și achizițiile efectuate pe teritoriul național) for Romanian ANAF. D394 is the informative recapitulative declaration of domestic operations filed by every Romanian VAT-registered taxpayer to report all supplies and acquisitions of goods and services performed on Romanian territory with partners (other Romanian companies, individuals or non-residents without an EU VAT number) that are not covered by the intra-Community D390.

The filing period follows the company's VAT period (monthly or quarterly). The declaration lists every domestic partner together with the aggregated base and VAT amounts split by VAT rate (5%, 9%, 11%, 19%, 20%, 21%, 24%) and partner type (taxable persons registered for VAT — section A, taxable persons not registered for VAT — section B, non-taxable individuals — sections C/D, etc.). It also reports cash-basis VAT (TVA la încasare) payments collected in the period, fiscal receipts, simplified invoices and sector-specific operations (real estate, mobile phones, cereals, energy).

Output is an XML conformant to the ANAF schema. Three versions are bundled — v3 (in force 2021-01-01), v4 (2022-04-01) and v5 (2025-09-01, current). The wizard exposes a long checklist of operation categories so the accountant can confirm which sections apply to the period.


NextERP Romania

Built & supported by NextERP Romania

Romanian Odoo specialists, here for the long run — from implementation to localization and day-to-day production support.

10+
Years of Odoo experience per team member
80%+
of Romanian Localization maintained on Odoo Apps
19.0
Tracking every Odoo major release

What we do

⚙️

Odoo Solutions

From quick-start rollouts to multi-company deployments and custom modules built for your processes.

🇷🇴

Romanian Localization

SAF-T (D406), e-Factura, e-Transport, D300 / D390 / D394, ANAF integration, full chart of accounts and fiscal positions.

🛟

Our Services

Implementation, customization, migration, integration, support and consultancy — Romanian-speaking, SLA-backed.

Features

  • Domestic operations recap — wizard l10n.ro.anaf.d394 generates <declaratie394> for every Romanian taxpayer's monthly or quarterly filing. Period is taken from the wizard Date From / Date To range.
  • Three schema versions bundled — v3 (d394_20200902.xsd, 2021-01-01), v4 (d394_20220510.xsd, 2022-04-01), v5 (d394_20250915.xsd, 2025-09-01). The wizard picks the version whose date_from is the most recent that does not exceed the period end.
  • Per-partner aggregation — every posted sale and purchase invoice is grouped by partner; the wizard emits one <op1> block per partner plus one or more <op11> children per operation type. Aggregation uses the shared get_journal_line_vals helper from l10n.ro.anaf.mixin.
  • VAT rates split — base and VAT are reported separately per rate (baza5 / tva5, baza9 / tva9, baza11 / tva11, baza19, baza20, baza21, baza24 and so on as new rates are added). The module ships rate-specific column dictionaries reused across versions.
  • Partner type segmentation — l10n_ro_partner_type drives which section of D394 the partner falls into (1 Romanian VAT, 2 Romanian non-VAT, 3 intra-EU — reported in D390 instead, 4 non-resident outside EU).
  • VAT on payment (TVA la încasare) — sistemTVA is set from partner._check_vat_on_payment() at the period end date. VAT on payment invoices are merged with their reconciled payments via get_payment_vals, splitting the rates and totals into the dedicated columns.
  • Refund-request operation flags — when solicit is ticked the wizard exposes a long check-box list (achizitiiPE, achizitiiCR, achizitiiCB, achizitiiCI, achizitiiA, achizitiiB5–achizitiiB24, achizitiiS5–achizitiiS24, importB, acINecorp, livrariBI, BUN5–BUN24, valoareScutit, BunTI, Prest5–Prest24, PrestScutit, LIntra, PrestIntra, Export, livINecorp).
  • ANAF crosschecking option — l10n_ro_optiune is stored on res.company so the value is persistent; the wizard exposes the current value and a schimb_optiune flag if changed for this filing.
  • Interactive report — the bundled anaf_d394_report (account.report.custom.handler) lets accountants drill down from each <op1> line into the source move lines and inspect the rate-by-rate totals before generating XML.
  • XSD validation before download — output is validated against the matching ANAF XSD attached to the version record.

Configuration

1. Prerequisites

Complete the setup described in the l10n_ro_declaration base module shipped with this one:

  • Romanian VAT/CUI on the company.
  • The CAEN code on the company (required in the D394 XML caen attribute).
  • At least one ANAF signature under Accounting → Configuration → Romania → ANAF Signatures.
  • The company bank account, address, phone and e-mail.
  • A VAT on payment flag, if applicable — the wizard checks _check_vat_on_payment() for the period and emits sistemTVA = 1 for taxpayers under TVA la încasare.

2. ANAF cross-checking option

D394 includes the legal option whereby the taxpayer accepts cross-check of its declaration with declarations submitted by partners. The toggle lives on the company:

  • res.company.l10n_ro_optiune — set under Settings → Accounting → Romanian Localization → ANAF Crosschecking.
  • The wizard inherits the value through the optiune field and exposes a separate schimb_optiune flag if the company changes its option for this filing.

3. Partner setup

For every partner used in domestic operations:

  • The Romanian VAT/CUI (or CNP for individuals).
  • The l10n_ro_partner_type should be set correctly (1 Romanian company with VAT, 2 Romanian without VAT, 4 non-resident without EU VAT, etc.) — D394 segments are driven by this classification.
  • Affiliated partners (group entities) should be flagged so the prsAfiliat indicator is checked when needed.

4. Product / operation categories

D394 reports many specific categories using the product l10n_ro_anaf_code field shipped by l10n_ro_declaration. Configure the code on each product so the wizard can route sales of mobile phones, laptops, game consoles, cereals, real estate, energy and intangibles into the correct section.

5. Wizard location

Open the wizard at Accounting → Reports → Romania → D394 Declaration.

D394 wizard

The wizard automatically selects the right XSD version based on the period end date — v3 (d394_20200902.xsd, in force 2021-01-01), v4 (d394_20220510.xsd, 2022-04-01) or v5 (d394_20250915.xsd, 2025-09-01).

6. Run the declaration

After configuration, generate the declaration as described in USAGE.md.

How it works

D394 is exposed in two complementary ways:

  • as an interactive report under Accounting → Reports → Romania → D394 (the anaf_d394_report record), which lists every aggregated operation by partner and lets you drill down to the source invoices;
  • as a wizard under Accounting → Reports → Romania → D394 Declaration used to generate the ANAF XML file.

D394 wizard - opening

Steps

  1. Header fields

    • Declaration / Version — defaults to D394 / Versiunea 5 (or v4 / v3 depending on the period).
    • Date From / Date To — the VAT period (monthly or quarterly).
    • Signature — the ANAF signature record for the declarant.
    • Representative — fill only if a fiscal representative is filing on behalf of the company.
  2. Cross-checking option

    • ANAF Crosschecking (optiune) — read-only, inherited from res.company.l10n_ro_optiune.
    • Allow ANAF Crosschecking (schimb_optiune) — tick if the option is changed for this filing.
  3. Operations indicators

    • Operations with affiliated companies (prsAfiliat) — tick if the period includes operations with affiliated entities.
    • Request VAT Reimbursement (solicit) — tick to request a refund and expose the long list of category check-boxes below. When solicit is on, indicate the categories present in the period: real estate by type (residential / office / industrial / wind farms / other), goods and services by VAT rate (5% / 9% / 11% / 19% / 20% / 21% / 24%), imports, intangible assets, exports, intra-Community supplies of goods and services, intangibles supplied, sales of real estate, sales with reverse charge.
  4. Get Report — generates the XML, validates it against the matching ANAF XSD and attaches the file to the wizard. Internally:

    • The wizard reads every posted invoice in the period (sales and purchases), classifies the partner (l10n_ro_partner_type) and the operation type (l10n_ro_operation_type).
    • For each partner it aggregates base + VAT by rate (5/9/11/19/20/21/24) using the get_journal_line_vals helper from l10n.ro.anaf.mixin.
    • VAT on payment invoices are merged with their reconciled payments in the period via get_payment_vals and reported under the dedicated payment columns.
    • Partners are emitted as <op1> records (header) with <op11> children per detailed line.
  5. PDF-style report — print the anaf_d394_report from the wizard for internal review.

  6. Validate with DUKIntegrator — run ANAF's local validator before signing.

  7. Sign with the digital signature (Sectigo / certSIGN / other token).

  8. Upload to ANAF at the Depunere declarații portal under D394.

Generated XML — key fields

  • Root <declaratie394> with luna, an, cui, den, caen, adresa, sistemTVA (1 if the taxpayer applies VAT on payment), optiune, schimb_optiune, prsAfiliat, solicit, plus the tip_intocmit, den_intocmit, cif_intocmit, functie_intocmit declarant block and the optional cifR / denR / adresaR representative block.
  • One <op1> per partner with cif_par, den_par, partner type and aggregated totals.
  • <op11> children per operation type with baza<rate>, tva<rate>, number of invoices and VAT-on-payment columns.

Schema versions

Version XSD In force from
v3 d394_20200902.xsd 2021-01-01
v4 d394_20220510.xsd 2022-04-01
v5 d394_20250915.xsd 2025-09-01

Screenshots

Captured from a running Odoo instance.

Action run declaration394

Action run declaration394

Versions

19.0.0.2.2 (2026-05-24)

  • Changelog tracking starts at this release.

Discover the NextERP suite

Other modules from the same publisher, built to work together.

RO
Romania - ANAF Declaration
Localisation

Romania - ANAF Declaration

RO
Romania - ANAF Declaration DUKIntegrator
Localisation

Validate ANAF declarations against the NextERP DUKIntegrator HTTP service.

RO
Romania - Account Report Purchase Journal
Localisation

Romania - Account Report Purchase Journal

RO
Romania - Account Report Sale Journal
Localisation

Romania - Account Report Sale Journal

RO
Romania - D100 / 710 ANAF Declaration
Localisation

Romania - D100 / 710 ANAF Declaration

RO
Romania - D101 ANAF Declaration
Localisation

Romania - D101 ANAF Declaration

RO
Romania - D120 ANAF Declaration
Localisation

Romania - D120 ANAF Excise Duties Declaration (Decont privind accizele).

RO
Romania - D300 ANAF Declaration
Localisation

Romania - D300 ANAF Declaration

NextERP Romania

Odoo implementation, customization, Romanian localization and long-term support since 2018.

nexterp.ro
All apps
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with