AttestwireRule referenceBR-DE-28

BR-DE-28 The seller email address should be a single well-formed address

noun · XRechnung · warning · BT-43

For a sample invoice, the library reports: The seller contact email address (BT-43) must contain exactly one "@", flanked by at least two characters on each side and by neither a space nor a dot, and must not begin or end with a dot. "Buchhaltung <rechnungen@acme.example>" does not satisfy that shape.

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

Business term
BT-43
Severity
warning

The fix

Supply a single, plain email address — no display name, no angle brackets, no comma-separated list.

A passing value

the shape this field expects
"email": "rechnungen@example.de"

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-28",
  "field": "BT-43",
  "severity": "warning",
  "message": "The seller contact email address (BT-43) must contain exactly one \"@\", flanked by at least two characters on each side and by neither a space nor a dot, and must not begin or end with a dot. \"Buchhaltung <rechnungen@acme.example>\" does not satisfy that shape.",
  "fix": "Supply a single, plain email address — no display name, no angle brackets, no comma-separated list.",
  "example": "\"email\": \"rechnungen@example.de\"",
  "xpath": "/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:Contact/cbc:ElectronicMail",
  "docsUrl": "https://attestwire.com/rules/BR-DE-28"
}

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