Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
The postal address contains more than one ram:CountrySubDivisionName element. In this context, this element may occur at most once.
The rule limits the country subdivision in the buyer agent’s postal address to a single entry.
The buyer agent’s postal address contains ram:CountrySubDivisionName more than once. You can adjust the address so that this element occurs no more than once.
- Find
ram:PostalTradeAddressunderram:BuyerAgentTradeParty. - Remove any extra
ram:CountrySubDivisionNameelements. - Generate the invoice again and validate it.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>North</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Central</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>North</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The number of direct ram:CountrySubDivisionName elements in ram:PostalTradeAddress is checked; zero or one element is allowed.
Applies to the buyer agent’s postal address in BuyerAgentTradeParty/PostalTradeAddress.
rule/@context)assert/@test)