Product characteristic value required

Error FX-SCH-A-000295 Factur-X

Element 'ram:Value' must occur exactly 1 times.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

ram:ApplicableProductCharacteristic does not contain exactly one ram:Value element. The element is missing or occurs more than once.

What the rule means

ram:Value contains the value of the product characteristic. Exactly one such element is required to state the product property.

Please provide the product characteristic value

A product characteristic is missing ram:Value, or the element appears more than once. Exactly one value element is required.

What to do
  1. Open ram:ApplicableProductCharacteristic for the affected product characteristic.
  2. Add or adjust ram:Value so that the element appears exactly once.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:ApplicableProductCharacteristic>
  <ram:Description>Couleur</ram:Description>
</ram:ApplicableProductCharacteristic>
✓ Correct
<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.

Where the rule applies

The rule applies within ram:ApplicableProductCharacteristic in the product details of an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedTradeProduct/ram:ApplicableProductCharacteristic
Test expression (assert/@test)
count(ram:Value)=1