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.
ram:ID contains the tax identifier provided in this tax registration context. Exactly one element is required to make this information unambiguous.
The ultimate ship-to party’s tax registration is missing ram:ID or contains it more than once. Exactly one element makes the information unambiguous.
- Check
ram:SpecifiedTaxRegistrationfor the ultimate ship-to party. - Ensure that 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 test requires the number of direct ram:ID elements in ram:SpecifiedTaxRegistration to equal 1.
The rule applies to ram:SpecifiedTaxRegistration of the ultimate ship-to party for an invoice line.
rule/@context)assert/@test)