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 - Intrastat Declaration v 19.0
  4. Sales Conditions FAQ

Romania - Intrastat Declaration

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

$ 4582.40

v 19.0 Third Party
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 • Invoicing (account)
• Discuss (mail)
• Inventory (stock)
• Accounting (accountant)
Community Apps Dependencies Show
• Romania - ANAF Declaration
• NextERP License Client
• Romania - Account Enterprise
• NextERP Base
Lines of code 5440
Technical Name l10n_ro_declaration_intrastat
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 • Invoicing (account)
• Discuss (mail)
• Inventory (stock)
• Accounting (accountant)
Community Apps Dependencies Show
• Romania - ANAF Declaration
• NextERP License Client
• Romania - Account Enterprise
• NextERP Base
Lines of code 5440
Technical Name l10n_ro_declaration_intrastat
LicenseOPL-1
Websitehttps://www.nexterp.ro
Versions 18.0 19.0
  • Description
  • License
Romania - Intrastat Declaration icon

Romania - Intrastat Declaration

Romania - Intrastat Declaration

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

Overview

Generates the monthly Intrastat declaration required for intra-EU trade statistics and submits it to INS / ANAF as the XML payload defined by http://www.intrastat.ro/xml/InsSchema.

The module adds an ANAF XML button to the standard Odoo Intrastat Report (account.intrastat) and a QWeb-rendered XML template that builds the InsNewArrival and InsNewDispatch elements expected by the Romanian schema (SchemaVersion 1.0).

On top of the Odoo report it implements the Romania-specific tweaks required by INS:

  • the Statistical Value (per-product field on the product template) is added to every line in addition to the invoice value;
  • the VAT number reported is the one of the shipping partner (partner_shipping_id), not the invoicing partner;
  • lines flagged as triangular (l10n_ro_is_triangular) are excluded because the invoice flow does not match a physical movement through RO;
  • bundled code versions (CN 2025, transactions 2022, transport 2005, INCOTERMS 2021, counties 1, localities 06/2006, units 1) match the ones accepted by INS.

The wizard supports both directions (Arrival system=29 and Dispatch system=19) in the same export or one at a time.


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

  • ANAF XML toolbar button — adds a custom ANAF XML button to the standard Intrastat Report (account.intrastat), routed to ro_intrastat_export_to_xml and producing the Romanian XML in one click.
  • Romanian shipping VAT — the SQL query of the report handler is rewritten so the partner VAT carried in each line comes from the invoice partner_shipping_id, not the invoicing partner (INS requirement).
  • Per-product Statistical Value — new l10n_ro_intrastat_statistical_value field on product.template / product.product, multiplied by the converted quantity to fill the StatisticalValue element required by the Romanian schema.
  • Triangular flow filter — invoice lines marked l10n_ro_is_triangular (RO as middle buyer-reseller, no physical movement through RO) are excluded from the declaration through a forced_domain on the report options.
  • Grouped XML items — raw report lines are aggregated by the Intrastat grouping keys (system, country, transaction, transport, commodity, partner VAT, INCOTERMS, origin country, supplementary units) before they reach the QWeb template.
  • Single-direction or combined export — wizard supports Arrivals only, Dispatches only, or both wrapped under a single InsDeclarations root element.
  • Bundled INS code versions — CN 2025, country / EU / transport / INCOTERMS / county / locality / unit / nature-of-transaction reference versions shipped in data/intrastat_export.xml to match what INS currently accepts.
  • Monthly periodicity enforced — allow_quarterly=False: the wizard refuses periods longer than one month.

Configuration

The module reuses the standard Odoo Intrastat configuration; only a few Romania-specific fields need attention.

1. Company prerequisites

Go to Settings -> Companies -> Update Info and make sure:

  • the VAT number is filled (used as VatNr in the XML header);
  • the Company Registry (company_registry) is filled — the export raises a redirect warning if it is missing;
  • an Intrastat Region is selected if your company has more than one INS region; otherwise the region column is hidden from the report.

You also need at least one bank account on the company partner and a configured signatory under Accounting -> Configuration -> ANAF Configuration -> ANAF Signature (see the base l10n_ro_declaration module).

2. Per-product fields

Open every product reported through Intrastat (typically goods sold or purchased intra-EU) and fill, in the Purchase or Accounting tab:

  • Commodity Code (intrastat_code_id) — CN 8-digit code;
  • Country of Origin (intrastat_origin_country_id);
  • Intrastat Statistical Value — the per-unit value used to compute the StatisticalValue element. The field is stored on the template and propagated to the variants through the standard _compute_template_field_from_variant_field / _set_product_variant_field helpers.

3. Partner fields

Make sure the shipping partner (partner_shipping_id) on every intra-EU invoice carries a valid EU VAT number. The Romanian export reads the VAT from the shipping partner, so a missing or invalid VAT on that record will surface as a blank PartnerVatNr in the XML.

4. Invoice line flags

The export ignores lines marked Triangular on the invoice (l10n_ro_is_triangular). Use that checkbox on customer / supplier invoice lines where Romania acts as middle buyer-reseller without a physical movement of goods through RO.

5. DUKIntegrator validation (optional)

Install l10n_ro_declaration_duk and configure the service under Accounting -> Configuration -> Settings -> ANAF DUKIntegrator Service if you want the generated XML validated before download. The Intrastat declaration code is intrastat.

How it works

1. Open the Intrastat report

Go to Accounting -> Reporting -> Statement Reports -> Intrastat Report. The standard Odoo report opens, restricted by default to the current month and pre-filtered to hide triangular lines (RO as middle buyer-reseller).

Use the toolbar to:

  • switch between Arrivals and Dispatches (or keep both selected);
  • adjust the Date filter — the export accepts a single month only;
  • review the lines (commodity code, partner VAT from the shipping partner, value, statistical value, weight, supplementary units, country, transaction, transport, INCOTERMS, origin country).

2. Generate the ANAF XML

Click the ANAF XML button added to the toolbar. The handler:

  1. asserts that the selected period is a single month (allow_quarterly=False);
  2. checks the company has a registry number, prompting a redirect warning if not;
  3. requires at least one of Arrivals / Dispatches to be selected;
  4. queries the report (arrivals → system=29, dispatches → system=19), groups the raw lines on the Intrastat grouping keys and sums value, weight, supplementary units and the Romanian statistical value;
  5. renders the QWeb template l10n_ro_declaration_intrastat.intrastat_report_export_xml — one InsNewArrival and / or InsNewDispatch element with SchemaVersion="1.0" under the namespace http://www.intrastat.ro/xml/InsSchema;
  6. when both directions are selected, wraps the two elements under a single InsDeclarations root.

The browser then downloads the file with the report's default filename (YYYY-MM based).

3. Header content

The header is filled automatically from:

  • company.partner_id.l10n_ro_vat_number — VatNr;
  • company.name — FirmName;
  • the selected month — RefPeriod (YYYY-MM);
  • current timestamp — CreateDt;
  • the current user — ContactPerson (first/last name, email, phone, function on the partner record).

Make sure the current user's partner has the right phone, email and function before exporting; otherwise the ContactPerson block will be partially empty.

4. Submit

Upload the resulting XML to the INS Intrastat web portal. With l10n_ro_declaration_duk installed, the file is also validated against the ANAF DUKIntegrator service before download, with the verdict shown inline on the wizard.

Versions

19.0.1.0.1 (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