Skip to content

Commit 1a2e2f7

Browse files
authored
Merge pull request #36 from krisraich/master
Add KSeF Validation
2 parents db522fc + 14aa13c commit 1a2e2f7

63 files changed

Lines changed: 14058 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ This project is divided into sub-projects each keeping tracking of one document
2121
* phive-rules-finvoice - Validation rules for Finvoice (since v1.0.6)
2222
* phive-rules-france - Validation rules for France (since v4.0.1)
2323
* phive-rules-isdoc - Validation rules for ISDOC (since v2.0.2)
24+
* phive-rules-ksef - Validation rules for KSeF (since v4.0.2)
2425
* phive-rules-oioubl - Validation rules for Danish OIOUBL
2526
* phive-rules-peppol - the Peppol specific rules - always the latest two rule sets
2627
* phive-rules-peppol-legacy - older Peppol specific rules that are out of date (since v2.0.5)
@@ -115,6 +116,12 @@ Add the following to your `pom.xml` to use this artifact, replacing `x.y.z` with
115116
<version>x.y.z</version>
116117
</dependency>
117118

119+
<dependency>
120+
<groupId>com.helger.phive.rules</groupId>
121+
<artifactId>phive-rules-ksef</artifactId>
122+
<version>x.y.z</version>
123+
</dependency>
124+
118125
<dependency>
119126
<groupId>com.helger.phive.rules</groupId>
120127
<artifactId>phive-rules-oioubl</artifactId>
@@ -214,6 +221,9 @@ I hope that with the introduction of PINT, the versioning problem will be solved
214221

215222
# News and noteworthy
216223

224+
v4.0.2 - 2025-09-23
225+
* Added support for Poland KSeF validation rules
226+
217227
v4.0.1 - 2025-09-15
218228
* Added support for France CTC 0.1 validation rules
219229
* Added additional SETU document types "Assignment", "Human Resource" and "Staffing Order" that are supported on the Peppol Network
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!--
2+
3+
Copyright (C) 2021-2025 Philip Helger (www.helger.com)
4+
philip[at]helger[dot]com
5+
6+
Licensed under the Apache License, Version 2.0 (the "License");
7+
you may not use this file except in compliance with the License.
8+
You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
18+
-->
19+
<FindBugsFilter>
20+
<!-- Docs: http://findbugs.sourceforge.net/manual/filter.html -->
21+
</FindBugsFilter>

phive-rules-ksef/pom.xml

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
4+
Copyright (C) 2021-2025 Philip Helger (www.helger.com)
5+
philip[at]helger[dot]com
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
19+
-->
20+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
<parent>
23+
<groupId>com.helger.phive.rules</groupId>
24+
<artifactId>phive-rules-parent-pom</artifactId>
25+
<version>4.0.2-SNAPSHOT</version>
26+
</parent>
27+
<artifactId>phive-rules-ksef</artifactId>
28+
<packaging>bundle</packaging>
29+
<name>phive-rules-ksef</name>
30+
<description>Polish KSeF validation rules for phive</description>
31+
<url>https://github.com/phax/phive-rules/phive-rules-ksef</url>
32+
<inceptionYear>2021</inceptionYear>
33+
34+
<licenses>
35+
<license>
36+
<name>Apache 2</name>
37+
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
38+
<distribution>repo</distribution>
39+
</license>
40+
</licenses>
41+
42+
<organization>
43+
<name>Philip Helger</name>
44+
<url>http://www.helger.com</url>
45+
</organization>
46+
47+
<developers>
48+
<developer>
49+
<id>philip</id>
50+
<name>Philip Helger</name>
51+
<email>ph(at)helger.com</email>
52+
<url>http://www.helger.com</url>
53+
</developer>
54+
<developer>
55+
<id>kris</id>
56+
<name>Kris Raich</name>
57+
<email>kris.raich@ecosio.com</email>
58+
<url>https://ecosio.com</url>
59+
</developer>
60+
</developers>
61+
62+
<dependencies>
63+
<dependency>
64+
<groupId>com.helger.xsd</groupId>
65+
<artifactId>ph-xsds-xmldsig</artifactId>
66+
</dependency>
67+
<dependency>
68+
<groupId>com.helger.phive.rules</groupId>
69+
<artifactId>phive-rules-api</artifactId>
70+
</dependency>
71+
72+
<dependency>
73+
<groupId>junit</groupId>
74+
<artifactId>junit</artifactId>
75+
<scope>test</scope>
76+
</dependency>
77+
<dependency>
78+
<groupId>org.slf4j</groupId>
79+
<artifactId>slf4j-simple</artifactId>
80+
<scope>test</scope>
81+
</dependency>
82+
<dependency>
83+
<groupId>com.sun.xml.bind</groupId>
84+
<artifactId>jaxb-impl</artifactId>
85+
<scope>test</scope>
86+
</dependency>
87+
<dependency>
88+
<groupId>com.helger.commons</groupId>
89+
<artifactId>ph-unittest-support-ext</artifactId>
90+
<scope>test</scope>
91+
</dependency>
92+
</dependencies>
93+
94+
<build>
95+
<plugins>
96+
<plugin>
97+
<groupId>org.apache.felix</groupId>
98+
<artifactId>maven-bundle-plugin</artifactId>
99+
<extensions>true</extensions>
100+
<configuration>
101+
<instructions>
102+
<Automatic-Module-Name>com.helger.phive.ksef</Automatic-Module-Name>
103+
<Export-Package>
104+
com.helger.phive.ksef
105+
</Export-Package>
106+
<Import-Package>!jakarta.annotation.*,*</Import-Package>
107+
</instructions>
108+
</configuration>
109+
</plugin>
110+
<plugin>
111+
<groupId>com.helger.maven</groupId>
112+
<artifactId>ph-schematron-maven-plugin</artifactId>
113+
</plugin>
114+
</plugins>
115+
</build>
116+
</project>

0 commit comments

Comments
 (0)