Element 'ram:AssociatedDocumentLineDocument' must occur exactly 1 times.
ram:AssociatedDocumentLineDocument does not occur exactly once in the invoice line. The element is either missing or occurs more than once.
The associated document is part of the structure of each invoice line and must occur there exactly once.
The invoice line is missing its associated ram:AssociatedDocumentLineDocument, or it contains the element more than once. Exactly one is required.
- Locate the affected
ram:IncludedSupplyChainTradeLineItem. - Ensure that it contains
ram:AssociatedDocumentLineDocumentexactly once. - Regenerate the invoice and validate it again.
<ram:IncludedSupplyChainTradeLineItem/>
<ram:IncludedSupplyChainTradeLineItem> <ram:AssociatedDocumentLineDocument/> </ram:IncludedSupplyChainTradeLineItem>
Technical details
In the context of ram:IncludedSupplyChainTradeLineItem, the expression checks whether exactly one ram:AssociatedDocumentLineDocument element occurs.
Applies to ram:AssociatedDocumentLineDocument within each ram:IncludedSupplyChainTradeLineItem.
rule/@context)assert/@test)