Rule reference

BR-DE-6 XRechnung requires the element "Seller contact telephone number" (BT-42)

XRechnung requires the element "Seller contact telephone number" (BT-42). The seller contact group is present but incomplete — BR-DE-5, BR-DE-6 and BR-DE-7 each make one part of it mandatory, so supplying two of the three still fails.

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
fatal

What the library returns

The exact object in result.errors when this rule fires. Generated by running @attestwire/en16931, not transcribed:

TeachingError
{
  "rule": "BR-DE-6",
  "field": "BT-42",
  "severity": "fatal",
  "message": "XRechnung requires the element \"Seller contact telephone number\" (BT-42). The seller contact group is present but incomplete — BR-DE-5, BR-DE-6 and BR-DE-7 each make one part of it mandatory, so supplying two of the three still fails.",
  "fix": "Set seller.contact.phone to a reachable number in international format.",
  "example": "\"contact\": { \"phone\": \"+49 30 1234567\" }",
  "xpath": "/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Telephone",
  "docsUrl": "https://attestwire.com/rules/BR-DE-6"
}

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

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

The fix

Set seller.contact.phone to a reachable number in international format.

Arrived from a stack trace? The docsUrl on every error links straight here. Something wrong on this page — tell us.