104 Commits

Author SHA1 Message Date
Jochen Stärk
833961a42b test for #1133
Some checks failed
Java CI with Maven / build (push) Has been cancelled
2026-05-29 19:18:06 +02:00
langfr
a67a415aed Merge branch 'fix/cen-schematron-1.3.15' of https://github.com/PhilippGoetje/mustangproject into PhilippGoetje-fix/cen-schematron-1.3.15 2026-04-25 13:06:30 +01:00
Jochen Stärk
ca392054e5 corrected tests 2026-04-16 13:53:44 +02:00
Philipp
18e0b1c691 #814 upgrade CEN EN16931 Schematron from v1.3.12 to v1.3.15
Replace EN16931-CII-validation.xslt and EN16931-UBL-validation.xslt with
the v1.3.15 release. Fixes BR-DEC-23 XPath bug and aligns with KoSIT
XRechnung 3.0.2 validator (v2026-01-31). Adds regression test.

Made-with: Cursor
2026-04-14 17:36:38 +02:00
Zahi YOUSFI
bcfec257b1 Add France schematron ruleset 2026-04-10 11:03:37 +02:00
Jochen Staerk
64512f1ead Merge pull request #1077 from langfr/bugfix/XMPParser
Remove leading characters from extracted XMP metadata.
2026-04-09 11:27:52 +02:00
Jochen Staerk
6b9961d3e9 Merge pull request #1084 from Marcel-Aimpulse/fix-xml-description
Fix xml description
2026-04-08 16:20:28 +02:00
Marcel Westenberg Aimpulse
e880bf7f6e Changed old invalid link to new ZUGFeRD/factur-x link 2026-04-07 17:31:42 +02:00
langfr
0ba2bf5363 Remove leading characters from extracted XMP metadata. 2026-03-26 12:27:49 +01:00
Karsten Schwank
c88d64680e add hierarchical invoice positions in CII XML export for EXTENDED profile 2026-03-22 16:36:42 +01:00
Jochen Stärk
a59fce7dab closes #1049 2026-02-26 14:25:23 +01:00
Jochen Stärk
3d7b3cd252 corrently implement xmp exception 2026-01-08 14:33:16 +01:00
Jochen Bohn
9db9689095 Try Catch while parsing XMP-Metadata 2025-12-15 09:16:59 +01:00
Jochen Staerk
432278576a Merge branch 'master' into subtotal_validation 2025-12-11 14:39:01 +01:00
Jochen Stärk
1c5eac2362 closes #984 2025-12-11 14:22:46 +01:00
Andreas Reichmann
589a390069 Add SubInvoiceLine test resources
Extended profile examples with GROUP/DETAIL hierarchy,
  includes invalid hierarchy file for negative testing
2025-12-08 20:44:28 +01:00
Andreas Reichmann
0be3e04a2a Add SubInvoiceLine support for ZUGFeRD Extended profile
- Parse ParentLineID and LineStatusReasonCode from XML
  - Filter GROUP/INFORMATION lines from calculation (only DETAIL counts)
  - Add hierarchy validation for GROUP line totals
  - Add tests for sub invoice line import and validation
2025-12-08 20:43:14 +01:00
Jochen Stärk
6900f5f433 corrected errors 2025-12-05 20:10:40 +01:00
Jochen Stärk
29207ed2a8 fixed a test... i believe 2025-12-05 18:19:10 +01:00
Felix Eckhofer
a63508658e Fix typo 2025-09-08 09:56:07 +02:00
Matthias Kilian
6bdb493929 Treat schematron rule flag "information" as notice.
XRechnung 3.0.3 Summer 2025 edition introduced a rule with
flag="information", breaking the Mustangproject validator which
doesn't expect such a flag value.

See
06be5b2c75

