Peppol BIS Billing 3.0 · rule
BR-AF-02
What does BR-AF-02 mean? An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" 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).
Why did my invoice fail BR-AF-02?
When any invoice line uses the VAT category code "IGIC" (code L, Canary Islands), the invoice must identify the seller for tax purposes: it must contain the Seller VAT identifier (BT-31), the Seller tax registration identifier (BT-32), and/or the Seller tax representative VAT identifier (BT-63). At least one of these is needed so the tax authority can attribute the IGIC liability to a registered party. In UBL, BT-31/BT-32 are carried in cac:AccountingSupplierParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID, and BT-63 in cac:TaxRepresentativeParty.
Official rule text
An Invoice that contains an Invoice line (BG-25) where the Invoiced item VAT category code (BT-151) is "IGIC" 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).
Common causes
- No PartyTaxScheme/CompanyID provided for the seller at all
- Seller identification given only as a legal registration ID (PartyLegalEntity) instead of a tax identifier
- Tax representative used but its VAT identifier element left empty
How do I fix it?
<cac:AccountingSupplierParty><cac:Party>
<cac:PartyTaxScheme>
<cbc:CompanyID>ES12345678Z</cbc:CompanyID>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:PartyTaxScheme>
</cac:Party></cac:AccountingSupplierParty>
Related rules
BR-AF-01 · BR-AF-03 · BR-AF-04 · BR-AF-05 · BR-AF-06 · BR-AF-07 · BR-AF-08 · BR-AF-09
Paste it into the live demo, or call POST /v1/validate. See the quickstart.