AttestwireRule referenceBR-DE-5

BR-DE-5 XRechnung requires a seller contact name

noun · XRechnung · fatal · BT-41

For a sample invoice, the library reports: XRechnung requires the element "Seller contact point" (BT-41). 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.

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

Business term
BT-41
Severity
fatal

The fix

Set seller.contact.name to the person or desk that answers invoice queries — a department name such as "Buchhaltung" is acceptable.

A passing value

the shape this field expects
"contact": { "name": "Buchhaltung" }

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-5",
  "field": "BT-41",
  "severity": "fatal",
  "message": "XRechnung requires the element \"Seller contact point\" (BT-41). 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.name to the person or desk that answers invoice queries — a department name such as \"Buchhaltung\" is acceptable.",
  "example": "\"contact\": { \"name\": \"Buchhaltung\" }",
  "xpath": "/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:Name",
  "docsUrl": "https://attestwire.com/rules/BR-DE-5"
}

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