BR-G-02 Export outside the EU (G): seller VAT ID missing

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

ErrorEN 16931BT-31BT-32BT-48BT-63

Official rule text

[BR-G-02]-An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63).

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

What it means

With “export outside the EU (G)” the invoice needs the VAT ID of the seller or its tax representative. What each VAT category code requires: breakdown, rates, tax IDs and exemption reasons.

Docfaro reports a breach of BR-G-02 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-31 Seller VAT identifier

UBL 2.1
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID
CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']

BT-32 Seller tax registration identifier

UBL 2.1
/Invoice/cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID!='VAT']/cbc:CompanyID
CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='FC']

BT-48 Buyer VAT identifier

UBL 2.1
/Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID
CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']

BT-63 Seller tax representative VAT identifier

UBL 2.1
/Invoice/cac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyID
CII D16B
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID

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

Add the missing tax identifier.

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 groupVAT category rules (BR-S, BR-Z, BR-E, BR-AE, BR-IC, BR-G, BR-O)

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: