Scheme identifier for the electronic endpoint

Error BR-DEX-07 XRechnung

Any scheme identifier for an Endpoint Identifier in <name/> MUST belong to the CEF EAS code list.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The value of schemeID for the electronic endpoint is not in the CEF EAS code list. The value must not contain a space.

What the rule means

The scheme identifier indicates the system used to form the electronic endpoint identifier. A value from the CEF EAS code list identifies that system unambiguously.

Please use an allowed scheme identifier for the electronic endpoint

A scheme identifier is provided for the electronic endpoint in ram:URIID, but it is not accepted by this check. You can correct it using the CEF EAS code list.

What to do
  1. Check the value of schemeID in ram:URIID.
  2. Use a single identifier from the CEF EAS code list.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:URIID schemeID="0088 0208">1234567890123</ram:URIID>
✓ Correct
<ram:URIID schemeID="0088">1234567890123</ram:URIID>
Technical details

When @schemeID is present, the test checks that its normalized value contains no space and occurs in $CEF-EAS-EXT-CODES.

Where the rule applies

The rule applies to ram:URIID within ram:URIUniversalCommunication when the schemeID attribute is present and the rule applies to an extension.

Context (rule/@context)
ram:URIUniversalCommunication/ram:URIID[@schemeID and $isExtension]
Test expression (assert/@test)
(( not(contains(normalize-space(@schemeID), ' ')) and contains($CEF-EAS-EXT-CODES, concat(' ', normalize-space(@schemeID), ' ')) ))