Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in the invoicee’s ram:PostalTradeAddress. The element may occur at most once.
The address can contain no more than one subdivision designation.
ram:CountrySubDivisionName appears more than once in the invoicee’s postal address. This element may appear there at most once.
- Locate
ram:PostalTradeAddressfor the invoicee. - Check that
ram:CountrySubDivisionNameoccurs no more than once. - Regenerate the invoice and validate it again.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>...</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>...</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>...</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The rule checks that the number of ram:CountrySubDivisionName elements within ram:PostalTradeAddress does not exceed one.
The rule applies to ram:CountrySubDivisionName in the invoicee’s postal address.
rule/@context)assert/@test)