Error codes

BR-11: Buyer country code (BT-55) is missing

Severity: fatal · Syntax: CII, UBL

Official message

The Buyer postal address shall contain a Buyer country code (BT-55).

What this means

The buyer address must contain a country code BT-55, non-empty after normalize-space. UBL checks cac:Country/cbc:IdentificationCode in the buyer address context. The ISO list is BR-CL-14.

Typical cause

The address has a street and a city, but no country.

How to fix it

Set the buyer country code.

UBL

<cac:Country>
  <cbc:IdentificationCode>DE</cbc:IdentificationCode>
</cac:Country>

CII

<ram:CountryID>DE</ram:CountryID>

Business term

BT-55

Related rules

Context and assertion

UBL cac:AccountingCustomerParty/cac:Party/cac:PostalAddress

CII /rsm:CrossIndustryInvoice

UBL

normalize-space(cac:Country/cbc:IdentificationCode) != ''

CII

normalize-space(rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:PostalTradeAddress/ram:CountryID) != ''

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate

Questions

What does BR-11 actually check?

The buyer address must contain a country code BT-55, non-empty after normalize-space. UBL checks cac:Country/cbc:IdentificationCode in the buyer address context. The ISO list is BR-CL-14.

How do I fix BR-11?

Set the buyer country code.

If BR-11 passes, is the invoice legally compliant?

No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.