Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:PostalTradeAddress contains ram:CountrySubDivisionName more than once.
The rule limits the subdivision information in this address to one element. The element is optional, but it must not occur more than once.
The seller tax representative’s address contains multiple ram:CountrySubDivisionName entries. This element may occur no more than once.
- Find the seller tax representative’s
ram:PostalTradeAddress. - Leave no more than one
ram:CountrySubDivisionNamein it. - Generate the invoice again and validate it again.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName/> <ram:CountrySubDivisionName/> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName/> </ram:PostalTradeAddress>
Technical details
The test counts the direct ram:CountrySubDivisionName elements in ram:PostalTradeAddress and allows zero or one.
The rule applies to ram:CountrySubDivisionName within the seller tax representative’s ram:PostalTradeAddress.
rule/@context)assert/@test)