itplr-kosit / validator-configuration-xrechnung

Configuration for validating documents against the German XRechnung standard using the KoSIT validation tool
https://xeinkauf.de/xrechnung/
Apache License 2.0
54 stars 14 forks source link

Xrechnung UBL 2.1 CreditNote gives possibly wrong warning when validated with validationtool-1.3.0/validator-configuration-xrechnung_2.0.0_2020-07-31 #55

Closed Roman-it20one closed 3 years ago

Roman-it20one commented 3 years ago

Hi Dev Team,

when testing an UBL2.1 Xrechnung CreditNote with the following configuration:

validationtool-1.3.0 validator-configuration-xrechnung_2.0.0_2020-07-31

we get the warning:

[BR-DE-21] Das Element "Specification identifier" (BT-24) soll syntaktisch der Kennung des Standards XRechnung entsprechen.

The value in question looks like this in our document:

urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0 The validator acutally wont even recognize the document if we insert anything else here. But the schema seems to check for xrechnung_1.2 and throws a warning if it does not find that value here. This doesn't seem to make sense. Kind regards Roman Gundacker it20one e-invoicing GmbH
phax commented 3 years ago

This is a duplicate of https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/45 I assume. Check out the 2.0.1 release

rkottmann commented 3 years ago

Yes, this was a bug. Please migrate to new version or fix the <match> Element in the scenario.xml for the CreditNote scenario yourself.