Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:PostalTradeAddress contains more than one ram:CountrySubDivisionName.
ram:CountrySubDivisionName identifies a subdivision in the postal address. Multiple entries exceed the maximum number permitted for this element.
The subdivision is listed more than once in the seller's postal address. You can limit it to no more than one ram:CountrySubDivisionName.
- Locate the seller's
ram:PostalTradeAddressfor the item. - Check the
ram:CountrySubDivisionNameelements it contains. - Remove any extra entries so that no more than one remains.
- Generate the invoice again and validate it.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Region B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The test counts the direct ram:CountrySubDivisionName elements within ram:PostalTradeAddress and permits zero or one.
The rule applies to the postal address of the seller of an item in an invoice line.
rule/@context)assert/@test)