BG-23VAT breakdownBT-116VAT category taxable amountBT-117VAT category tax amountBT-118VAT category codeBT-119VAT category rate
Official rule text
[BR-AF-09] The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119).
Why this error occurs
VAT rules tie the VAT category of the lines, allowances and charges to the VAT breakdown of the document. The validator checks that for every category used there is exactly one matching breakdown entry, that the rate and the exemption reason fit the category, and that taxable and tax amounts add up per category.
How to fix it
Use one VAT category code (UNTDID 5305: S standard, Z zero rated, E exempt, AE reverse charge, K intra-community, G export, O not subject, L/M Canary Islands/Ceuta) consistently on the lines and in the breakdown. For E, AE, K, G and O the rate must be 0 and an exemption reason (text or VATEX code) is required; for S the rate must be greater than 0 and no exemption reason is allowed. Recompute the taxable amount per category from the lines.
What the validator checks
Checked element (context):
UBL
/*/cac:TaxTotal/cac:TaxSubtotal/cac:TaxCategory[normalize-space(cbc:ID) = 'L'][cac:TaxScheme/normalize-space(upper-case(cbc:ID))='VAT']Test (XPath):
(abs(xs:decimal(../cbc:TaxAmount)) - 1 < round((abs(xs:decimal(../cbc:TaxableAmount)) * (xs:decimal(cbc:Percent) div 100)) * 10 * 10) div 100 ) and (abs(xs:decimal(../cbc:TaxAmount)) + 1 > round((abs(xs:decimal(../cbc:TaxableAmount)) * (xs:decimal(cbc:Percent) div 100)) * 10 * 10) div 100 )CII
//rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax[ram:CategoryCode = 'L'][upper-case(ram:TypeCode) = 'VAT']Test (XPath):
true()
Check your invoice
Drop your XML or PDF on the validator and every failed rule is linked to its page here. Free, no account, the file is not stored.
Same check via API:
curl -F file=@invoice.xml https://einvoicechecker.com/v1/validateRelated rules
BR-AG-09The VAT category tax amount in a VAT breakdown where VAT category code is "IPSI" shall…BR-S-09Standard-rate VAT amount (BT-117) is not base times rateBR-AF-08For each different value of VAT category rate where the VAT category code is "IGIC",…BR-AG-08For each different value of VAT category rate where the VAT category code is "IPSI",…BR-S-08Standard-rate taxable amount (BT-116) does not match the linesBR-AE-08In a VAT breakdown where the VAT category code is "Reverse charge" the VAT category…BR-AE-09The VAT category tax amount in a VAT breakdown where the VAT category code is "Reverse…BR-CO-17VAT category tax amount (BT-117) does not match base times rate
Frequently asked questions
What does BR-AF-09 mean?
BR-AF-09 is a en 16931 core rule: The VAT category tax amount (BT-117) in a VAT breakdown (BG-23) where VAT category code (BT-118) is "IGIC" shall equal the VAT category taxable amount (BT-116) multiplied by the VAT category rate (BT-119).
Will my invoice be rejected because of BR-AF-09?
Yes. BR-AF-09 is flagged "fatal"; validators (KoSIT, Peppol access points, the German ZRE/OZG-RE portals) reject the invoice until it is fixed.
Which formats does BR-AF-09 apply to?
Every EN 16931 invoice: XRechnung, ZUGFeRD 2.x / Factur-X (profiles EN 16931, EXTENDED, XRECHNUNG), Peppol BIS Billing 3.0, and national CIUS such as the Dutch NLCIUS or the Italian/Spanish profiles. Syntax: UBL and CII.
Source: EN 16931-1:2017 schematron (CEN TC434, via Peppol BIS 3.0.20). Catalogue generated from the official schematron on 2026-10-14.