Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
The ram:PostalTradeAddress element contains more than one ram:CountrySubDivisionName element.
At most one subdivision value is allowed in the payee party’s postal address; the element may also be absent.
The payee party’s postal address contains ram:CountrySubDivisionName more than once. It may occur at most once and may also be omitted.
- Find the payee party’s
ram:PostalTradeAddress. - Remove any extra
ram:CountrySubDivisionNameelements so that no more than one remains. - Generate the invoice again and validate it.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Subdivision A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Subdivision B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Subdivision A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The XPath test checks that there is at most one direct ram:CountrySubDivisionName child of ram:PostalTradeAddress.
The rule applies to the payee party’s postal address in the invoice settlement.
rule/@context)assert/@test)