| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 396 |
| Technical Name |
eh_edi_core |
| License | LGPL-3 |
| Website | https://www.erpheritage.com.au/ |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 396 |
| Technical Name |
eh_edi_core |
| License | LGPL-3 |
| Website | https://www.erpheritage.com.au/ |
EH EDI Core
One AES-256-GCM credential vault and one canonical EN16931 invoice model and mapper, shared by every ERP Heritage e-invoicing module so each format module stays small, consistent, and audited in a single place.
What this module is
EH EDI Core carries the two pieces every ERP Heritage e-invoicing module needs but should not each re-implement. Centralising them keeps one audited copy of the security-critical and standards-critical code, so a fix lands once and every format module benefits. There is no user interface, no menu, and no configuration of its own.
What it provides
AES-256-GCM credential vault
One audited authenticated-encryption implementation, parametrised per module by a key namespace. API secrets for each tax authority or access point are encrypted once, with the master key resolved from the environment, a key file, or a system parameter. No copy of the crypto per module, and no plaintext credential at rest.
Canonical EN16931 model and mapper
One place reads an account.move into the European Norm semantic invoice model: parties, lines, tax breakdown, totals, references, with UNTDID 5305 tax categories. Each format module serialises that one model to its target syntax instead of re-reading the move. The output is locked by a golden XML regression net, so a change to the shared mapping cannot silently alter a generated document.
Who builds on it
France e-Invoicing
Factur-X CII generation and the PDP / PPF lifecycle, serialised from the shared EN16931 model.
Peppol eInvoicing
Peppol BIS Billing UBL 2.1, sharing the same model for line and tax extraction.
Mauritius MRA
MRA fiscal e-invoicing, using the shared credential vault for its API secrets.
Engineering principles
- One audited copy. The crypto and the EN16931 mapping live once, not duplicated per format module.
- Output locked by goldens. A byte-for-byte XML regression net guards every change to the shared mapping.
- No silent fallback. A missing key or an unmappable field surfaces an explicit error, never a blank document.
- Original work. Clean-room implementation. No schema fragments or code derived from any third-party module.
Installed automatically
You do not install EH EDI Core on its own. It is pulled in as a dependency when you install an ERP Heritage e-invoicing module that needs it. It is free and licensed LGPL-3.
ERP Heritage · info@erpheritage.com.au
Please log in to comment on this module