| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 1619 |
| Technical Name |
l10n_ro_efactura_b2c |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 1619 |
| Technical Name |
l10n_ro_efactura_b2c |
| License | OPL-1 |
| Website | https://gencbaris.com/odoo_plugins/ |
| Versions | 18.0 19.0 |
Romania e-Factura B2C
Genereaza facturi de consum e-Factura in format RO_CIUS UBL 2.1 si incarca-le in SPV-ul ANAF cu propriul token de acces
e-Facturarea obligatorie catre consumatori, gestionata in Odoo
De cand sistemul ANAF RO e-Factura s-a extins la tranzactiile B2C, orice persoana impozabila din Romania care emite facturi catre consumatori (persoane fizice) trebuie sa le raporteze prin platforma nationala — folosind serviciul web dedicat uploadb2c, nu incarcarea B2B. Acest modul transforma fiecare factura de client validata intr-un document RO_CIUS UBL 2.1 complet conform si o trimite catre SPV-ul tau.
Este o integrare bring-your-own-key: furnizezi token-ul de acces OAuth2 emis pentru certificatul digital SPV al propriei companii, iar modulul apeleaza ANAF strict in numele tau. Nu suntem intermediar acreditat, iar token-ul tau nu paraseste niciodata baza de date.
Construit pentru cazul consumatorului (B2C)
- Detecteaza automat facturile de consum (persoana fizica, fara cod TVA).
- Trimite CNP-ul anonim de 13 zerouri acceptat de ANAF cand cumparatorul nu divulga un identificator, sau CNP-ul real cand este furnizat.
- Construieste atat facturi (380) cat si note de credit (381), legand nota de credit de factura initiala.
RO_CIUS / EN 16931 corect prin constructie
- CustomizationID
CIUS-RO:1.0.1, ProfileIDP1. - Judetul emis ca CountrySubentity ISO 3166-2
RO-XX. - Cotele de TVA romanesti curente: 21% standard, 11% redusa, 9% tranzitorie si categoriile 0% / scutite.
- Defalcarea TVA si totalurile monetare recalculate astfel incat regulile BR-CO sa fie respectate.
Ce face modulul
| Functie | Detaliu |
|---|---|
| Generator UBL 2.1 | XML Invoice / CreditNote RO_CIUS cu vanzator, consumator anonim-sau-nominal, linii, defalcare TVA BG-23 si totaluri BG-22. |
| Validare CUI si CNP | Verificarea cifrei de control modulo-11 ANAF pe CUI-ul companiei si pe un CNP de consumator divulgat; rezerva anonima de 13 zerouri. |
| Poarta de reguli de business | Verificarile EN 16931 BR-CO / BR-S si RO_CIUS B2C ruleaza inainte de incarcare, blocand la erori si afisand avertismente. |
| Client uploadb2c (BYOK) | POST la endpoint-ul SPV uploadb2c, interogare
stareMesaj si descarcarea raspunsului semnat cu
descarcare, comutare sandbox / productie. |
| Integrare account.move | Buton Genereaza pe factura de client, camp de stare, asistent de generare in lot si un cron optional de interogare. |
| Cronologie cote TVA | Alege cota standard in vigoare la data facturii, astfel incat documentele istorice cu 19% raman corecte. |
Cum functioneaza
- Activeaza Romania e-Factura B2C pe companie si introdu CUI-ul si token-ul OAuth2 SPV.
- Valideaza o factura de client catre un consumator, apoi apasa Genereaza e-Factura B2C (sau lasa automatizarea on-post / asistent / cron sa o faca).
- Verifica XML-ul UBL validat, apoi Incarca la ANAF.
- Modulul inregistreaza indexul de incarcare, interogheaza starea si stocheaza raspunsul oficial acceptat / respins.
Divulgare
Acest modul genereaza formatul RO_CIUS si il transmite la endpoint-ul SPV ANAF pe care il configurezi, folosind propriile credentiale bring-your-own-key. Niciun dat nu este trimis altundeva, iar token-ul tau nu paraseste niciodata baza de date. Acreditarea ANAF, certificatul digital si contul SPV raman in intregime ale tale.
English
Romania e-Factura B2C
Generate RO_CIUS UBL 2.1 consumer e-Factura invoices and upload them to the ANAF SPV with your own access token
Since the ANAF RO e-Factura system expanded to B2C transactions, every Romanian taxable person issuing invoices to consumers must report them through the national platform — using the dedicated uploadb2c web service. This module turns each posted customer invoice into a fully compliant RO_CIUS UBL 2.1 document and sends it to your SPV. It is a bring-your-own-key integration: you supply the OAuth2 access token for your own company's SPV certificate; we are not an accredited intermediary and your token never leaves your database.
- Auto-detects consumer invoices; sends the anonymous 13-zero CNP or the real CNP when provided.
- Builds invoices (380) and credit notes (381), linking the credit note to its original.
- CustomizationID CIUS-RO:1.0.1, ProfileID P1, ISO 3166-2 county; VAT rates 21% / 11% / 9% / 0%.
- CUI & CNP modulus-11 validation; EN 16931 BR-CO / BR-S business-rule gate before upload.
- uploadb2c BYOK client: POST, stareMesaj polling, descarcare, sandbox/production switch.
- account.move integration, batch wizard, optional cron; VAT-rate timeline keeps historical 19% correct.
The module generates the RO_CIUS format and transmits it to the ANAF SPV endpoint you configure, with your own BYOK credentials. No data goes anywhere else; ANAF accreditation, the certificate and the SPV account remain yours.
Screenshots
B2C E Factura Documents
Generate B2C E Factura
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