Skip to content

BR-AE-02: Seller or buyer identifier missing for invoice line with category AE

Official message

[BR-AE-02] An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47).

EN 16931 (CII) · Error · Message language: English · Version: xrechnung-3.0.2-validator-configuration-2026-08-31

[BR-AE-02] An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47).

EN 16931 (UBL) · Error · Message language: English · Version: xrechnung-3.0.2-validator-configuration-2026-08-31

[BR-AE-02] An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "Reverse charge" shall contain the Seller VAT Identifier (BT-31), the Seller Tax registration identifier (BT-32) and/or the Seller tax representative VAT identifier (BT-63) and the Buyer VAT identifier (BT-48) and/or the Buyer legal registration identifier (BT-47).

Factur-X / ZUGFeRD EN 16931 · Error · Message language: English · Version: Factur-X 1.08 / ZUGFeRD 2.4
Severity
Error The invoice is invalid and may be rejected by the recipient.
Applies to
EN 16931 (CII), EN 16931 (UBL), Factur-X / ZUGFeRD EN 16931
Affected fields
BG-25, BT-151, BT-31, BT-32, BT-63, BT-48, BT-47

What does this mean?

If the invoice contains an invoice line (BG-25) with VAT category (BT-151) AE (Reverse charge), it must contain the Seller VAT identifier (BT-31), the Seller tax registration identifier (BT-32) or the Seller tax representative VAT identifier (BT-63) and also the Buyer VAT identifier (BT-48) or the Buyer legal registration identifier (BT-47). At least one of the two is missing.
CII: for the seller only ram:SpecifiedTaxRegistration/ram:ID with schemeID VA (BT-31) or FC (BT-32) counts, for the tax representative only schemeID VA. UBL: for the seller any cac:PartyTaxScheme/cbc:CompanyID is sufficient, for the tax representative only tax scheme VAT counts. Buyer: in CII ram:SpecifiedTaxRegistration/ram:ID with schemeID VA or ram:SpecifiedLegalOrganization/ram:ID counts, in UBL cac:PartyTaxScheme/cbc:CompanyID with tax scheme VAT or cac:PartyLegalEntity/cbc:CompanyID.

Typical causes

Neither a VAT identifier nor a tax registration identifier was given for the seller.
Both VAT identifier and legal registration identifier of the buyer are missing.
CII: the VAT identifier was given without schemeID VA.

How to fix the error

State the seller VAT identifier (BT-31) or the seller tax registration identifier (BT-32); if the seller has a tax representative, the representative's VAT identifier (BT-63) is sufficient as well.
CII: ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID with schemeID="VA" (BT-31) or schemeID="FC" (BT-32), tax representative: ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID with schemeID="VA". UBL: cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID, tax representative: cac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyID with cac:TaxScheme/cbc:ID = VAT.
State the buyer VAT identifier (BT-48) or the buyer legal registration identifier (BT-47). CII: ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID with schemeID="VA" or ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:ID, UBL: cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID or cac:PartyLegalEntity/cbc:CompanyID.

In E-Rechnungsfreund

In the invoice form, section "Verkäufer (BG-4)" (seller), fill in the field "USt-IdNr. (BT-31/48/63)" (VAT identifier) or ("Experte" view) "Lokale Steuernummer (BT-32)" (tax registration identifier); they are output with schemeID VA or FC. Alternatively fill in the field "USt-IdNr. (BT-31/48/63)" in section "Steuervertreter (BG-11)" (tax representative, "Experte" view).
In section "Käufer (BG-7)" (buyer) fill in the field "USt-IdNr. (BT-31/48/63)" or ("Experte" view) "Handelsregisternummer (BT-30/47/61)" (legal registration identifier).

Example

Wrong

<ram:SellerTradeParty>
  <ram:Name>Sample Ltd</ram:Name>
  ...
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA">DE123456789</ram:ID>
  </ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>
<ram:BuyerTradeParty>
  <ram:Name>Koper BV</ram:Name>
  ...
</ram:BuyerTradeParty>

Correct

<ram:SellerTradeParty>
  <ram:Name>Sample Ltd</ram:Name>
  ...
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA">DE123456789</ram:ID>
  </ram:SpecifiedTaxRegistration>
</ram:SellerTradeParty>
<ram:BuyerTradeParty>
  <ram:Name>Koper BV</ram:Name>
  ...
  <ram:SpecifiedTaxRegistration>
    <ram:ID schemeID="VA">NL123456789B01</ram:ID>
  </ram:SpecifiedTaxRegistration>
</ram:BuyerTradeParty>
For developers: test expression per syntax

EN 16931 (CII) (CII)

Context: //rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'AE'][upper-case(ram:TypeCode) = 'VAT']

(//ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = ('VA', 'FC')] or //ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA']) and (//ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA'] or //ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:ID)

EN 16931 (UBL) (UBL)

Context: /ubl:Invoice | /cn:CreditNote

(exists(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'AE'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']) and (exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID) or exists(//cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID)) and (exists(//cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID) or exists(//cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID))) or not(exists(//cac:ClassifiedTaxCategory[normalize-space(cbc:ID) = 'AE'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']))

Factur-X / ZUGFeRD EN 16931 (CII)

Technical ID in the source: FX-SCH-A-000235

Context: //rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'AE']

(//ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = ('VA', 'FC')] or //ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA']) and (//ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID = 'VA'] or //ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:ID)

Related validation rules

  • BR-AE-01: Not exactly one VAT breakdown for category AE
  • BR-AE-03: Seller or buyer identifier missing for document level allowance with category AE
  • BR-AE-04: Seller or buyer identifier missing for document level charge with category AE
  • BR-AE-05: VAT rate of invoice line with category AE is not 0
  • BR-AE-06: VAT rate of document level allowance with category AE is not 0
  • BR-AE-07: VAT rate of document level charge with category AE is not 0

Frequently asked questions

Is the buyer legal registration identifier sufficient?

For this rule, yes: it requires the buyer VAT identifier (BT-48) or the buyer legal registration identifier (BT-47). For the seller the VAT identifier, the tax registration identifier or the tax representative VAT identifier is sufficient.

Last updated:
Explanation of the validation rule, not legal or tax advice.