OdooWiki OCA HUB

Romania - eFactura Account EDI UBL

l10n_ro_account_edi_ubl folder_open OCA/l10n-romania open_in_new
Localization License: AGPL-3

The module will generate E-Invoice XML files according to ANAF E-Invoicing service.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Send Romanian invoices to ANAF's eFactura service as UBL/CIUS-RO XML files and download the validated e-invoices back into Odoo. It adds ANAF transaction tracking, validation checks and automatic download of supplier e-invoices.

This module connects Odoo's invoicing with the Romanian ANAF eFactura system. When you post a customer invoice for a Romanian partner, Odoo generates a CIUS-RO XML file and sends it to ANAF, then tracks the submission status on the invoice.

  • On invoices you get ANAF fields such as the transaction ID and download ID, plus buttons to attach the XML file and to process the web service.
  • Invoices already sent to ANAF cannot be reset to draft or cancelled; you must issue a credit note instead.
  • A scheduled job downloads supplier e-invoices from ANAF, and settings control the download period, whether to store the ANAF-signed file and whether to render an ANAF PDF.
  • Validation checks require company partners to have city, street, state and VAT, and enforce the correct 'SECTORX' city name for Bucharest.
  • Products get a Romania NC code, and partner forms have options to skip UBL sending or hide the personal numeric code.
  • Errors are reported to chosen users through scheduled activities on the invoice.
Models and fields (11)
  • res.company · extends an existing modell10n_ro_edi_residence (Period of Residence), l10n_ro_render_anaf_pdf (Render Anaf PDF), l10n_ro_store_einvoices (Store E-Invoice signed by Anaf.), l10n_ro_download_einvoices (Download e-invoices from ANAF), l10n_ro_edi_cius_embed_pdf (Embed PDF in CIUS), l10n_ro_edi_error_notify_users (EDI Error Notify Users), l10n_ro_default_cius_pdf_report (Default PDF Report), l10n_ro_download_einvoices_days (Maximum number of days to download e-invoices.), l10n_ro_download_einvoices_start_date (Start date to download e-invoices)
  • res.partner · extends an existing modell10n_ro_edi_ubl_no_send (Romania - No send UBL), l10n_ro_edi_ubl_no_send_cnp (Romania - No send CNP UBL), l10n_ro_is_government_institution (Romania - Is government institution)
  • account.move · extends an existing modell10n_ro_edi_download (ID Download ANAF (RO)), l10n_ro_edi_transaction (Transaction ID (RO)), l10n_ro_show_edi_fields (Show ANAF EDI Fields), l10n_ro_edi_fields_readonly (Make ANAF EDI Fields readonly), l10n_ro_edi_previous_transaction (Previous Transactions or Download (RO)), l10n_ro_show_anaf_download_edi_buton (Show ANAF Download EDI Button)
  • product.product · extends an existing modell10n_ro_nc_code (Romania - NC Code)
  • product.template · new modell10n_ro_nc_code (Romania - NC Code)
  • account.move.line · extends an existing modell10n_ro_vendor_code (Vendor Code)
  • ir.actions.report · extends an existing model
  • account.edi.format · extends an existing model
  • res.config.settings · extends an existing modell10n_ro_edi_residence (Residence), l10n_ro_render_anaf_pdf (Render Anaf PDF), l10n_ro_store_einvoices (Store E-Invoice signed by Anaf.), l10n_ro_download_einvoices (Download e-invoices from ANAF), l10n_ro_edi_cius_embed_pdf (Embed PDF in CIUS), l10n_ro_edi_error_notify_users (EDI Error Notify Users), l10n_ro_default_cius_pdf_report (Default PDF Report), l10n_ro_download_einvoices_days (Maximum number of days to download e-invoices.), l10n_ro_download_einvoices_start_date (Start date to download e-invoices)
  • account.edi.xml.cius_ro · new model
  • l10n.ro.account.anaf.sync.scope · extends an existing modelscope

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. The module is very large and only part of the code was read. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/l10n-romania.

terminal Installation and usage

OCA documentation · Odoo 16.0
  • Go to Accounting -> Configuration -> Journals, and set up the "Electronic invoicing" option to "UBL 2.1 (CIUS-RO)"
  • Go to Settings -> Romania -> Configure ANAF sync and create a sync config.

If you don't have any ANAF sync config, you can still generate the XML files, but you will have to send them manually to ANAF. If you have a sync config, the XML files will be sent automatically to ANAF after the number of days of resilience set in the settings. ** If you want to send the XMl files before the number of days of resilience, you can do it manually from the Action available in the invoices.

Pentru verificare XMl se poate utiliza: https://www.anaf.ro/uploadxmi/

No verified information in OCA: Installation, Usage.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.