What it means
This rule checks each ram:BusinessProcessSpecifiedDocumentContextParameter under rsm:ExchangedDocumentContext and requires exactly one ram:ID element. It applies in the Minimum, BASIC WL, Basic, EN 16931 and Extended profiles of Factur-X and ZUGFeRD. It counts ID elements in existing blocks; it does not check their text or require the block to be present.
Why it matters
A single identifier states which business process the document relates to without competing identifiers in the same block.
How to fix it
Check the business process identifier (BT-23) intended for your invoice. In the XML, add the missing ram:ID or remove duplicate IDs from ram:BusinessProcessSpecifiedDocumentContextParameter. If the block is not needed for your intended process and profile, remove it rather than leaving it empty. If your software creates the faulty block, 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 'ram:ID' 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-000406 still fails, and which other rules do.
Related rules
- FX-SCH-A-000407 The specification must have exactly one identifier
- FX-SCH-A-000408 A buyer registration block needs exactly one number
- FX-SCH-A-000409 The seller must have exactly one name
- FX-SCH-A-000410 The seller registration scheme must use an allowed code
- FX-SCH-A-000411 A seller tax number entry must hold exactly one ID
- FX-SCH-A-000412 A seller VAT number entry must hold exactly one ID