Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
The ram:PostalTradeAddress contains more than one ram:CountrySubDivisionName. This element may occur there no more than once.
This rule limits the country subdivision specified in this address to one element.
The country subdivision is entered more than once in the payee's address. The check can be satisfied by having just one entry.
- Locate the
ram:PostalTradeAddressunderram:SpecifiedLegalOrganizationof the payee. - Count the
ram:CountrySubDivisionNameelements there and keep no more than one. - 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 check verifies that the context contains no more than one direct ram:CountrySubDivisionName element.
In the payee's ram:PostalTradeAddress, within ram:SpecifiedLegalOrganization.
rule/@context)assert/@test)