OdooWiki OCA HUB

Paraguay - SIFEN Direct EDI Connector

l10n_py_edi_sifen folder_open OCA/l10n-paraguay open_in_new
Accounting/Localizations/EDI License: LGPL-3

Direct SIFEN (Sistema Integrado de Facturación Electrónica Nacional) connector for Paraguay electronic invoicing.

This module extends the generic EDI connector from l10n_py_edi_base to provide direct transmission to SIFEN using the pysifen library, without intermediary services like FactPy or FacturaSend.

Features:

  • Direct SOAP/mTLS communication with SIFEN
  • Digital signature via PKCS12 certificate
  • RDe (Documento Electrónico) building from invoice data
  • Support for FE, NCE, NDE, NRE, AFE document types
  • Test and Production environment support

auto_awesome What this module does

AI-generated from the code · Odoo 20.0

Connect Odoo directly to Paraguay's SIFEN electronic invoicing service using your own digital certificate. Send, consult, cancel and void electronic documents, and generate the QR code, without any intermediary provider.

This module adds a "SIFEN Directo" option to the electronic invoicing connector, so Paraguayan companies can transmit electronic documents straight to the tax authority (SET) instead of going through a third-party service.

  • On the company form, a "Certificado Digital (SIFEN)" section lets you upload your PKCS12 (.pfx) certificate, its password and see its expiry date. This certificate is required for the secure connection.
  • On the EDI connector form, a SIFEN section asks for the CSC and ID CSC codes given by the SET (these differ between test and production).
  • The connector can send documents, check their status, cancel them, void number ranges, preview the document and preview the QR code, and test the connection.
  • Documents are built for the SIFEN v150 format, covering invoices, credit and debit notes, remittance notes and self-invoices, with items, taxes, payment conditions, transport and associated documents.
  • The QR code is generated from the signed document and injected into the file; if the CSC is missing, the QR is skipped.
  • A successful connection test shows a notification; connection errors raise a message.

It extends the l10n_py.edi.connector and res.company models.

Models and fields (2)
  • res.company · extends an existing modell10n_py_certificate (Certificado PKCS12 (.pfx)), l10n_py_certificate_expiry (Expiración), l10n_py_certificate_filename, l10n_py_certificate_password (Contraseña del Certificado)
  • l10n_py.edi.connector · extends an existing modell10n_py_csc (CSC), l10n_py_idcsc (ID CSC), provider_type

Text generated by AI (DeepSeek) from reading the Odoo 20.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: 4 confirmed, 5 with no information of 9 versions.

Sources · Odoo 20.0

Confirmed on 2026-11-03 in branch 20.0 of OCA/l10n-paraguay.

terminal Installation and usage

OCA documentation · Odoo 20.0

This module requires the pysifen Python library:

pip install sifen[transmissao]
  • Go to Settings > Companies and upload the PKCS12 (.pfx) certificate in the "Certificado Digital (SIFEN)" section.
  • Go to Accounting > Facturación Electrónica > Conectores and create a new connector:
  • Provider: SIFEN Directo
  • Environment: Pruebas or Producción
  • Company: select the company
  • Click Probar Conexión to verify the mTLS connection with SIFEN.

Once configured, invoices will be sent directly to SIFEN when clicking Enviar a EDI on the invoice form. The signed XML and KUDE PDF are stored on the invoice record.

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.