Paraguay - SIFEN Direct EDI Connector
l10n_py_edi_sifen · OCA/l10n-paraguay
Health
65/100
fair
-
Security10/251 grave, 0 minor
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 4 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
7 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.1 MB
Module directory on disk
Code analysis
0 migration notes
2 models
2 views
0 HTTP endpoints
Security warnings
res.company— Adds credential fields (l10n_py_certificate_password) with no `groups=` to 'res.company', which every user (portal/public included) can read under core's access rights: they can read them over RPC. Restrict the fields with `groups=` (e.g. base.group_system). CWE-200. acl-public-read-secret
Found by automated static analysis: these patterns are usually risky, but only a manual review of the module can confirm a real issue. Methodology
Description
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
Dependencies
- Odoo dependencies
- Python dependencies
- sifen, cryptography, pykude, qrcode, requests, python-stdnum, num2words
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_company_form_sifen |
res.company.form.sifen | res.company | form | Inherits l10n_py_edi_base.view_company_form_edi |
view_edi_connector_form_sifen |
l10n_py.edi.connector.form.sifen | l10n_py.edi.connector | form | Inherits l10n_py_edi_base.view_edi_connector_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (3)
-
l10n_py_cscCharhelp='Código de Seguridad del Contribuyente entregado por la SET. Distinto por ambiente (homologación vs producción).'string='CSC' -
l10n_py_idcscChardefault='0001'help='Identificador del CSC (ej. 0001).'string='ID CSC' -
provider_typeSelectionondelete={'sifen': 'cascade'}selection_add=[('sifen', 'SIFEN Directo')]
-
cancel_document(self, document_id, reason='') -
check_status(self, document_id) -
inutilize_range(self, data) -
preview_document(self, invoice_data) -
preview_qr(self, invoice_data) -
send_document(self, invoice_data) -
test_connection(self)
New fields (4)
-
l10n_py_certificateBinaryargs: 'Certificado PKCS12 (.pfx)' -
l10n_py_certificate_expiryDatereadonly=True args: 'Expiración' -
l10n_py_certificate_filenameChar -
l10n_py_certificate_passwordCharargs: 'Contraseña del Certificado'
No public methods.
Loading…
Loading…
Loading…