Element 'ram:LineID' must occur exactly 1 times.
ram:LineID does not occur exactly once in ram:AssociatedDocumentLineDocument. The identifier is either missing or present more than once.
ram:LineID contains the invoice line identifier in its associated document section. It must be provided exactly once there.
ram:LineID is missing from the invoice line’s document section or appears more than once. The identifier must occur exactly once there.
- Find the affected
ram:AssociatedDocumentLineDocument. - Check that it contains exactly one
ram:LineID. - Generate the invoice again and validate it once more.
<ram:AssociatedDocumentLineDocument/>
<ram:AssociatedDocumentLineDocument> <ram:LineID/> </ram:AssociatedDocumentLineDocument>
Technical details
In the context of ram:AssociatedDocumentLineDocument, the rule checks whether the number of direct ram:LineID elements equals 1.
The rule applies in the invoice line’s document section (ram:AssociatedDocumentLineDocument).
rule/@context)assert/@test)