VAT categories (BR-S, BR-Z, BR-E, BR-AE, BR-K, BR-G, BR-O)Error

BR-AE-02 VAT IDs missing for reverse charge

What BR-AE-02 means

With reverse charge (AE) the buyer pays the VAT. The invoice must therefore identify both parties: the seller with VAT ID (BT-31), tax number (BT-32) or tax representative (BT-63), and the buyer with VAT ID (BT-48) or legal registration identifier (BT-47).

Error: the invoice is not valid until this is fixed.

Common causes

  • The buyer's VAT ID is missing in the customer data.
  • Only one of the two parties has a VAT ID in the export.

How to fix BR-AE-02

  1. Add the buyer's VAT ID. For cross-border customers check it in the EU VIES database.
  2. Add your own VAT ID or tax number.
  3. Create the invoice again and check the new file.

Where the fields are in the XML

  • BT-31 Seller VAT identifier

    UBL
    cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID='VAT']/cbc:CompanyID
    CII
    ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']
  • BT-32 Seller tax registration identifier

    UBL
    cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/cbc:ID!='VAT']/cbc:CompanyID
    CII
    ram:ApplicableHeaderTradeAgreement/ram:SellerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='FC']
  • BT-63 Seller tax representative VAT identifier

    UBL
    cac:TaxRepresentativeParty/cac:PartyTaxScheme/cbc:CompanyID
    CII
    ram:ApplicableHeaderTradeAgreement/ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedTaxRegistration/ram:ID
  • BT-48 Buyer VAT identifier

    UBL
    cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
    CII
    ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedTaxRegistration/ram:ID[@schemeID='VA']
  • BT-47 Buyer legal registration identifier

    UBL
    cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
    CII
    ram:ApplicableHeaderTradeAgreement/ram:BuyerTradeParty/ram:SpecifiedLegalOrganization/ram:ID

UBL paths start below the Invoice element. CII paths start below rsm:SupplyChainTradeTransaction unless they begin with rsm:.

Based on the EN 16931 business rules (CEN/TC 434) and the XRechnung 3.0 rules published by KoSIT. This page explains the rules in plain language and is not legal or tax advice.