Skip to main content
Odoo Community Association

Romania - Mesaje SPV

Beta License: AGPL-3 OCA/l10n-romania Translate me on Weblate Try me on Runboat

Acest modul facilitează gestionarea mesajelor din Spațiul Privat Virtual (SPV) ANAF, asigurând descărcarea și procesarea automată a facturilor electronice (e-Factura):

  • Funcționalități:

    • Descărcare automată mesaje SPV: sincronizare periodică (via cron) a listei de mesaje din SPV pentru facturi primite, trimise sau erori.

    • Procesare fișiere ZIP: descărcarea automată a arhivelor ZIP de la ANAF și extragerea fișierelor XML semnate.

    • Creare automată facturi de furnizor: generează schițe de factură (draft) direct din fișierele XML descărcate, mapând automat furnizorul pe baza codului fiscal (CIF).

    • Gestionare PDF-uri e-Factura:

      • Generare PDF ANAF: posibilitatea de a genera și descărca vizualizarea PDF oficială a XML-ului folosind serviciile ANAF.

      • Extragere PDF încorporat: extrage PDF-urile atașate direct în fișierul XML (dacă există).

    • Monitorizare stări: urmărirea stării fiecărui mesaj (Draft, Downloaded, Invoice, Error, Done) și a încercărilor de descărcare.

    • Integrare cu fluxul de facturare: legarea automată a mesajelor de facturile existente în sistem pe baza ID-ului de tranzacție sau a referinței.

    • Sincronizarea datelor produselor: permite salvarea automată a codurilor de furnizor pentru produse la validarea facturilor primite.

Table of contents

Configuration

Changelog

18.0.2.1.1 (2026-07-05)

  • Clicking “Download embedded PDF” when the invoice XML has no embedded PDF now raises a user-friendly error instead of navigating to a raw 404 page.

  • The form view no longer shows the derived attachment fields (ZIP, XML, ANAF PDF, embedded PDF) with their file names, since those are only materialized on demand and often have no name to display. The four download actions are now buttons with suggestive icons in the form header instead.

18.0.2.0.0 (2026-07-02)

Storage optimization: the signed ANAF ZIP is now the only file stored per SPV message.

  • The XML extracted from the ZIP is no longer stored as a separate attachment at download time; the message metadata (reference, amount, invoice date, currency) is parsed in memory.

  • attachment_xml_id, attachment_anaf_pdf_id and attachment_embedded_pdf_id became non-stored computed fields that expose the files materialized on the linked invoice.

  • The XML is created once, directly on the vendor bill, when the invoice is created from the message; the PDF embedded in the XML is attached once on the bill as its preview (main attachment).

  • The ANAF PDF and the embedded PDF are no longer persisted per message: the download buttons stream them on the fly, derived from the ZIP, via the new /l10n_ro/message_spv/<id>/{xml,anaf_pdf,embedded_pdf} routes.

  • Migration: derived attachments of messages linked to an invoice are relinked to the invoice; those of messages without an invoice are deleted (they can be re-extracted from the ZIP), reclaiming the duplicated filestore space.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Terrabit

Contributors

Do not contact contributors directly about support or help with technical issues.

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Current maintainer:

dhongu

This module is part of the OCA/l10n-romania project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file odoo_addon_l10n_ro_message_spv-18.0.2.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_l10n_ro_message_spv-18.0.2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57cd7e483985a0e8e476cc6bd7f9f807477ba65ae9adcf6599aea6250b66a5bf
MD5 92d351f9c38d0368928b819069a27125
BLAKE2b-256 109513ca4d8310a9eafdbca985ec03a9542b9f373a1b6cbe6ac8f22b6f933b3c

See more details on using hashes here.

Release history Release notifications | RSS feed

19.0.2.13.0

1 file

19.0.2.12.0.1

1 file

19.0.2.12.0

1 file

19.0.2.10.0

1 file

19.0.2.9.0

1 file

19.0.2.8.0

1 file

19.0.2.6.0

1 file

19.0.2.5.0.1

1 file

19.0.2.5.0

1 file

19.0.2.4.0

1 file

19.0.2.3.0

1 file

19.0.2.2.0.1

1 file

19.0.2.2.0

1 file

19.0.2.1.0.1

1 file

19.0.2.1.0

1 file

19.0.1.23.0.1

1 file

19.0.1.23.0

1 file

19.0.1.21.0

1 file

19.0.1.20.0

1 file

19.0.1.19.0

1 file

19.0.1.18.0

1 file

19.0.1.17.0

1 file

19.0.1.16.0

1 file

19.0.1.15.0.1

1 file

19.0.1.15.0

1 file

19.0.1.14.0.1

1 file

19.0.1.14.0

1 file

