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
    • Artificial Intelligence
    • 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
    • Affiliate Program
    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. Reporting
  3. Romania SAF-T D406 - ANAF Declaration XML for Odoo Community v 19.0
  4. Sales Conditions FAQ

Romania SAF-T D406 - ANAF Declaration XML for Odoo Community

by Modvanta https://modvantaapps.tech/odoo-apps/ro-saft-d406/
Odoo

$ 8.97

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Romania SAF-T D406

What it does

Generates the periodic D406 SAF-T declaration from your Odoo accounting: general ledger, sales invoices, purchase invoices and payments, for the declaration types L, T, NL and NT.

Each file is checked against the XSD published by ANAF. If you run ANAF's DUKIntegrator on your server, one button sends the file through it and stores the answer.

Who it is for

  • Romanian companies on Odoo Community that file D406
  • Accountants who prepare D406 for a company on Odoo
  • Non-resident companies registered for VAT in Romania (NL, NT)

Key features

Passed ANAF's real validator on test data

The module was developed against DUKIntegrator version J2.2.15, the validator a real submission goes through. Our test files for L, T, NL and NT came back with no errors. Where the workbook, the XSD and the validator disagree, the file follows the validator.

DUKIntegrator result stored on the export

DUKIntegrator result stored on the export

ANAF tax codes

The ANAF tax code list from the official workbook is included, 969 codes. Suggest Tax Codes fills only the plain domestic rates. Every other case is your accountant's choice, and a tax without a code stops the export.

ANAF SAF-T tax code on a tax

ANAF SAF-T tax code on a tax

Storno accounting handled

Romanian charts post credit notes on the same side as the invoice with a negative amount. The file carries the indicator and signed amounts to match.

Partner codes in the ANAF format

Prefixes 00, 01, 02, 03, 04, 05 and 06 are built from country and VAT number. Lines that are not debts or receivables carry your own code, as ANAF requires.

Checks before the file

VAT number, address, contact name and phone, bank account, tax codes, numeric account numbers and draft entries.

Checks on a generated export

Checks on a generated export

Account numbers

The account code is used as it is. If yours differs from the ANAF chart, set the ANAF number and the account nature on the account.

Chart of accounts

Chart of accounts

How it works

  1. Open Accounting, Romania SAF-T D406, and create an export with the type, year and month.
  2. Press Suggest Tax Codes and complete the other codes.
  3. Press Generate File, and Run DUKIntegrator if it is installed.
  4. Download the XML, sign it and upload it through SPV yourself.
History of what you generated, with the result of each run

History of what you generated, with the result of each run

What was tested, and what was not

TestedAutomated tests on a clean database, with and without demo data, using the real Romanian chart and taxes: file content, partner codes, storno and non-storno credit notes, payments, non-resident layout, checks, record rules.
Checked with ANAF's toolDUKIntegrator J2.2.15 reported no errors for test files of types L, T, NL and NT, covering domestic, EU and non-EU partners, individuals, foreign currency, credit notes, bank and cash payments and manual entries.
Not testedA real submission through SPV. DUKIntegrator is not bundled, so it only runs where you install it.

Not included

  • Annual declaration A (assets) and on-request declaration C (stock).
  • Payments on bank statements are reported from the journal entries, with one payment method per journal type.
  • Corrective D406 and segmented files.
  • Signing and submission.

Settings

  • DUKIntegrator: install ANAF's kit on the server and set the system parameter mdv_ro_saft_d406.duk_path to its dist folder. Java is required.
  • ANAF tax code: on each tax.
  • ANAF account number and nature: on each account, when needed.
  • NC code: on the product, where the law requires it.

FAQ

Is DUKIntegrator included?

No. It is ANAF's tool, and you download it from ANAF. The module works without it, and then only the XSD check runs.

Does it submit the declaration?

No. It does not sign or submit. You upload through SPV.

Does ANAF accept the file?

It passed DUKIntegrator on our test data. Your own data can raise other points, so run the validator on every real file. It was not filed at ANAF by us.

What about the annual assets file and the stock file?

The annual A and on-request C declarations are not included.

Compatibility

Odoo 19 Community and Enterprise. It uses the standard Accounting / Invoicing data and needs no Enterprise app.

Support

Questions or a problem with a file? Write to modvantaapps@gmail.com.

Buy Now - $9

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Invoicing (account)
Lines of code 864
Technical Name mdv_ro_saft_d406
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/ro-saft-d406/
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