Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
The buyer agent’s ram:PostalTradeAddress contains more than one ram:CountrySubDivisionName. This element may occur in the address at most once.
The limit ensures that no more than one subdivision is specified in this postal address.
ram:CountrySubDivisionName appears more than once in the buyer agent’s postal address. You can fix the structure by keeping no more than one entry.
- Check
ram:PostalTradeAddressfor the buyer agent. - Remove extra
ram:CountrySubDivisionNameelements so that no more than one remains. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName/> <ram:CountrySubDivisionName/> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName/> </ram:PostalTradeAddress>
Technical details
Within ram:PostalTradeAddress, the number of direct ram:CountrySubDivisionName elements is checked; zero or one is allowed.
The rule applies to ram:CountrySubDivisionName within the buyer agent’s ram:PostalTradeAddress postal address.
rule/@context)assert/@test)