Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in ram:PostalTradeAddress. The rule allows this element to occur at most once.
ram:CountrySubDivisionName contains a subdivision of the country, such as a region or state. This rule does not allow multiple values for this address field.
The payee’s address contains ram:CountrySubDivisionName more than once. You can reduce it to a single element.
- Open the payee’s
ram:PostalTradeAddress. - Keep no more than one
ram:CountrySubDivisionNameelement. - Generate the invoice again and validate it again.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The test limits the number of direct ram:CountrySubDivisionName children in ram:PostalTradeAddress to one or fewer.
Applies to the postal address of the payee’s legal organization in the settlement section.
rule/@context)assert/@test)