Reference
Markdown exportBR-AE-02 Reverse charge invoice line requires seller and buyer tax identifiers
An invoice that contains an invoice line (BG-25) where the invoiced item VAT category code (BT-151) is "Reverse charge" (AE) 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).
Problem Description
ERROR
EN 16931 VAT category rule
Interactive pipeline
Where BR-AE-02 is checked
Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.
BR-AE-02 EN 16931 VAT category rule
Reported in stage 2: EN 16931 rules.
Level error: the report recommends rejecting the invoice.
Stage 2 · What it checks
EN 16931 rules
- The core business terms are present (BR-01 to BR-65).
- Totals add up and related fields agree (BR-CO); codes and decimals are valid (BR-CL, BR-DEC).
- Each VAT category is consistent: S, Z, E, AE, K, G, O, L, M (BR-S, BR-Z, BR-AE, BR-IC …).
Example codes
Typical fix
Recalculate totals and VAT from the line data, and correct the VAT category in the source data.
Solution
Enter a seller tax identifier (BT-31, BT-32 or BT-63) and a buyer identifier (BT-48 or BT-47) as soon as one line carries category AE. In UBL, BT-48 is cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID with TaxScheme VAT, and BT-47 is cac:PartyLegalEntity/cbc:CompanyID. For cross-border reverse charge within the EU, prefer the buyer VAT identifier in BT-48, because EU invoicing rules require it when the buyer is liable for the VAT.
Quick actions
Context and Significance
Under reverse charge, the buyer, not the seller, accounts for the VAT, so both parties must be identifiable on the invoice. In practice, the error occurs most often when the customer VAT number is shown on the PDF but is missing from the customer master data or the XML export.
Valid Examples
- Line with BT-151 = AE, seller BT-31 = DE123456789 and buyer BT-48 = FR32123456789
Invalid Examples
- Line with BT-151 = AE and seller BT-31 present, but no BT-48 or BT-47 for the buyer
- Line with BT-151 = AE and no seller tax identifier (BT-31, BT-32 or BT-63)
Code Examples
<cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyTaxScheme>
<cbc:CompanyID>DE123456789</cbc:CompanyID>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyTaxScheme>
<cbc:CompanyID>FR32123456789</cbc:CompanyID>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:InvoiceLine>
<cac:Item>
<cac:ClassifiedTaxCategory>
<cbc:ID>AE</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
</cac:InvoiceLine><cac:AccountingSupplierParty>
<cac:Party>
<cac:PartyTaxScheme>
<cbc:CompanyID>DE123456789</cbc:CompanyID>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party>
</cac:AccountingSupplierParty>
<cac:AccountingCustomerParty>
<cac:Party>
<cac:PartyLegalEntity>
<cbc:RegistrationName>Client SARL</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:Party>
</cac:AccountingCustomerParty>
<cac:InvoiceLine>
<cac:Item>
<cac:ClassifiedTaxCategory>
<cbc:ID>AE</cbc:ID>
<cbc:Percent>0</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:ClassifiedTaxCategory>
</cac:Item>
</cac:InvoiceLine>