Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in the postal address of UltimateShipToTradeParty. The element may occur there no more than once.
ram:CountrySubDivisionName identifies a subdivision within the country specified for the delivery address. Multiple values for this element are not permitted here.
ram:CountrySubDivisionName has been entered more than once in the final delivery address. You can limit the entry there to no more than one.
- Open the postal address under
UltimateShipToTradeParty. - Limit
ram:CountrySubDivisionNamethere to no more than one entry. - Generate the invoice again and validate it again.
<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 direct ram:CountrySubDivisionName elements within the relevant ram:PostalTradeAddress and permits no more than one.
The rule applies to the postal address in UltimateShipToTradeParty within the delivery details.
rule/@context)assert/@test)