What it means
The rule counts ram:RoleCode elements in each ram:ManufacturerTradeParty under the line's ram:SpecifiedTradeProduct. Zero or one passes this check; two or more fail. It does not check the role-code value.
Why it matters
The Extended profile provides one optional role-code field for each manufacturer entry.
How to fix it
In the affected ram:ManufacturerTradeParty, keep the appropriate ram:RoleCode and remove any additional role-code elements. If you do not need to supply a role code, you can omit it. Save or 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-001154 still fails, and which other rules do.
Related rules
- FX-SCH-A-001155 A manufacturer can have at most one description
- FX-SCH-A-001156 A manufacturer can have at most one electronic address entry
- FX-SCH-A-001157 A manufacturer's contact email block needs one address element
- FX-SCH-A-001158 A manufacturer's fax block needs one number element
- FX-SCH-A-001159 A manufacturer's telephone block needs one number element
- FX-SCH-A-001160 The manufacturer's global identifier needs a scheme