All error codes › BR-G-04
BR-G-04 – Export outside the EU: seller VAT identifier missing (charge)
Erroren16931applies to Romanian e-Factura
What the rule says
An Invoice that contains a Document level charge (BG-21) where the Document level charge VAT category code (BT-102) is "Export outside the EU" shall contain the Seller VAT Identifier (BT-31) or the Seller tax representative VAT identifier (BT-63).
How to fix it
Fill in or correct the fields named in the rule (the BT/BG codes tell you which). The test below shows exactly what is checked in the XML. Quickest: validate the invoice to get the exact location and, for amounts, the correct value.
Paste the XML and see every error with the exact fix and the correct amounts.
Where it is checked in the XML
Context: /ubl:Invoice | /cn:CreditNote
Test (XPath):
(exists(//cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='G']) and (exists(//cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID) or exists(//cac:TaxRepresentativeParty/cac:PartyTaxScheme[cac:TaxScheme/(normalize-space(upper-case(cbc:ID)) = 'VAT')]/cbc:CompanyID))) or not(exists(//cac:AllowanceCharge[cbc:ChargeIndicator=true()]/cac:TaxCategory[normalize-space(cbc:ID)='G'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']))
Related rules
BR-G-01Export outside the EU: VAT breakdown for this category missingBR-G-02Export outside the EU: seller VAT identifier missingBR-G-03Export outside the EU: seller VAT identifier missing (allowance)BR-G-05Export outside the EU: wrong VAT rate on a lineBR-G-06Export outside the EU: wrong VAT rate on an allowanceBR-G-07Export outside the EU: wrong VAT rate on a chargeBR-G-08Export outside the EU: wrong taxable amount in the VAT breakdownBR-G-09Export outside the EU: wrong VAT amount in the VAT breakdownBR-G-10Export outside the EU: exemption reason missing or not allowed