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 this postal address to a single entry.
The buyer agent’s legal-organization postal address contains ram:CountrySubDivisionName more than once. You can adjust the address so that this element occurs no more than once.
- Find
ram:PostalTradeAddressinram:SpecifiedLegalOrganizationunderram: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 postal address in the buyer agent’s ram:SpecifiedLegalOrganization.
rule/@context)assert/@test)