Skip to content

Error

FX-SCH-A-001142: Currency code of a line's tax total must be allowed

In short

Error: fails the selected checks.

FX-SCH-A-001142 means the non-empty currencyID on a line's ram:TaxTotalAmount is not allowed, where that attribute equals the invoice currency (BT-5). Check both the invoice currency and the matching tax total currency, and correct them using the intended permitted currency code.

On this page

What it means

The rule checks currencyID against code list 31 only on line tax totals whose currencyID equals ram:InvoiceCurrencyCode in ram:ApplicableHeaderTradeSettlement. An empty code passes this test. It does not require currencyID on every amount or check tax totals stated in a different currency.

Why it matters

The currency code identifies the currency in which the line's tax total is stated.

How to fix it

Check ram:InvoiceCurrencyCode (BT-5) in ram:ApplicableHeaderTradeSettlement and currencyID on the affected line's ram:TaxTotalAmount inside ram:SpecifiedTradeSettlementLineMonetarySummation. For the tax total stated in the invoice currency, use the same permitted ISO 4217 code in both places, such as EUR or GBP. Export again and recheck all reported currency findings.

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 '@currencyID' 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-001142 still fails, and which other rules do.

Updated 6 November 2026