Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
The postal address contains ram:CountrySubDivisionName more than once. This element may occur no more than once in this address.
ram:CountrySubDivisionName identifies a subdivision of a country, such as a state or region. This rule does not allow multiple values for this single address detail.
The invoice recipient’s address contains ram:CountrySubDivisionName more than once. Keep no more than one entry for this field.
- Locate the postal address of the invoice recipient’s legal organization.
- Remove any extra
ram:CountrySubDivisionNameentries. - Generate the invoice again and validate it once more.
<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 XPath counts the direct ram:CountrySubDivisionName elements in ram:PostalTradeAddress and permits at most one.
In the postal address of the invoice recipient’s legal organization.
rule/@context)assert/@test)