Skip to content

Adding OIOUBL validation rules for Danish NemHandel e-invoicing - #10

Merged
CarlosMari merged 2 commits into
mainfrom
add-oioubl-validation-rules
Jun 22, 2026
Merged

Adding OIOUBL validation rules for Danish NemHandel e-invoicing#10
CarlosMari merged 2 commits into
mainfrom
add-oioubl-validation-rules

Conversation

@CarlosMari

Copy link
Copy Markdown
Contributor

Enables the upstream phive-rules-oioubl module via the same reflective registration pattern used for the 9 existing standards (EN16931, Peppol, UBL, CII, XRechnung, FacturaE, FatturaPA, ZUGFeRD, France-CTC). The dependency was already drafted commented-out in pom.xml; this moves it to the active block and adds the matching registerRules call.

Also drops phive-rules-zugferd from the commented "available" block — ZUGFeRD is already an active dependency, so the comment was misleading.

Supports the NemHandel integration: gobl.ubl emits OIOUBL 2.1 XML, phive validates it against the ERST schematron 1.17.1 before transmission.

Enables the upstream phive-rules-oioubl module via the same reflective
registration pattern used for the 9 existing standards (EN16931, Peppol,
UBL, CII, XRechnung, FacturaE, FatturaPA, ZUGFeRD, France-CTC). The
dependency was already drafted commented-out in pom.xml; this moves it
to the active block and adds the matching registerRules call.

Also drops phive-rules-zugferd from the commented "available" block —
ZUGFeRD is already an active dependency, so the comment was misleading.

Supports the NemHandel integration: gobl.ubl emits OIOUBL 2.1 XML,
phive validates it against the ERST schematron 1.17.1 before transmission.
@CarlosMari
CarlosMari force-pushed the add-oioubl-validation-rules branch from 0dbfcce to 1627299 Compare May 29, 2026 10:19
Resolve conflicts in pom.xml and PhiveRulesInitializer.java by keeping both
the OIOUBL (Danish NemHandel) and ZATCA (Saudi) rule sets.
@CarlosMari
CarlosMari requested a review from alvarolivie June 18, 2026 14:28
@CarlosMari
CarlosMari merged commit 1f9a8f5 into main Jun 22, 2026
2 checks passed
@CarlosMari
CarlosMari deleted the add-oioubl-validation-rules branch June 22, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants