Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in the sales agent’s ram:PostalTradeAddress.
ram:CountrySubDivisionName identifies a subdivision within a country. The rule limits this information to at most one element.
The sales agent’s postal address contains ram:CountrySubDivisionName more than once. You can resolve this by including the element no more than once.
- Locate
ram:PostalTradeAddressfor the sales agent. - Check the
ram:CountrySubDivisionNameelements it contains. - Keep no more than one
ram:CountrySubDivisionNameelement. - 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 check counts the ram:CountrySubDivisionName elements directly contained in ram:PostalTradeAddress and requires the count to be no greater than one.
In the sales agent’s postal address.
rule/@context)assert/@test)