Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
In ram:PostalTradeAddress, ram:CountrySubDivisionName occurs more than once. The element may occur at most once.
The address may contain at most one name for a subdivision of the country.
The payer’s address contains ram:CountrySubDivisionName more than once. This element may appear at most once in the address.
- Find
ram:PostalTradeAddressin the payer details for payment. - Make sure
ram:CountrySubDivisionNameoccurs no more than once in it. - 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 Schematron condition counts the child elements ram:CountrySubDivisionName and allows no more than one occurrence.
The rule applies to ram:PostalTradeAddress in the payer details for payment.
rule/@context)assert/@test)