Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in ram:PostalTradeAddress.
ram:CountrySubDivisionName contains the name of a subdivision within the country, such as a state or comparable administrative area. The postal address allows at most one such value.
The postal address of ram:InvoicerTradeParty contains multiple ram:CountrySubDivisionName elements. You can adjust the address so that this entry occurs no more than once.
- Locate
ram:PostalTradeAddresswithinram:InvoicerTradeParty. - Make sure
ram:CountrySubDivisionNameoccurs no more than once in it. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Area A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Area B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Area A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The rule counts the direct ram:CountrySubDivisionName elements in ram:PostalTradeAddress and allows no more than one.
The rule applies to the postal address ram:PostalTradeAddress of ram:InvoicerTradeParty.
rule/@context)assert/@test)