What it means
Each ram:ProductEndUserTradeParty under ram:ApplicableHeaderTradeAgreement may contain zero or one direct ram:RoleCode child. This rule counts the elements rather than checking their values.
Why it matters
The Extended profile limits this role code field to one occurrence per product end user block.
How to fix it
In your CII XML, remove additional ram:RoleCode elements directly inside ram:ProductEndUserTradeParty. If you retain a role code, keep the one that describes the end user's role. Export the corrected file and recheck it.
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-000710 still fails, and which other rules do.
Related rules
- FX-SCH-A-000711 Do not repeat the end user's electronic address block
- FX-SCH-A-000712 Use at most one end user tax registration block
- FX-SCH-A-000713 Put one address field in each end user contact email block
- FX-SCH-A-000714 Put one number field in each end user contact fax block
- FX-SCH-A-000715 Put one number field in each end user contact telephone block
- FX-SCH-A-000716 Add a scheme to the end user's global identifier