-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscenarios.xml
219 lines (200 loc) · 10.7 KB
/
scenarios.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<?xml version="1.0" encoding="UTF-8"?>
<scenarios xmlns="http://www.xoev.de/de/validator/framework/1/scenarios"
frameworkVersion="1.0.0">
<name>Validator Configuration ZUGFeRD 2.3.2</name>
<author>MGGM Software GmbH - Peter Sawatzki/Landrix Software - Sven Harazim </author>
<date>2025-02-11</date>
<description>
<p>ZUGFeRD Validator Configuration ZUGFeRD 2.3.2</p>
</description>
<scenario>
<name>EN16931 (CII) ZUGFeRD/Factur-X Extended</name>
<description>
<p>Validates ZUGFeRD/Factur-X Profile Extended via Schema version D22B</p>
</description>
<!-- CII namespaces -->
<namespace prefix="rsm">urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100</namespace>
<namespace prefix="ram">urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100</namespace>
<!-- Namespace for acceptMatch XPATH within validator report XML -->
<namespace prefix="rep">http://www.xoev.de/de/validator/varl/1</namespace>
<match>
exists(/rsm:CrossIndustryInvoice[ rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID/text() = 'urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:extended']) <!-- ZUGFeRD 2.3 -->
or exists(/rsm:CrossIndustryInvoice[ rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID/text() = 'urn:cen.eu:en16931:2017#conformant#urn:zugferd.de:2p0:extended']) <!-- old 2.0 version -->
</match>
<validateWithXmlSchema>
<resource>
<!-- <name>UN/CEFACT XML Schema for Cross Industry Invoice (CII)</name>
<location>Schema/factur-x-1.07.2/5.%20CII%20D22B%20XSD/CrossIndustryInvoice_100pD22B.xsd</location> -->
<name>XML Schema for FACTUR-X; 1.0; EN16931-CONFORMANT-EXTENDED</name>
<location>Schema/zugferd22/EXTENDED/FACTUR-X_EXTENDED.xsd</location>
</resource>
</validateWithXmlSchema>
<validateWithSchematron>
<resource>
<name>Schematron rules for Factur-X; 1.07.2; EN16931-CONFORMANT-EXTENDED</name>
<!-- <location>Schema/factur-x-1.07.2/4.%20Factur-X_1.07.2_EXTENDED/_XSLT_EXTENDED/FACTUR-X_EXTENDED.xslt</location> -->
<location>Schema/mggm_factur-x-1.07.2_EXTENDED.xslt</location> <!-- use human-readable-paths -->
</resource>
</validateWithSchematron>
<createReport>
<resource>
<name>Validation report for ZUGFeRD/Factur-X Profile Extended</name>
<location>resources/xrechnung-report.xsl</location>
</resource>
</createReport>
<acceptMatch>/rep:report/rep:assessment[1]/rep:accept[1]</acceptMatch>
</scenario>
<scenario>
<name>ZUGFeRD/Factur-X Basic</name>
<description>
<p>Validates ZUGFeRD/Factur-X Profile Basic via Schema version D22B</p>
</description>
<!-- CII namespaces -->
<namespace prefix="rsm">urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100</namespace>
<namespace prefix="ram">urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100</namespace>
<!-- Namespace for acceptMatch XPATH within validator report XML -->
<namespace prefix="rep">http://www.xoev.de/de/validator/varl/1</namespace>
<match>
exists(/rsm:CrossIndustryInvoice[ rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID/text() = 'urn:cen.eu:en16931:2017#compliant#urn:factur-x.eu:1p0:basic']) <!-- ZUGFeRD 2.3 -->
</match>
<validateWithXmlSchema>
<resource>
<!-- <name>UN/CEFACT XML Schema for Cross Industry Invoice (CII)</name>
<location>Schema/factur-x-1.07.2/5.%20CII%20D22B%20XSD/CrossIndustryInvoice_100pD22B.xsd</location> -->
<name>XML Schema for FACTUR-X; 1.0; EN16931-CONFORMANT-EXTENDED</name>
<location>Schema/zugferd22/BASIC/FACTUR-X_BASIC.xsd</location>
</resource>
</validateWithXmlSchema>
<validateWithSchematron>
<resource>
<name>Schematron rules for Factur-X; 1.07.2; EN16931-COMPLIANT-BASIC</name>
<!-- <location>Schema/factur-x-1.07.2/2.%20Factur-X_1.07.2_BASIC/_XSLT_BASIC/FACTUR-X_BASIC.xslt</location> -->
<location>Schema/mggm_factur-x-1.07.2_BASIC.xslt</location> <!-- use human-readable-paths -->
</resource>
</validateWithSchematron>
<createReport>
<resource>
<name>Validation report for ZUGFeRD/Factur-X Profile Basic</name>
<location>resources/xrechnung-report.xsl</location>
</resource>
</createReport>
<acceptMatch>/rep:report/rep:assessment[1]/rep:accept[1]</acceptMatch>
</scenario>
<scenario>
<name>ZUGFeRD/Factur-X BasicWL</name>
<description>
<p>Validates ZUGFeRD/Factur-X Profile BasicWL via Schema version D22B</p>
</description>
<!-- CII namespaces -->
<namespace prefix="rsm">urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100</namespace>
<namespace prefix="ram">urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100</namespace>
<!-- Namespace for acceptMatch XPATH within validator report XML -->
<namespace prefix="rep">http://www.xoev.de/de/validator/varl/1</namespace>
<match>
exists(/rsm:CrossIndustryInvoice[ rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID/text() = 'urn:factur-x.eu:1p0:basicwl']) <!-- ZUGFeRD 2.3 -->
</match>
<validateWithXmlSchema>
<resource>
<!-- <name>UN/CEFACT XML Schema for Cross Industry Invoice (CII)</name>
<location>Schema/factur-x-1.07.2/5.%20CII%20D22B%20XSD/CrossIndustryInvoice_100pD22B.xsd</location> -->
<name>XML Schema for FACTUR-X; 1.0; ACCOUNTING INFORMATION, No XML Invoice, (BASIC WITHOUT LINE)</name>
<location>Schema/zugferd22/BASIC-WL/FACTUR-X_BASIC-WL.xsd</location>
</resource>
</validateWithXmlSchema>
<validateWithSchematron>
<resource>
<name>Schematron rules for Factur-X; 1.07.2; EN16931-COMPLIANT-BASICWL</name>
<!-- <location>Schema/factur-x-1.07.2/2.%20Factur-X_1.07.2_BASIC/_XSLT_BASIC/FACTUR-X_BASIC.xslt</location> -->
<location>Schema/mggm_factur-x-1.07.2_BASICWL.xslt</location> <!-- use human-readable-paths -->
</resource>
</validateWithSchematron>
<createReport>
<resource>
<name>Validation report for ZUGFeRD/Factur-X Profile BasicWL</name>
<location>resources/xrechnung-report.xsl</location>
</resource>
</createReport>
<acceptMatch>/rep:report/rep:assessment[1]/rep:accept[1]</acceptMatch>
</scenario>
<scenario>
<name>ZUGFeRD/Factur-X Comfort (EN16931)</name>
<description>
<p>Validates ZUGFeRD/Factur-X Profile Comfort (EN16931) via Schema version D22B</p>
</description>
<!-- CII namespaces -->
<namespace prefix="rsm">urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100</namespace>
<namespace prefix="ram">urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100</namespace>
<!-- Namespace for acceptMatch XPATH within validator report XML -->
<namespace prefix="rep">http://www.xoev.de/de/validator/varl/1</namespace>
<match>
exists(/rsm:CrossIndustryInvoice[ rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID/text() = 'urn:cen.eu:en16931:2017']) <!-- ZUGFeRD 2.3 -->
<!-- or exists(/rsm:CrossIndustryInvoice[ rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID/text() = 'urn:cen.eu:en16931:2017#conformant#urn:factur-x.eu:1p0:comfort'])
-->
</match>
<validateWithXmlSchema>
<resource>
<!-- <name>UN/CEFACT XML Schema for Cross Industry Invoice (CII)</name>
<location>Schema/factur-x-1.07.2/5.%20CII%20D22B%20XSD/CrossIndustryInvoice_100pD22B.xsd</location> -->
<name>XML Schema for FACTUR-X; 1.0; EN16931-CONFORMANT-EXTENDED</name>
<location>Schema/zugferd22/EN16931/FACTUR-X_EN16931.xsd</location>
</resource>
</validateWithXmlSchema>
<validateWithSchematron>
<resource>
<name>Schematron rules for Factur-X; 1.07.2; EN16931-COMPLIANT (FULLY)</name>
<!-- <location>Schema/factur-x-1.07.2/3.%20Factur-X_1.07.2_EN16931/_XSLT_EN16931/FACTUR-X_EN16931.xslt</location> -->
<location>Schema/mggm_factur-x-1.07.2_EN16931.xslt</location> <!-- use human-readable-paths -->
</resource>
</validateWithSchematron>
<createReport>
<resource>
<name>Validation report for ZUGFeRD/Factur-X Comfort (EN16931)</name>
<location>resources/xrechnung-report.xsl</location>
</resource>
</createReport>
<acceptMatch>/rep:report/rep:assessment[1]/rep:accept[1]</acceptMatch>
</scenario>
<scenario>
<name>ZUGFeRD/Factur-X MINIMUM </name>
<description>
<p>Validates ZUGFeRD/Factur-X Profile MINIMUM via Schema version D22B</p>
</description>
<!-- CII namespaces -->
<namespace prefix="rsm">urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100</namespace>
<namespace prefix="ram">urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100</namespace>
<!-- Namespace for acceptMatch XPATH within validator report XML -->
<namespace prefix="rep">http://www.xoev.de/de/validator/varl/1</namespace>
<match>
exists(/rsm:CrossIndustryInvoice[ rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID/text() = 'urn:factur-x.eu:1p0:minimum']) <!-- ZUGFeRD 2.3 -->
</match>
<validateWithXmlSchema>
<resource>
<!-- <name>UN/CEFACT XML Schema for Cross Industry Invoice (CII)</name>
<location>Schema/factur-x-1.07.2/5.%20CII%20D22B%20XSD/CrossIndustryInvoice_100pD22B.xsd</location> -->
<name>XML Schema for FACTUR-X; 1.0; ACCOUNTING INFORMATION, No XML Invoice, (MINIMUM)</name>
<location>Schema/zugferd22/MINIMUM/FACTUR-X_MINIMUM.xsd</location>
</resource>
</validateWithXmlSchema>
<validateWithSchematron>
<resource>
<name>Schematron rules for Factur-X; 1.07.2; ACCOUNTING INFORMATION, No XML Invoice, (MINIMUM)</name>
<!-- <location>Schema/factur-x-1.07.2/3.%20Factur-X_1.07.2_MINIMUM/_XSLT_MINIMUM/FACTUR-X_MINIMUM.xslt</location> -->
<location>Schema/mggm_factur-x-1.07.2_MINIMUM.xslt</location> <!-- use human-readable-paths -->
</resource>
</validateWithSchematron>
<createReport>
<resource>
<name>Validation report for ZUGFeRD/Factur-X MINIMUM</name>
<location>resources/xrechnung-report.xsl</location>
</resource>
</createReport>
<acceptMatch>/rep:report/rep:assessment[1]/rep:accept[1]</acceptMatch>
</scenario>
<!-- In case none of the aboce scenarios matched/were applied -->
<noScenarioReport>
<resource>
<name>Default Report</name>
<location>resources/default-report.xsl</location>
</resource>
</noScenarioReport>
</scenarios>