BR-DEX-07
Any scheme identifier for an Endpoint Identifier in … MUST belong to the CEF EAS code list.
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
cbc:EndpointID[@schemeID and $isExtension]
((not(contains(normalize-space(@schemeID), ' ')) and contains($CEF-EAS-EXT-CODES, concat(' ', normalize-space(@schemeID), ' '))))
Checked with XRechnung 3.0 Invoice (UBL), XRechnung 3.0 Credit Note (UBL)
ram:URIUniversalCommunication/ram:URIID[@schemeID and $isExtension]
((not(contains(normalize-space(@schemeID), ' ')) and contains($CEF-EAS-EXT-CODES, concat(' ', normalize-space(@schemeID), ' '))))
Checked with XRechnung 3.0 Invoice (CII)