Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
The legal organization's ram:PostalTradeAddress contains ram:CountrySubDivisionName more than once.
The rule limits the subdivision entry in the postal address to no more than one element. It may be absent, but must not be repeated.
The legal organization's postal address for the payer contains ram:CountrySubDivisionName more than once. This element can occur no more than once in the address.
- Open
ram:PostalTradeAddressin the payer'sram:SpecifiedLegalOrganization. - Remove duplicate entries so that
ram:CountrySubDivisionNameoccurs no more than once. - Generate the invoice again and validate it once more.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName/> <ram:CountrySubDivisionName/> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName/> </ram:PostalTradeAddress>
Technical details
The test counts child elements named ram:CountrySubDivisionName and accepts a count of at most 1.
The rule applies to the optional subdivision entry ram:CountrySubDivisionName in the payer's legal organization's postal address.
rule/@context)assert/@test)