Commit Graph

255 Commits

Author SHA1 Message Date
aff4f5080d adaptation du projet library en java8
Some checks failed
Java CI with Maven / build (push) Has been cancelled
2026-06-03 23:15:37 +02:00
langfr
a8d5ee8822 Fix possible StringIndexOutOfBoundsException when extracting XMP. 2026-05-28 14:49:39 +01:00
Jochen Stärk
42df52275d Revert "Merge pull request #1067 from phax/java17-base"
This reverts commit f6b6c0a36e, reversing
changes made to d8313dae20.
2026-05-07 13:24:02 +02:00
Jochen Staerk
f6b6c0a36e Merge pull request #1067 from phax/java17-base
Set Java 17 as base + dependency updates + test fix
2026-05-07 13:22:43 +02:00
langfr
189bbda416 Avoid NPE by checking zi.getXMP() is not null. 2026-05-05 13:36:58 +01:00
Philip Helger
48c5c8b5cb Updated to Java 17 + version bumps 2026-05-01 20:25:52 +02:00
langfr
ef45d25fce Merge branch 'issue/1095' of https://github.com/philippfischer143/mustangproject into philippfischer143-issue/1095 2026-04-25 14:39:04 +01: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 Fischer
27f827c097 Fixes #1095: ZF_240 XSLT monetary sums to cast inputs to xs:decimal before aggregation 2026-04-16 10:30:35 +02:00
Philipp Fischer
e09723f82f Fixes #1095 (validator): avoid floating-point artifacts in ZF_240 FACTUR-X_EXTENDED CO-10/CO-13 2026-04-16 09:20:04 +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
Jochen Staerk
d705f06f95 Merge pull request #1073 from kschwank/feature/hierarchical-positions-xml-export
add hierarchical invoice positions in CII XML export for EXTENDED pro…
2026-04-08 15:52:31 +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
756191a081 Centralize and secure DocumentBuilder creation. 2026-03-31 20:18:34 +01: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
Jochen Stärk
85a65937f4 added the official schema and schematron files and the generated xslts 2025-12-05 17:56:42 +01:00
Jochen Stärk
3a7567e700 forgotten update 2025-11-26 19:10:40 +01:00
Jochen Stärk
8d2cb13695 a rename I had forgotten 2025-11-26 16:30:32 +01:00
Jochen Stärk
f87bb42489 new subdir, intentionally still old files (new files are not yet released) 2025-11-26 16:24:52 +01:00
Stephan
d377015269 Added FactoorSharp to the list of valid pdf sources 2025-10-28 15:16:08 +01:00
langfr
95b9325222 Use UTF-8 when creating new Strings from byte[]. 2025-10-08 11:29:54 +01:00
Felix Eckhofer
a63508658e Fix typo 2025-09-08 09:56:07 +02:00
jstaerk
dadf0de4b0 closes #926 2025-09-01 10:38:54 +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
Jochen Staerk
1006ead2ca Merge branch 'master' into code-quality-enhancements-part-2 2025-08-11 09:36:32 +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
jstaerk
74a939d1f1 closes #908 2025-08-04 10:18:03 +02:00
Daniel Luckas
8d34196313 Merge branch 'master' into code-quality-enhancements 2025-07-23 09:27:58 +02:00
jstaerk
0f07baa08e Merge branch 'master' of github.com:ZUGFeRD/mustangproject 2025-07-22 16:29:30 +02:00
jstaerk
8a13619501 closes #890 2025-07-22 16:28:54 +02:00
Daniel Luckas
2243f8ce6f Enhance code quality 2025-07-17 15:51:20 +02:00
Daniel Luckas
0128e39353 Close resources after usage 2025-07-17 14:22:27 +02:00