Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in PostalTradeAddress. The element may appear there no more than once.
The address subdivision may be stated only once so that this part of the address is not duplicated.
The subdivision is entered more than once in the sales agent’s postal address. Keep ram:CountrySubDivisionName there no more than once.
- Locate
ram:CountrySubDivisionNamein the sales agent’s postal address. - Remove duplicates so that the element occurs no more than once.
- Generate the invoice again and validate it once more.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Region B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The rule limits the number of direct ram:CountrySubDivisionName elements in ram:PostalTradeAddress to at most one.
The rule applies to ram:CountrySubDivisionName in the sales agent’s postal address under ram:PostalTradeAddress.
rule/@context)assert/@test)