Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in the ram:PostalTradeAddress of the payee’s legal organization. The element may occur at most once.
ram:CountrySubDivisionName contains the name of a subdivision within a country. The rule limits the number of these entries in the address to one.
The address of the payee’s legal organization contains more than one subdivision entry. You can remove the repeated entry there.
- Find the
ram:PostalTradeAddressof the payee’s legal organization. - Check its
ram:CountrySubDivisionNameelements and leave no more than one. - 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
The rule checks that ram:CountrySubDivisionName occurs no more than once within ram:PostalTradeAddress; zero occurrences are allowed.
The rule applies to the postal address of the payee’s legal organization in the payment terms.
rule/@context)assert/@test)