What it means
The document header (ram:ExchangedDocument) may contain at most one ram:LanguageID, the code of the language the invoice is written in, such as en or de. This check applies to the Extended profile of Factur-X and ZUGFeRD.
Why it matters
The profile has one place for the language of the document. Two entries do not fit it, so the file fails the check and the recipient's system can reject it.
How to fix it
Look for a language setting on the invoice or for the customer in your invoicing software and choose one language. If the software writes the language twice, update it or ask its supplier. If you build the XML yourself, keep a single ram:LanguageID inside ram:ExchangedDocument.
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 'ram:LanguageID' 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-000315 still fails, and which other rules do.
Related rules
- FX-SCH-A-000316 The document's effective period needs one date entry
- FX-SCH-A-000317 Each invoice note can hold only one text (Extended)
- FX-SCH-A-000319 Delivery terms need one delivery type code
- FX-SCH-A-000320 Use an allowed delivery terms code
- FX-SCH-A-000321 The buyer's agent can have only one role code
- FX-SCH-A-000322 A transport movement needs exactly one transport mode