Element 'ram:ID' must occur exactly 1 times.
ram:ID does not occur exactly once in ram:SpecifiedTaxRegistration. The element is either missing or appears more than once.
The ship-to party’s tax registration must contain exactly one identifier.
The ship-to party’s tax registration is missing ram:ID, or the element appears more than once. You can correct the number of occurrences in the invoice line.
- Find
ram:SpecifiedTaxRegistrationfor the ship-to party in the invoice line. - Make sure it contains exactly one
ram:IDelement. - Generate the invoice again and validate it.
<ram:SpecifiedTaxRegistration/>
<ram:SpecifiedTaxRegistration> <ram:ID>...</ram:ID> </ram:SpecifiedTaxRegistration>
Technical details
The check counts the direct ram:ID elements in ram:SpecifiedTaxRegistration and requires a count of 1.
This rule applies to the ship-to party’s tax registration within an invoice line.
rule/@context)assert/@test)