Element 'ram:Value' must occur exactly 1 times.
ram:ApplicableProductCharacteristic does not contain exactly one ram:Value element. The element is missing or occurs more than once.
ram:Value contains the value of the product characteristic. Exactly one such element is required to state the product property.
A product characteristic is missing ram:Value, or the element appears more than once. Exactly one value element is required.
- Open ram:ApplicableProductCharacteristic for the affected product characteristic.
- Add or adjust ram:Value so that the element appears exactly once.
- Generate the invoice again and validate it again.
<ram:ApplicableProductCharacteristic> <ram:Description>Couleur</ram:Description> </ram:ApplicableProductCharacteristic>
<ram:ApplicableProductCharacteristic> <ram:Description>Couleur</ram:Description> <ram:Value>Bleu</ram:Value> </ram:ApplicableProductCharacteristic>
Technical details
The rule counts direct ram:Value child elements of ram:ApplicableProductCharacteristic and requires count(ram:Value) = 1.
The rule applies within ram:ApplicableProductCharacteristic in the product details of an invoice line.
rule/@context)assert/@test)