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