Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
CountrySubDivisionName occurs more than once in PostalTradeAddress. The element may occur at most once.
The seller’s address may contain a subdivision entry, but not multiple CountrySubDivisionName elements.
The seller’s postal address contains CountrySubDivisionName more than once. You can limit the entry to at most one occurrence.
- Open
PostalTradeAddressin the seller’s details. - Remove duplicate
CountrySubDivisionNameelements so that no more than one remains. - Generate the invoice again and validate it.
<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 counts the direct CountrySubDivisionName elements within PostalTradeAddress; zero or one is allowed.
The rule applies to the subdivision entry in the seller’s postal address in PostalTradeAddress.
rule/@context)assert/@test)