What it means
The test allows at most one ram:ID directly inside ram:BuyerTradeParty (BG-7) in ram:ApplicableHeaderTradeAgreement. This is the plain buyer identifier (BT-46), such as your customer reference. The test does not count ram:GlobalID or identifiers nested in other buyer fields. It applies to the Basic WL, Basic, EN 16931 and Extended profiles of Factur-X 1.09 and ZUGFeRD 2.5.
Why it matters
This field provides one plain reference for the buyer. Other identifier fields have separate purposes and limits.
How to fix it
Check the buyer identifier used on your invoice and keep the intended value in one ram:ID directly under ram:BuyerTradeParty. Remove extra ram:ID elements at that level. Do not remove a ram:GlobalID, company registration number or electronic address merely because it is also present. Export again 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:ID' may occur at maximum 1 times. Where this rule applies
| Rule set | Version |
|---|---|
| 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 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-000163 still fails, and which other rules do.
Related rules
- FX-SCH-A-000164 The buyer can have at most one global identifier
- FX-SCH-A-000165 The buyer can have at most one electronic address block
- FX-SCH-A-000166 The buyer can have at most one tax registration block
- FX-SCH-A-000167 The buyer's address can have at most one region field
- FX-SCH-A-000168 The buyer's electronic address block needs one address element
- FX-SCH-A-000169 A tax representative needs one tax registration block