Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
In the relevant ram:PostalTradeAddress, ram:CountrySubDivisionName occurs more than once. The element may appear there no more than once.
The address may contain at most one entry for a subdivision of the country. Multiple such elements result in repeated region entries.
The postal address for the legal organization contains the region entry more than once. This element can appear there no more than once.
- Check the postal address in
ram:SpecifiedLegalOrganizationfor repeatedram:CountrySubDivisionNameelements. - Leave no more than one
ram:CountrySubDivisionNameelement there. - 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 check counts the direct ram:CountrySubDivisionName elements within the postal address of ram:SpecifiedLegalOrganization and allows no more than one.
The rule applies to the postal address within ram:SpecifiedLegalOrganization of ram:ProductEndUserTradeParty in the invoice agreement.
rule/@context)assert/@test)