Attestwire › Rule reference › BR-06
BR-06 An invoice must contain the seller name
noun · EN 16931 · fatal · BT-27
For a sample invoice, the library reports: 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.
- Business term
BT-27- Severity
fatal
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.
A passing value
"seller": { "name": "Acme GmbH" }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:
{
"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 is always a UBL path. On a CII invoice, look for the
matching CII field instead.