Skip to content

Error

FX-SCH-A-000480: Each charge tax block needs one tax type code

In short

Error: fails the selected checks.

FX-SCH-A-000480 means a tax details block for a charge on the whole invoice (BG-21) has no ram:TypeCode element or has more than one. Keep one tax type code in that block, then export and recheck your file.

On this page

What it means

Each ram:CategoryTradeTax within a header ram:SpecifiedTradeAllowanceCharge whose ram:ChargeIndicator/udt:Indicator is true must contain one ram:TypeCode. This rule checks the number of elements, not whether their value is VAT.

Why it matters

The tax type code identifies the kind of tax described by the block. It is separate from the VAT category code.

How to fix it

In the affected charge's ram:CategoryTradeTax, add the missing ram:TypeCode or remove duplicates after checking the correct value. For VAT, the tax type is VAT, not the VAT category code. If your software does not expose this field, ask its supplier to correct the XML export, then recheck your file.

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:TypeCode' 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-000480 still fails, and which other rules do.

Updated 6 November 2026