Skip to content

BR-DE-27: Seller telephone number (BT-42) contains too few digits

Official message

[BR-DE-27] In BT-42 sollen mindestens drei Ziffern enthalten sein.

XRechnung (CII) · Warning · Message language: German · Version: xrechnung-3.0.2-validator-configuration-2026-08-31

[BR-DE-27] In BT-42 sollen mindestens drei Ziffern enthalten sein.

XRechnung (UBL) · Warning · Message language: German · Version: xrechnung-3.0.2-validator-configuration-2026-08-31
Severity
Warning Note: this does not make the invoice invalid, but it should be checked.
Applies to
XRechnung (CII), XRechnung (UBL)
Affected fields
BT-42

What does this mean?

The telephone number in the seller contact details (BT-42) should contain at least three digits. The given number contains fewer. The message is a warning.

Typical causes

The telephone field contains a placeholder such as "-", "n/a" or "0".
Text was entered instead of a telephone number, e.g. "see email".

How to fix the error

Enter a real telephone number for questions, e.g. +49 30 1234567. Spaces, brackets, hyphens and the plus sign are allowed; what matters is at least three digits.
CII: ram:SellerTradeParty/ram:DefinedTradeContact/ram:TelephoneUniversalCommunication/ram:CompleteNumber, UBL: cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Telephone.
Generate and validate the invoice again.

In E-Rechnungsfreund

In the invoice form, section "Verkäufer (BG-4)" (seller), correct the field "Telefon (BT-42/57)".

Example

Wrong

<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber>n/a</ram:CompleteNumber>
</ram:TelephoneUniversalCommunication>

Correct

<ram:TelephoneUniversalCommunication>
  <ram:CompleteNumber>+49 30 1234567</ram:CompleteNumber>
</ram:TelephoneUniversalCommunication>
For developers: test expression per syntax

XRechnung (CII) (CII)

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

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

XRechnung (UBL) (UBL)

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

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

Related validation rules

  • BR-DE-1: Payment instructions (BG-16) are missing
  • BR-DE-10: Deliver to city (BT-77) is missing
  • BR-DE-11: Deliver to post code (BT-78) is missing
  • BR-DE-14: VAT category rate (BT-119) is missing in the VAT breakdown
  • BR-DE-15: Buyer reference (BT-10) is missing
  • BR-DE-16: Seller VAT ID, tax number or tax representative is missing

Last updated:
Explanation of the validation rule, not legal or tax advice.