Rule reference

BR-06 An invoice must contain the seller name (BT-27) — the name under which you are registered, not a brand or trading style, unless you also supply the registered name separately

An invoice must contain the seller name (BT-27) — the name under which you are registered, not a brand or trading style, unless you also supply the registered name separately.

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-27
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-06",
  "field": "BT-27",
  "severity": "fatal",
  "message": "An invoice must contain the seller name (BT-27) — the name under which you are registered, not a brand or trading style, unless you also supply the registered name separately.",
  "fix": "Set seller.name. If you invoice under a trading name, put the registered name in seller.legalName so both appear in the document.",
  "example": "\"seller\": { \"name\": \"Acme GmbH\" }",
  "xpath": "/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyName/cbc:Name",
  "docsUrl": "https://attestwire.com/rules/BR-06"
}

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
"seller": { "name": "Acme GmbH" }

The fix

Set seller.name. If you invoice under a trading name, put the registered name in seller.legalName so both appear in the document.

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