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 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000388 still fails, and which other rules do.
Related rules
- FX-SCH-A-000389 The document language code must be on the allowed list
- FX-SCH-A-000390 The charge reason code (list 5153) must be an allowed code
- FX-SCH-A-000391 The charge reason code must be an allowed code
- FX-SCH-A-000406 The business process must have exactly one identifier
- FX-SCH-A-000407 The specification must have exactly one identifier
- FX-SCH-A-000408 A buyer registration block needs exactly one number