Element 'ram:Name' must occur exactly 1 times.
ram:Name is missing from ram:ProductEndUserTradeParty or occurs more than once. The element must appear there exactly once.
The name is a required part of the XML information for ProductEndUserTradeParty. An absent or repeated value does not meet the defined structure.
The invoice is missing the name of ProductEndUserTradeParty, or it contains the name more than once. Providing exactly one ram:Name resolves this issue.
- Locate
ram:Namewithinram:ProductEndUserTradeParty. - Ensure that this element occurs exactly once.
- Generate the invoice again and validate it.
<ram:ProductEndUserTradeParty/>
<ram:ProductEndUserTradeParty> <ram:Name>Beispiel</ram:Name> </ram:ProductEndUserTradeParty>
Technical details
The check verifies that the number of direct ram:Name elements in the rule context is exactly one.
The rule applies to ram:Name within the header agreement’s ram:ProductEndUserTradeParty element.
rule/@context)assert/@test)