Skip to content

Commit

Permalink
Added support for OIOUBL 3.0.1 rules
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Jan 3, 2025
1 parent 4dd4ea1 commit e3b520f
Show file tree
Hide file tree
Showing 79 changed files with 28,111 additions and 41 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ I hope that with the introduction of PINT, the versioning problem will be solved
* Moved Peppol 2023-05 and 2023-11 rules from `phive-rules-peppol` to `phive-rules-peppol-legacy`
* Added support for ZuGFERD 2.0.1 - all profiles (XML only)
* Added support for ZuGFERD 2.1 - all profiles (XML only)
* Added support for OIOUBL 3.0.1 rules - this requires the EN16931 validation artefacts to be available as well
* v3.2.2 - 2024-12-05
* Updated to XRechnung 3.0.2 Schematron Rules 2.2.0
* Added Peppol November 2024 release (Billing 3.0.18 and Upgrade 3.0.14)
Expand Down
Binary file not shown.
75 changes: 75 additions & 0 deletions phive-rules-oioubl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
</developer>
</developers>

<properties>
<oioubl3.version>3.0.1</oioubl3.version>
</properties>

<dependencies>
<dependency>
<groupId>com.helger.commons</groupId>
Expand All @@ -72,6 +76,10 @@
<groupId>com.helger.phive.rules</groupId>
<artifactId>phive-rules-api</artifactId>
</dependency>
<dependency>
<groupId>com.helger.phive.rules</groupId>
<artifactId>phive-rules-en16931</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
Expand Down Expand Up @@ -207,6 +215,73 @@
</configuration>
</execution>
-->
<!--
<execution>
<id>pp-cn</id>
<goals>
<goal>preprocess</goal>
</goals>
<configuration>
<sourceFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/OIOUBL-Creditnote.sch</sourceFile>
<targetFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/pp/OIOUBL-Creditnote.sch</targetFile>
</configuration>
</execution>
<execution>
<id>pp-inv</id>
<goals>
<goal>preprocess</goal>
</goals>
<configuration>
<sourceFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/OIOUBL-Invoice.sch</sourceFile>
<targetFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/pp/OIOUBL-Invoice.sch</targetFile>
</configuration>
</execution>
<execution>
<id>pp-ir</id>
<goals>
<goal>preprocess</goal>
</goals>
<configuration>
<sourceFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/OIOUBL-Invoice-Response.sch</sourceFile>
<targetFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/pp/OIOUBL-Invoice-Response.sch</targetFile>
</configuration>
</execution>
<execution>
<id>pp-mlr</id>
<goals>
<goal>preprocess</goal>
</goals>
<configuration>
<sourceFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/OIOUBL-Message-Level-Response.sch</sourceFile>
<targetFile>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/pp/OIOUBL-Message-Level-Response.sch</targetFile>
</configuration>
</execution>
<execution>
<id>oioubl3-pp</id>
<goals>
<goal>convert</goal>
</goals>
<configuration>
<schematronDirectory>src/test/resources/external/rule-source/oioubl/${oioubl3.version}/pp</schematronDirectory>
<schematronPattern>*.sch</schematronPattern>
<xsltDirectory>src/main/resources/external/schematron/oioubl/${oioubl3.version}/xslt</xsltDirectory>
<parameters>
<allow-foreign>true</allow-foreign>
</parameters>
</configuration>
</execution>
<execution>
<id>oioubl3-peppol</id>
<goals>
<goal>convert</goal>
</goals>
<configuration>
<schematronDirectory>src/test/resources/external/rule-source/oioubl/${oioubl3.version}</schematronDirectory>
<schematronPattern>DK*.sch</schematronPattern>
<xsltDirectory>src/main/resources/external/schematron/oioubl/${oioubl3.version}/xslt</xsltDirectory>
</configuration>
</execution>
-->
</executions>
</plugin>
<plugin>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit e3b520f

Please sign in to comment.