mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
111 lines
5 KiB
XML
111 lines
5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<scenarios xmlns="http://www.xoev.de/de/validator/framework/1/scenarios" frameworkVersion="1.0.0">
|
|
<name>Prüftool-Konfiguration XRechnung (Entwurf)</name>
|
|
<author>KoSIT</author>
|
|
<date>2017-09-20</date>
|
|
<description>
|
|
<p>Prüfung von Dokumenten auf Konformität zum Standard XRechnung (www.xoev.de/de/xrechnung)</p>
|
|
</description>
|
|
|
|
<scenario>
|
|
<name>EN16931 CIUS XRechnung (UBL Invoice)</name>
|
|
<namespace prefix="cbc">urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2</namespace>
|
|
<namespace prefix="invoice">urn:oasis:names:specification:ubl:schema:xsd:Invoice-2</namespace>
|
|
<match>/invoice:Invoice[starts-with(cbc:CustomizationID, 'urn:cen.eu:en16931:2017')]</match>
|
|
<validateWithXmlSchema>
|
|
<resource>
|
|
<name>XML Schema for UBL 2.1 Invoice</name>
|
|
<location>resources/xrechnung/ubl21/xsdrt/maindoc/UBL-Invoice-2.1.xsd</location>
|
|
</resource>
|
|
</validateWithXmlSchema>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Schematron rules for EN16931 (UBL)</name>
|
|
<location>resources/xrechnung/ubl21/xsl/EN16931-UBL-validation.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Schematron rules for Invoice - CIUS XRechnung (UBL)</name>
|
|
<location>resources/xrechnung/ubl21/xsl/XRechnung-UBL-validation-Invoice.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<createReport>
|
|
<resource>
|
|
<name>Prüfbericht für XRechnung</name>
|
|
<location>resources/xrechnung/xrechnung-report.xsl</location>
|
|
</resource>
|
|
</createReport>
|
|
</scenario>
|
|
|
|
<scenario>
|
|
<name>EN16931 CIUS XRechnung (UBL CreditNote)</name>
|
|
<namespace prefix="cbc">urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2</namespace>
|
|
<namespace prefix="creditnote">urn:oasis:names:specification:ubl:schema:xsd:CreditNote-2</namespace>
|
|
<match>/creditnote:CreditNote[starts-with(cbc:CustomizationID, 'urn:cen.eu:en16931:2017')]</match>
|
|
<validateWithXmlSchema>
|
|
<resource>
|
|
<name>XML Schema for UBL 2.1 CreditNote</name>
|
|
<location>resources/xrechnung/ubl21/xsdrt/maindoc/UBL-CreditNote-2.1.xsd</location>
|
|
</resource>
|
|
</validateWithXmlSchema>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Schematron rules for EN16931 (UBL)</name>
|
|
<location>resources/xrechnung/ubl21/xsl/EN16931-UBL-validation.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Schematron rules for CreditNote - CIUS XRechnung (UBL)</name>
|
|
<location>resources/xrechnung/ubl21/xsl/XRechnung-UBL-validation-CreditNote.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<createReport>
|
|
<resource>
|
|
<name>Prüfbericht für XRechnung</name>
|
|
<location>resources/xrechnung/xrechnung-report.xsl</location>
|
|
</resource>
|
|
</createReport>
|
|
</scenario>
|
|
|
|
<scenario>
|
|
<name>EN16931 CIUS XRechnung (CII)</name>
|
|
<namespace prefix="rsm">urn:un:unece:uncefact:data:standard:CrossIndustryInvoice:100</namespace>
|
|
<namespace prefix="ram">urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100</namespace>
|
|
<match>/rsm:CrossIndustryInvoice[starts-with(rsm:ExchangedDocumentContext/ram:GuidelineSpecifiedDocumentContextParameter/ram:ID, 'urn:cen.eu:en16931:2017')]</match>
|
|
<validateWithXmlSchema>
|
|
<resource>
|
|
<name>XML Schema for UN/CEFACT XML (SCRDM - CII)</name>
|
|
<location>resources/xrechnung/cii/xsd/CrossIndustryInvoice_100pD16B.xsd</location>
|
|
</resource>
|
|
</validateWithXmlSchema>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Schematron rules for EN16931 (CII)</name>
|
|
<location>resources/xrechnung/cii/xsl/EN16931-CII-validation.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<validateWithSchematron>
|
|
<resource>
|
|
<name>Schematron rules for CIUS XRechnung (CII)</name>
|
|
<location>resources/xrechnung/cii/xsl/XRechnung-CII-validation.xsl</location>
|
|
</resource>
|
|
</validateWithSchematron>
|
|
<createReport>
|
|
<resource>
|
|
<name>Prüfbericht für XRechnung</name>
|
|
<location>resources/xrechnung/xrechnung-report.xsl</location>
|
|
</resource>
|
|
</createReport>
|
|
</scenario>
|
|
|
|
<noScenarioReport>
|
|
<resource>
|
|
<name>Default Report</name>
|
|
<location>resources/default-report.xsl</location>
|
|
</resource>
|
|
</noScenarioReport>
|
|
|
|
|
|
</scenarios>
|