What it means
The test counts ram:GuidelineSpecifiedDocumentContextParameter elements inside rsm:ExchangedDocumentContext and requires exactly one. The entry's ram:ID carries BT-24, for example urn:cen.eu:en16931:2017 for EN 16931. This test does not check that ID's presence or value.
Why it matters
The specification identifier tells the recipient which specification the file declares. The profile provides one context entry for that declaration.
How to fix it
Check which Factur-X or ZUGFeRD profile you intend to use. Correct the export so rsm:ExchangedDocumentContext contains one ram:GuidelineSpecifiedDocumentContextParameter carrying the appropriate specification identifier in ram:ID. Remove duplicate blocks, then export and recheck.
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:GuidelineSpecifiedDocumentContextParameter' must occur exactly 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| Factur-X 1.09 MINIMUM | 1.0.9-2 |
| Factur-X 1.09 BASIC WL | 1.0.9-2 |
| Factur-X 1.09 BASIC | 1.0.9-2 |
| Factur-X 1.09 EN 16931 | 1.0.9-2 |
| Factur-X 1.09 EXTENDED | 1.0.9-2 |
| ZUGFeRD 2.5 MINIMUM | 2.5.2 |
| ZUGFeRD 2.5 BASIC WL | 2.5.2 |
| ZUGFeRD 2.5 BASIC | 2.5.2 |
| ZUGFeRD 2.5 EN 16931 | 2.5.2 |
| ZUGFeRD 2.5 EXTENDED | 2.5.2 |
Check your file
Drop your e-invoice to see whether FX-SCH-A-000025 still fails, and which other rules do.
Related rules
- FX-SCH-A-000026 The specification identifier must match the Minimum profile
- FX-SCH-A-000027 The invoice must contain exactly one seller
- FX-SCH-A-000028 The invoice must contain exactly one buyer
- FX-SCH-A-000029 Include one purchase order number per reference
- FX-SCH-A-000030 The buyer must have exactly one name
- FX-SCH-A-000031 The buyer's registration scheme must be an allowed code