Skip to content

Error

FX-SCH-A-000857: Tax type code is not allowed

In short

Error: fails the selected checks.

FX-SCH-A-000857 means the tax type code in a header-level tax breakdown entry is outside the Extended profile's allowed list. Correct ram:TypeCode using the allowed code for the tax actually reported. For VAT, use VAT.

On this page

What it means

Checks a non-empty ram:TypeCode in ram:ApplicableHeaderTradeSettlement/ram:ApplicableTradeTax against tax type code list 26. An absent or empty element passes this value test. The test does not require every tax entry to describe VAT.

Why it matters

The tax type code identifies which tax the breakdown entry describes. Changing a different tax to VAT would change that meaning.

How to fix it

Correct ram:TypeCode in the affected header-level ram:ApplicableTradeTax. Use VAT in capitals when the entry reports VAT. If it reports another tax, use the allowed code for that tax rather than replacing it with VAT just to clear the error. Export the corrected invoice and check it 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

Value of 'ram:TypeCode' is not allowed.

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 FX-SCH-A-000857 still fails, and which other rules do.

Updated 6 November 2026