I think that the latest released version of the schematron rules for the XRechnung version 2.0.0 did not update the expected cbc:CustomizationID value for credit notes. Version 1.4.0 of the rules look like this:
<!--ASSERT -->
<xsl:choose>
<xsl:when test="cbc:CustomizationID = 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2'"/>
<xsl:otherwise>
<svrl:failed-assert xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
test="cbc:CustomizationID = 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2'">
<xsl:attribute name="id">BR-DE-21</xsl:attribute>
<xsl:attribute name="flag">warning</xsl:attribute>
<xsl:attribute name="location">
<xsl:apply-templates select="." mode="schematron-select-full-path"/>
</xsl:attribute>
<svrl:text>[BR-DE-21] Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen.</svrl:text>
</svrl:failed-assert>
</xsl:otherwise>
</xsl:choose>
The invoice test looks like this:
<xsl:when test="cbc:CustomizationID = 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0' or cbc:CustomizationID = 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0#conformant#urn:xoev-de:kosit:extension:xrechnung_2.0'"/>
<xsl:otherwise>
<svrl:failed-assert xmlns:svrl="http://purl.oclc.org/dsdl/svrl"
test="cbc:CustomizationID = 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0' or cbc:CustomizationID = 'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0#conformant#urn:xoev-de:kosit:extension:xrechnung_2.0'">
It would be amazing if a fixed version could be made public soon. We are currently updating our generation of XRechnung files to 2.0.0 and are relying on the validator to be sure that we are good to go ;-)
Hello,
I think that the latest released version of the schematron rules for the XRechnung version 2.0.0 did not update the expected cbc:CustomizationID value for credit notes. Version 1.4.0 of the rules look like this:
The invoice test looks like this:
It would be amazing if a fixed version could be made public soon. We are currently updating our generation of XRechnung files to 2.0.0 and are relying on the validator to be sure that we are good to go ;-)
Greetings and best wishes from Berlin Heiko