What it means
This rule permits zero or one direct ram:RoleCode child inside each ram:ShipToTradeParty under ram:SpecifiedLineTradeDelivery. Two elements fail the check even if they contain the same code.
Why it matters
The Extended profile treats this location as a single role-code field, not a list of roles.
How to fix it
Check the role recorded for the line's delivery party. In XML, retain at most one ram:RoleCode inside ram:SpecifiedLineTradeDelivery/ram:ShipToTradeParty. Remove any additional ram:RoleCode elements. If you have no role code to report, omit that element. Export and recheck your 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: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-001090 still fails, and which other rules do.
Related rules
- FX-SCH-A-001091 Line delivery party may have only one electronic address block
- FX-SCH-A-001092 Line delivery party may have only one tax registration
- FX-SCH-A-001093 Line delivery contact email needs one address element
- FX-SCH-A-001094 Line delivery contact fax needs one number element
- FX-SCH-A-001095 Line delivery contact phone needs one number element
- FX-SCH-A-001096 The delivery party's global ID on a line needs a scheme