BR-DE-27
XRechnung 2.1.0 · UBL
Original rule text
[BR-DE-27] In BT-42 sollen mindestens drei Ziffern enthalten sein.
matches(normalize-space(cbc:Telephone), $XR-TELEPHONE-REGEX)What this rule requires
This rule checks that the supplier contact telephone number (BT-42) contains at least three digits. It is advisory (warning), so a value with fewer than three digits is reported but does not reject the invoice. The test ignores surrounding whitespace and looks for at least three digit characters anywhere in cbc:Telephone (UBL) or ram:TelephoneUniversalCommunication/ram:CompleteNumber (CII).
How to fix
Change the supplier contact telephone number so that the value contains at least three digits, for example by including the area code. The rule does not require a specific phone number format beyond having three digits.
Guidance on this rule. The original text above is authoritative.