Skip to content

Error

FX-SCH-A-000538: Use an allowed tax type code on the line

In short

Error: fails the selected checks.

FX-SCH-A-000538 means the tax type code in an invoice line's VAT details is not permitted. For VAT, set ram:TypeCode inside the line's ram:ApplicableTradeTax to VAT in capitals, 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:TypeCode within the line's ram:ApplicableTradeTax against the permitted tax type codes. The element belongs to the line VAT information (BG-30). An empty value passes this particular test; the rule does not check whether the element is present.

Why it matters

The standard tax type code identifies the tax independently of the language used on the invoice. Local abbreviations are not substitutes for that code.

How to fix it

Check the tax type exported for the affected line. For VAT details, ram:TypeCode must contain VAT in capitals, not a local abbreviation, VAT category or percentage. If your invoicing software generates a different code, report this rule id to its supplier. Export and 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

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

Updated 6 November 2026