Explicitly mapping "information" to ESeverity.notice hopefully fixes
this and any future additions of rules with flag="information".
2025-08-25 17:57:41 +02:00
jstaerk
1d90a1cea9 Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2025-08-11 09:34:52 +02:00
Jochen Staerk
c78b798029 Merge pull request #909 from langfr/issue/ShipToEmailWarning
ShipToTradeParty should not contain URIUniversalCommunication
2025-08-11 09:29:56 +02:00
jstaerk
2454fe7c62 closes #813 2025-08-11 09:27:09 +02:00
langfr
10c22314e4 Update validation to XRechnung 3.0.2. 2025-08-07 19:53:57 +01:00
langfr
d1522479bb ShipToTradeParty should not contain URIUniversalCommunication 2025-08-06 19:59:19 +01:00
Daniel Luckas
0128e39353 Close resources after usage 2025-07-17 14:22:27 +02:00
jstaerk
248372c98a closes #878 2025-06-30 11:39:43 +02:00
jstaerk
8ce3d21eae working on #878 2025-06-30 10:53:52 +02:00
jstaerk
1b174e243f erster versuch 2025-06-26 14:16:36 +02:00
Matthias Kilian
d0aeffdc1c Treat all fatal XR schematron rules as errors, not as warnings.
In org.mustangproject.validator.XMLValidator.validateSchematron(),
the severity has to be determined for every node of the validation
result.  Otherwise, all schematron assertions tagged as "fatal"
will be treated as warnings after the first warning.
2024-11-29 22:02:09 +01:00
Jochen Staerk
287a77cfea Merge branch 'master' into master 2024-11-17 19:49:49 +01:00
Jochen Staerk
c0b766e5c3 Merge pull request #548 from melo0187/verify-validation-supports-warnings
Add test verifying #546 has been fixed
2024-11-17 19:20:16 +01:00
jstaerk
d87e678de8 tests run through 2024-11-17 11:42:22 +01:00
jstaerk
77baec06bb closes #555 2024-11-14 07:42:56 +01:00
melo0187
d75a43d4e1 Add test verifying #546 has been fixed 2024-11-06 11:52:52 +01:00
Sebastian Sieber
11c6891e8a Make tests successful.
This commit is without any knowledge and can be reverted.
2024-11-05 16:36:17 +01:00
Jochen Staerk
e8a1997b14 Merge pull request #539 from melo0187/fix-pdfa-validation
Fix #538: PDFValidation for PDF/A-3A always invalid
2024-11-01 17:42:51 +01:00
melo0187
9afe593562 Fix #538: PDFValidation for PDF/A-3A always invalid
This fixes the bug where validation of actually valid PDF/A-3A files
always claimed that the PDF is "Not a PDF/A-3".
In fact, the validation was only accepting levels 3B and 3U.
2024-10-31 16:50:09 +01:00
jstaerk
5eaedf2560 parse typecode in ubl 2024-10-31 13:00:06 +01:00
jstaerk
aeb491873d closes #532 2024-10-29 07:03:19 +01:00
Jochen Staerk
d77aa75cfc Merge branch 'master' into test-fuer-inputstream-validation 2024-10-24 08:24:35 +02:00
jstaerk
28114e9a6b - make document charges and allowances serializable 2024-10-22 15:43:01 +02:00
jstaerk
721ea4b694 closes #481, moved bytearraysearcher to library 2024-09-29 14:50:39 +02:00
jstaerk
8af34a79f3 change due to AWV issue 162 2024-09-23 09:25:07 +02:00
jstaerk
451bd95f76 closes #487 2024-09-22 15:36:41 +02:00
jstaerk
12315cf7e7 corrected position of payeetradeparty 2024-09-21 14:39:47 +02:00
Matthias Kilian
8d8540ce30 Enable EN16931 schema validation for XRechnung.
Add a test case with an invalid XR (elements in wrong order).
2024-09-09 14:31:30 +02:00
langfr
90f720c0eb Add LegalOrganisation.TradingBusinessName and DefinedTradeContact also for Recipient. 2024-08-20 22:16:57 +01:00
Philip Helger
8e20badf6e Optimizations 2024-07-09 18:53:06 +02:00