Skip to content

Error

FX-SCH-A-000185: Each header discount needs exactly one VAT details block

In short

Error: fails the selected checks.

FX-SCH-A-000185 means a discount on the whole invoice (BG-20) has no ram:CategoryTradeTax block or has more than one. Include exactly one block for that discount's VAT details, then export and check the file again.

On this page

What it means

For each header ram:SpecifiedTradeAllowanceCharge containing ram:ChargeIndicator/udt:Indicator with the text false, the rule requires exactly one ram:CategoryTradeTax. That block holds VAT details such as the category (BT-95) and applicable rate (BT-96). This test does not check the block's contents.

Why it matters

The profile groups a header discount's VAT details in one block. Requiring that block is separate from checking whether its category and rate are present and correct.

How to fix it

Add ram:CategoryTradeTax if it is missing from the affected discount block. If it is repeated, retain one block with the correct VAT details. Check ram:TypeCode with the value VAT, ram:CategoryCode for BT-95 and the rate (BT-96) where required by other rules. Export and check the corrected file again.

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

Element 'ram:CategoryTradeTax' must occur exactly 1 times.

Where this rule applies

Rule set Version
Factur-X 1.09 BASIC WL 1.0.9-2
Factur-X 1.09 BASIC 1.0.9-2
Factur-X 1.09 EN 16931 1.0.9-2
Factur-X 1.09 EXTENDED 1.0.9-2
ZUGFeRD 2.5 BASIC WL 2.5.2
ZUGFeRD 2.5 BASIC 2.5.2
ZUGFeRD 2.5 EN 16931 2.5.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 FX-SCH-A-000185 still fails, and which other rules do.

Updated 6 November 2026