Peppol BIS Billing 3.0 · rule
BR-AF-01
What does BR-AF-01 mean? An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC".
Why did my invoice fail BR-AF-01?
If any invoice line (BG-25), document level allowance (BG-20) or document level charge (BG-21) uses the VAT category code "IGIC" (code L, the Canary Islands general indirect tax), the VAT breakdown (BG-23) must include at least one entry whose VAT category code (BT-118) is also "IGIC". This keeps the per-line tax categorisation consistent with the document-level VAT summary. In UBL, the breakdown entry is a cac:TaxTotal/cac:TaxSubtotal with cac:TaxCategory/cbc:ID of "L".
Official rule text
An Invoice that contains an Invoice line (BG-25), a Document level allowance (BG-20) or a Document level charge (BG-21) where the VAT category code (BT-151, BT-95 or BT-102) is "IGIC" shall contain in the VAT breakdown (BG-23) at least one VAT category code (BT-118) equal with "IGIC".
Common causes
- Lines or allowances/charges use category L but the corresponding TaxSubtotal in the VAT breakdown was omitted
- The VAT breakdown entry uses a different category code (e.g. S) than the lines
- Software generates the breakdown only from a fixed list of categories and skips L
How do I fix it?
<cac:TaxTotal>
<cbc:TaxAmount currencyID="EUR">7.00</cbc:TaxAmount>
<cac:TaxSubtotal>
<cbc:TaxableAmount currencyID="EUR">100.00</cbc:TaxableAmount>
<cbc:TaxAmount currencyID="EUR">7.00</cbc:TaxAmount>
<cac:TaxCategory>
<cbc:ID>L</cbc:ID>
<cbc:Percent>7</cbc:Percent>
<cac:TaxScheme><cbc:ID>VAT</cbc:ID></cac:TaxScheme>
</cac:TaxCategory>
</cac:TaxSubtotal>
</cac:TaxTotal>
Related rules
BR-AF-02 · 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.