Skip to content

Error

BR-FXEXT-CO-04: Normal invoice lines need a VAT category

In short

Error: fails the selected checks.

BR-FXEXT-CO-04 means a normal invoice line is missing an exact VAT tax type, a category code on a VAT tax entry, or both. In that line's ram:ApplicableTradeTax, set ram:TypeCode to VAT and provide the correct ram:CategoryCode (BT-151).

On this page

What it means

For an invoice line (BG-25) whose subtype (BT-X-8) is DETAIL or omitted, the test requires at least one ram:ApplicableTradeTax/ram:TypeCode under ram:SpecifiedLineTradeSettlement to equal VAT exactly. It also requires ram:CategoryCode on a tax entry whose TypeCode becomes VAT when upper-cased. Different tax entries can satisfy these two conditions. This test does not check whether the category itself is valid.

Why it matters

The VAT category records the treatment of the goods or services and helps relate your line to the VAT breakdown.

How to fix it

Check the VAT treatment that applies to the line. In its ram:SpecifiedLineTradeSettlement/ram:ApplicableTradeTax, use VAT in ram:TypeCode and the appropriate code in ram:CategoryCode, such as E for exempt from VAT or AE for reverse charge. Use upper-case VAT, not vat. Export the corrected file and recheck it.

Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta

The rule as published

Each Invoice line (BG-25) shall be categorized with an Invoiced item VAT category code (BT-151) if the "Subtype of invoice line item" (BT-X-8) has the value "Normal line item (standard case)" (DETAIL) or is not specified.

Business terms: BG-25, BT-151

Where this rule applies

Rule set Version
Factur-X 1.09 EXTENDED 1.0.9-2
ZUGFeRD 2.5 EXTENDED 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether BR-FXEXT-CO-04 still fails, and which other rules do.

Updated 6 November 2026