Element 'ram:ID' must occur exactly 1 times.
ram:ID does not occur exactly once in GuidelineSpecifiedDocumentContextParameter. It is either missing or appears more than once.
ram:ID contains the identifier of the specified guideline. Exactly one element is required to identify the guideline unambiguously.
ram:ID is missing or appears more than once in the guideline context parameter. You can resolve this by providing it once.
- Check
GuidelineSpecifiedDocumentContextParameterforram:ID. - Make sure it contains exactly one
ram:IDelement. - Generate the invoice again and validate it.
<ram:GuidelineSpecifiedDocumentContextParameter/>
<ram:GuidelineSpecifiedDocumentContextParameter> <ram:ID>...</ram:ID> </ram:GuidelineSpecifiedDocumentContextParameter>
Technical details
Within GuidelineSpecifiedDocumentContextParameter, the rule checks only whether the number of direct ram:ID elements is exactly 1.
The rule applies to the GuidelineSpecifiedDocumentContextParameter in the invoice’s document context.
rule/@context)assert/@test)