BR-DE-28
XRechnung 2.5.0 · UBL
Original rule text
[BR-DE-28] In BT-43 soll genau ein @-Zeichen enthalten sein, welches nicht von einem Leerzeichen, einem Punkt, aber mindestens zwei Zeichen auf beiden Seiten flankiert werden soll. Ein Punkt sollte nicht am Anfang oder am Ende stehen.
matches(normalize-space(cbc:ElectronicMail), $XR-EMAIL-REGEX)What this rule requires
This is a warning, so the document is not rejected, but the rule recommends that the supplier contact email in BT-43 (cbc:ElectronicMail in UBL, ram:URIID in CII) have a plausible email shape. The test accepts values with no whitespace, exactly one @, at least one non-whitespace character before @, and after @ a domain that contains at least one dot with at least one non-dot/non-space character before each dot and no dot immediately after @ or at the end. A value fails if it is empty or only whitespace, has no @ or more than one @, contains spaces, or lacks a dotted domain after @ with non-empty labels.
How to fix
Set the email address in BT-43 to a value that contains exactly one @, no spaces, at least one character before @, and a domain after @ like example.com with at least one dot and non-empty labels. Check for hidden whitespace or extra @ characters. If the email looks correct, verify that you are editing the correct cbc:ElectronicMail or ram:URIID element in the supplier contact.
Guidance on this rule. The original text above is authoritative.