Element 'ram:SpecifiedTradeProduct' must occur exactly 1 times.
ram:SpecifiedTradeProduct does not occur exactly once in the invoice line. The element is either missing or occurs more than once.
ram:SpecifiedTradeProduct contains the product information for the invoice line and must occur exactly once in each line.
The invoice line is missing ram:SpecifiedTradeProduct, or the element occurs more than once. It must occur exactly once per invoice line.
- Locate the affected
ram:IncludedSupplyChainTradeLineItem. - Ensure that it contains
ram:SpecifiedTradeProductexactly once. - Regenerate the invoice and validate it again.
<ram:IncludedSupplyChainTradeLineItem/>
<ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedTradeProduct/> </ram:IncludedSupplyChainTradeLineItem>
Technical details
In the context of ram:IncludedSupplyChainTradeLineItem, the expression checks whether exactly one ram:SpecifiedTradeProduct element occurs.
Applies to ram:SpecifiedTradeProduct within each ram:IncludedSupplyChainTradeLineItem.
rule/@context)assert/@test)