Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:PostalTradeAddress contains more than one ram:CountrySubDivisionName. The element may occur at most once.
ram:CountrySubDivisionName contains the name of a geographic subdivision within the country. The address allows at most one such name.
ram:CountrySubDivisionName appears more than once in the tax representative’s postal address. This element may occur at most once.
- Locate the tax representative’s
ram:PostalTradeAddress. - Make sure it contains no more than one
ram:CountrySubDivisionName. - 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 test counts the direct ram:CountrySubDivisionName elements in ram:PostalTradeAddress and requires a count of no more than 1.
The postal address of the seller’s tax representative.
rule/@context)assert/@test)