Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:PostalTradeAddress contains ram:CountrySubDivisionName more than once.
The rule limits the subdivision entry in the postal address to no more than one element. It may be absent, but must not be repeated.
The payer's postal address contains ram:CountrySubDivisionName more than once. This element can occur no more than once in the address.
- Open the payer's
ram:PostalTradeAddress. - Remove duplicate entries so that
ram:CountrySubDivisionNameoccurs no more than once. - 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 test counts child elements named ram:CountrySubDivisionName and accepts a count of at most 1.
The rule applies to the optional subdivision entry ram:CountrySubDivisionName in the payer's postal address.
rule/@context)assert/@test)