Skip to content

Error

FX-SCH-A-000388: A line may have at most one VAT amount in the VAT accounting currency

In short

Error: fails the selected checks.

FX-SCH-A-000388 means a line totals block contains more than one ram:TaxTotalAmount whose currencyID matches the VAT accounting currency (BT-6). Keep at most one matching element in that block, then export and recheck the file.

On this page

What it means

In the Extended profiles of Factur-X and ZUGFeRD, this rule checks each ram:SpecifiedTradeSettlementLineMonetarySummation. It counts ram:TaxTotalAmount elements whose currencyID equals ram:TaxCurrencyCode in the header settlement. Zero or one matching element passes this rule. The test does not require the VAT accounting currency to differ from the invoice currency.

Why it matters

This keeps the line's VAT total in the VAT accounting currency in a single element rather than repeating it.

How to fix it

Check the VAT total in the affected line's totals block. Remove duplicate ram:TaxTotalAmount elements whose currencyID matches ram:TaxCurrencyCode, retaining the correct total if it belongs there. This rule does not require you to add a missing amount. If your invoicing software creates the duplicates, ask its supplier to correct the export. Export and recheck the 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 variant 'ram:TaxTotalAmount[@currencyID=/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ram:TaxCurrencyCode]' may occur at maximum 1 times.

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-000388 still fails, and which other rules do.

Updated 6 November 2026