AttestwireRule referenceBR-07

BR-07 An invoice must contain the buyer name

noun · EN 16931 · fatal · BT-44

For a sample invoice, the library reports: An invoice must contain the buyer name (BT-44). Without it the recipient cannot prove the invoice was addressed to them, which is a condition of deducting the input VAT.

Business term
BT-44
Severity
fatal

The fix

Set buyer.name to the legal name of the organisation being billed, exactly as they gave it to you.

A passing value

the shape this field expects
"buyer": { "name": "Kunde 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:

TeachingError
{
  "rule": "BR-07",
  "field": "BT-44",
  "severity": "fatal",
  "message": "An invoice must contain the buyer name (BT-44). Without it the recipient cannot prove the invoice was addressed to them, which is a condition of deducting the input VAT.",
  "fix": "Set buyer.name to the legal name of the organisation being billed, exactly as they gave it to you.",
  "example": "\"buyer\": { \"name\": \"Kunde GmbH\" }",
  "xpath": "/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name",
  "docsUrl": "https://attestwire.com/rules/BR-07"
}

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