Skip to content

Error

FX-SCH-A-000537: Use a valid VAT category code on the line

In short

Error: fails the selected checks.

FX-SCH-A-000537 means the VAT category code on an invoice line (BT-151) is not permitted. Correct ram:CategoryCode inside the line's ram:ApplicableTradeTax using a permitted code that matches the supply's VAT treatment, then export and recheck your file.

On this page

What it means

In the Basic profiles of Factur-X and ZUGFeRD, this rule checks a non-empty ram:CategoryCode within the line's ram:ApplicableTradeTax against the permitted VAT category list. Categories include S for standard-rated, Z for zero-rated, E for exempt from VAT, AE for reverse charge, K for intra-community supply, G for export outside the EU and O for outside the scope of VAT. The rule checks the code, not whether the chosen tax treatment is appropriate.

Why it matters

The category identifies the line's VAT treatment in a standard form. A category name or VAT percentage is not a substitute for its code.

How to fix it

Check the VAT treatment of the affected line and choose the corresponding category, rather than choosing any code that passes the list check. In XML, correct ram:CategoryCode inside ram:ApplicableTradeTax under the line's ram:SpecifiedLineTradeSettlement. Keep the numerical VAT rate in its separate field. Export and recheck.

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

Value of 'ram:CategoryCode' is not allowed.

Where this rule applies

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

Check your file

Drop your e-invoice to see whether FX-SCH-A-000537 still fails, and which other rules do.

Updated 6 November 2026