What it means
The test counts ram:RoleCode children of ram:InvoicerTradeParty. It allows zero or one and fails when there are two or more. It does not check the code's value.
Why it matters
The Extended profile permits one optional role code field for the invoicer, not repeated role code elements.
How to fix it
Check the invoicer's role code in your invoicing software or XML export. If you use this field, keep the code that describes the party and remove extra ram:RoleCode elements from ram:InvoicerTradeParty. Export the corrected file and check it again.
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:RoleCode' 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-000888 still fails, and which other rules do.
Related rules
- FX-SCH-A-000889 The invoicer can have at most one electronic address block
- FX-SCH-A-000890 The invoicer can have at most one tax registration
- FX-SCH-A-000891 The invoicer's contact email needs exactly one address
- FX-SCH-A-000892 The invoicer's contact fax entry needs exactly one number
- FX-SCH-A-000893 The invoicer's contact phone entry needs exactly one number
- FX-SCH-A-000894 The invoicer's global identifier needs a scheme