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
58 stars 16 forks source link

Different warrning/error when using CII or UBL #85

Closed j-stefke closed 1 month ago

j-stefke commented 10 months ago

Hello,

when using the validator with die actual Validator Configuration from 2023-11-15 we receive in UBL for example for Codes PEPPOL-EN16931-R020, PEPPOL-EN16931-R010 an error, when validating the CII XML we receive only a warning. Why do we receive for CII only a warrning? It seems that all new processrules with PEPPOL-EN16931-RXXX shown in CII as warrning instead of error. Is there a reason why? The next Problem i see with the warrnings - that the messages could be forward without this relevant informations ("Bewertung: Es wird empfohlen das Dokument anzunehmen und weiter zu verarbeiten.") And just one more question for what is the code CII-SR-453 in the report itself ?

UBL: image

CII: image

301 Xrechnung documentation: image image

Thanks an kind regards

bdewein commented 10 months ago

As Peppol BIS Billing 3.0 does not officially support CII, in XRechnung 3.0 all new PEPPOL-EN16931-xxx rules were set to "warning" in CII for a transitional period (see chapter 13.4 in the Specification XRechnung).

CII-SR-453 was added with CEN Schematron version 1.3.11 (implemented with the latest release of validator-configuration-xrechnung) to ensure BT-20 (Payment terms) cardinality of 0..1 in CII.

svanteschubert commented 9 months ago

Dear KoSIT team,

Shouldn't business rules be independent of syntax? In natural language, shouldn't a sentence be "TRUE / FALSE" regardless of whether I say the sentence in French or English? Can we guarantee that no Peppol provider or ZRE/OZG-RE will use a CII2UBL transformation first and validate afterwards? In this case, a valid CII invoice at the sender becomes an invalid UBL invoice at the recipient! I fear that this is likely to be the case and will cause a lot of frustration and cost in the community. We should not take this risk! Therefore, I strongly suggest aligning the validation levels of both syntaxes to keep them harmonized!

Kind regards, Svante

PS: Why do you believe CII is not officially supported by Peppol? It is an official Peppoll document type: image001 (4) from https://docs.peppol.eu/edelivery/codelists/v8.7/Peppol%20Code%20Lists%20-%20Document%20types%20v8.7.html

phax commented 9 months ago

@svanteschubert there is a differentiation between "Peppol" and "XRechnung on Peppol".

tobitege commented 8 months ago

As Peppol BIS Billing 3.0 does not officially support CII, in XRechnung 3.0 all new PEPPOL-EN16931-xxx rules were set to "warning" in CII for a transitional period (see chapter 13.4 in the Specification XRechnung).

Does that mean that middle- to longterm Xrechnung has to be PEPPOL-compliant, no matter whether customers actually use PEPPOL? I hope any change of warnings to fatal will be communicated WAY in advance for us software developers. :)