19.0.1.13.0

1 file

18.0.2.5.0

1 file

This release

18.0.2.4.0 This release

1 file

18.0.2.3.0

1 file

18.0.2.2.0.1

1 file

18.0.2.2.0

1 file

18.0.2.1.0.1

1 file

18.0.2.1.0

1 file

18.0.1.21.0

1 file

18.0.1.20.0

1 file

18.0.1.19.0

1 file

18.0.1.18.0.1

1 file

18.0.1.18.0

1 file

18.0.1.17.0.1

1 file

18.0.1.17.0

1 file

18.0.1.16.0.1

1 file

18.0.1.16.0

1 file

18.0.1.15.0

1 file

18.0.1.14.0

1 file

18.0.1.13.0

1 file

18.0.1.12.0

1 file

18.0.1.11.0.1

1 file

18.0.1.11.0

1 file

18.0.1.10.0.1

1 file

18.0.1.10.0

1 file

18.0.1.9.0

1 file

18.0.1.8.0

1 file

18.0.1.7.0

1 file

18.0.1.6.0

1 file

18.0.1.5.0.1

1 file

18.0.1.5.0

1 file

18.0.1.4.0

1 file

18.0.1.3.0.1

1 file

18.0.1.3.0

1 file

18.0.1.2.0

1 file

18.0.1.1.0.1

1 file

18.0.1.1.0

1 file

17.0.1.41.0

1 file

17.0.1.40.0

1 file

17.0.1.39.0

1 file

17.0.1.38.0.1

1 file

17.0.1.38.0

1 file

17.0.1.37.0.1

1 file

17.0.1.37.0

1 file

17.0.1.36.0

1 file

17.0.1.35.0

1 file

17.0.1.34.0.1

1 file

17.0.1.34.0

1 file

17.0.1.33.0

1 file

17.0.1.32.0

1 file

17.0.1.31.0

1 file

17.0.1.30.0

1 file

17.0.1.29.0

1 file

17.0.1.28.0

1 file

17.0.1.27.0

1 file

17.0.1.26.0

1 file

17.0.1.25.0

1 file

17.0.1.24.0

1 file

17.0.1.23.0.1

1 file

17.0.1.23.0

1 file

17.0.1.22.0

1 file

17.0.1.21.0

1 file

17.0.1.20.0.1

1 file

17.0.1.20.0

1 file

17.0.1.19.0.1

1 file

17.0.1.19.0

1 file

17.0.1.18.0

1 file

17.0.1.17.0.1

1 file

17.0.1.17.0

1 file

17.0.1.16.0

1 file

17.0.1.15.0

1 file

17.0.1.14.0

1 file

17.0.1.13.0

1 file

17.0.1.12.0.2

1 file

17.0.1.12.0.1

1 file

17.0.1.12.0

1 file

17.0.1.11.0

1 file

17.0.1.10.0.1

1 file

17.0.1.10.0

1 file

17.0.1.9.0

1 file

17.0.1.8.0.1

1 file

17.0.1.8.0

1 file

17.0.1.7.0.1

1 file

17.0.1.7.0

1 file

17.0.1.6.0

1 file

17.0.1.5.0.1

1 file

17.0.1.5.0

1 file

17.0.1.4.0.1

1 file

17.0.1.4.0

1 file

17.0.1.3.0

1 file

16.0.1.18.0.2

1 file

16.0.1.18.0

1 file

16.0.1.17.0.1

1 file

16.0.1.17.0

1 file

16.0.1.16.0

1 file

16.0.1.15.0.1

1 file

16.0.1.15.0

1 file

16.0.1.14.0

1 file

16.0.1.13.0

1 file

16.0.1.12.0

1 file

16.0.1.11.0

1 file

16.0.1.10.0

1 file

16.0.1.9.0

1 file

16.0.1.8.0

1 file

16.0.1.7.0.1

1 file

16.0.1.7.0

1 file

16.0.1.6.0.1

1 file

16.0.1.6.0

1 file

16.0.1.5.0.1

1 file

16.0.1.5.0

1 file

16.0.1.4.0

1 file

16.0.1.3.0.1

1 file

16.0.1.3.0

1 file

16.0.1.2.0

1 file

15.0.1.12.0

1 file

15.0.1.11.0

1 file

15.0.1.10.0

1 file

15.0.1.9.0

1 file

15.0.1.8.0

1 file

15.0.1.7.0

1 file

15.0.1.6.0.1

1 file

15.0.1.6.0

1 file

15.0.1.5.0

1 file

15.0.1.4.0.1

1 file

15.0.1.4.0

1 file

15.0.1.3.0.1

1 file

15.0.1.3.0

1 file

15.0.1.2.0

1 file

15.0.1.1.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page