Error codes

BR-DE-27: Telephone number with too few digits (BT-42)

Severity: warning · Syntax: CII, UBL

Official message

In BT-42 sollen mindestens drei Ziffern enthalten sein.

What this means

BT-42 should contain at least three digits. Severity warning. The assertion matches the number against XR-TELEPHONE-REGEX, which in the stylesheet is .*([0-9].*){3,}.*. UBL reads cbc:Telephone, CII reads ram:CompleteNumber.

Typical cause

The field contains "n/a", a name, or a number with only two digits.

How to fix it

Write a telephone number with at least three digits.

UBL

<cbc:Telephone>+4930123456</cbc:Telephone>

CII

<ram:CompleteNumber>+4930123456</ram:CompleteNumber>

Business term

BT-42

Related rules

Context and assertion

UBL /ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact | /cn:CreditNote/cac:AccountingSupplierParty/cac:Party/cac:Contact

CII /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:DefinedTradeContact

UBL

matches(normalize-space(cbc:Telephone), $XR-TELEPHONE-REGEX)

CII

matches(normalize-space(ram:TelephoneUniversalCommunication/ram:CompleteNumber), $XR-TELEPHONE-REGEX)

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate

Questions

What does BR-DE-27 actually check?

BT-42 should contain at least three digits. Severity warning. The assertion matches the number against XR-TELEPHONE-REGEX, which in the stylesheet is .*([0-9].*){3,}.*. UBL reads cbc:Telephone, CII reads ram:CompleteNumber.

How do I fix BR-DE-27?

Write a telephone number with at least three digits.

If BR-DE-27 passes, is the invoice legally compliant?

No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.