Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
In ram:PostalTradeAddress, ram:CountrySubDivisionName occurs more than once. The element may appear there no more than once.
The address may contain at most one entry for a subdivision of the country. Multiple such elements result in repeated region entries.
The end user’s postal address contains the region entry more than once. This element can appear there no more than once.
- Check
ram:PostalTradeAddressfor repeatedram:CountrySubDivisionNameelements. - Leave no more than one
ram:CountrySubDivisionNameelement there. - 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 check counts the direct ram:CountrySubDivisionName elements within ram:PostalTradeAddress and allows no more than one.
The rule applies to the postal address of ram:ProductEndUserTradeParty in the invoice agreement.
rule/@context)assert/@test)