AttestwireRule referenceBR-DE-27

BR-DE-27 The seller telephone number should contain at least three digits

noun · XRechnung · warning · BT-42

For a sample invoice, the library reports: The seller contact telephone number (BT-42) should contain at least three digits, but "call us" contains 0. KoSIT raises this as a warning rather than an error, so the invoice will be accepted — but the number as written cannot be dialled.

Diese Regel auf Deutsch: BR-DE-27 — auf Deutsch erklärt.

Business term
BT-42
Severity
warning

The fix

Write the full number in international format, e.g. "+49 30 1234567".

A passing value

the shape this field expects
"phone": "+49 30 1234567"

What the library returns

The full error returned by @attestwire/en16931. It includes the rule ID, affected field and suggested correction. Developers can use this object in their application:

TeachingError
{
  "rule": "BR-DE-27",
  "field": "BT-42",
  "severity": "warning",
  "message": "The seller contact telephone number (BT-42) should contain at least three digits, but \"call us\" contains 0. KoSIT raises this as a warning rather than an error, so the invoice will be accepted — but the number as written cannot be dialled.",
  "fix": "Write the full number in international format, e.g. \"+49 30 1234567\".",
  "example": "\"phone\": \"+49 30 1234567\"",
  "xpath": "/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Telephone",
  "docsUrl": "https://attestwire.com/rules/BR-DE-27"
}

xpath is always a UBL path. On a CII invoice, look for the matching CII field instead.