Rule reference

BR-07 An invoice must contain the buyer name (BT-44)

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.

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-44
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-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 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
"buyer": { "name": "Kunde GmbH" }

The fix

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

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