Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in the buyer’s ram:PostalTradeAddress.
The country subdivision, such as a state or province, is specified at most once in this address.
The buyer’s postal address contains the country subdivision more than once. You can adjust the address so this entry appears no more than once.
- Check the buyer’s
ram:PostalTradeAddress. - Keep
ram:CountrySubDivisionNamethere no more than once. - Regenerate the invoice and validate it again.
<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 XPath counts direct ram:CountrySubDivisionName elements in the current ram:PostalTradeAddress and allows no more than one.
The rule applies to the buyer’s postal address in the trade agreement. ram:CountrySubDivisionName may occur there no more than once.
rule/@context)assert/@test)