Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
The payee’s address contains more than one ram:CountrySubDivisionName element. This element may occur no more than once in the address.
ram:CountrySubDivisionName contains the subdivision within a country. Limiting it to at most one element prevents multiple subdivision names from being stated.
ram:CountrySubDivisionName is entered more than once in the payee’s address. The element may occur at most once.
- Open the payee’s
ram:PostalTradeAddress. - Remove duplicate occurrences of
ram:CountrySubDivisionNameso that the element appears no more than once. - Generate the invoice again and validate it once more.
<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 test counts the direct ram:CountrySubDivisionName elements within ram:PostalTradeAddress and permits zero or one.
The rule applies to the payee’s ram:PostalTradeAddress in the payment terms.
rule/@context)assert/@test)