BR-DE-27 The seller contact telephone number (BT-42) should contain at least three digits, but "call us" contains 0
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.
This rule is implemented and its error payload below is real, but the long-form write-up — normative text, worked example, divergence note — is not written yet. Everything the library knows about this rule is on this page. Ask and we will prioritise it.
- Business term
BT-42- Severity
warning
What the library returns
The exact object in result.errors when this rule fires.
Generated by running @attestwire/en16931, not transcribed:
{
"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 locates the element in the generated UBL document,
which is where a KoSIT or Peppol validator will report the same problem.
A passing value
"phone": "+49 30 1234567"The fix
Write the full number in international format, e.g. "+49 30 1234567".