Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
PostalTradeAddress contains ram:CountrySubDivisionName more than once.
ram:CountrySubDivisionName identifies a subdivision of the country in the postal address. The rule allows at most one entry.
The payee’s postal address contains ram:CountrySubDivisionName more than once. This entry may occur at most once.
- Locate
PostalTradeAddressunderPayeeTradeParty. - Check the number of
ram:CountrySubDivisionNameelements and ensure that no more than one is present. - Regenerate the invoice 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 Schematron check requires no more than one direct ram:CountrySubDivisionName element under PostalTradeAddress.
The rule applies to ram:CountrySubDivisionName in the payee’s postal address under PayeeTradeParty.
rule/@context)assert/@test)