BR-11 Buyer country code missing

What the EN 16931 rule BR-11 demands, where the data sits in UBL and CII, and how to fix the error.

ErrorEN 16931BT-55

Official rule text

[BR-11]-The Buyer postal address shall contain a Buyer country code (BT-55).

Assertion BR-11 in the EN 16931 validation artefacts (CEN/TC 434), validation-1.3.16, UBL and CII (same wording).

What it means

The buyer’s address needs a country code. Mandatory content and structure of every EN 16931 invoice.

Docfaro reports a breach of BR-11 as an error.

Where the data sits

The business terms this rule checks, and the element that carries each of them in the two syntaxes EN 16931 allows.

BT-55 Buyer country code

UBL 2.1
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country/cbc:IdentificationCode
CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID

Prefixes: cbc and cac are the UBL basic and aggregate components; rsm, ram and udt the CII namespaces. In a UBL credit note the root is CreditNote and lines are cac:CreditNoteLine.

How to fix it

Set an ISO 3166 country code in BT-55.

UBL: the element goes into /Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cac:Country

Before

<cac:Country>
  …
  <!-- no cbc:IdentificationCode (BT-55) -->
</cac:Country>

After

<cac:Country>
  …
  <cbc:IdentificationCode>…</cbc:IdentificationCode>
  …
</cac:Country>
CII: the element goes into /rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress

Before

<ram:PostalTradeAddress>
  …
  <!-- no ram:CountryID (BT-55) -->
</ram:PostalTradeAddress>

After

<ram:PostalTradeAddress>
  …
  <ram:CountryID>…</ram:CountryID>
  …
</ram:PostalTradeAddress>

“…” stands for your value and for the elements around it. Keep the element order the schema prescribes; a misplaced element fails the XSD check.

Where the rule applies

Defined inEN 16931 validation artefacts validation-1.3.16
SyntaxesUBL and CII
Official severityerror (fatal)
Docfaro reports it asError
Docfaro checks it forXRechnung, Peppol BIS Billing, and ZUGFeRD / Factur-X in the profiles BASIC, EN 16931 (COMFORT) and EXTENDED. MINIMUM, BASIC WL and ZUGFeRD 1.0 do not carry a full EN 16931 data set and only get basic checks.
Rule groupEN 16931 core rules (BR-01 to BR-65)

All rules explained

Sources

  1. EN 16931 validation artefacts validation-1.3.16 (Schematron, EUPL-1.2)CEN/TC 434 and European Commission, GitHub
  2. Validator-Konfiguration XRechnung 3.0.2, Release 2026-08-31 (XSD UBL 2.1 und CII D16B, Schematron EN 16931 und XRechnung)KoSIT auf GitHub
  3. Revised European standard on eInvoicing EN 16931-1:2026Europäische Kommission

Last reviewed: