Provide the product description no more than once

Error FX-SCH-A-000625 Factur-X

Element 'ram:Description' may occur at maximum 1 times.

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

ram:Description occurs more than once in SpecifiedTradeProduct. This element may occur no more than once.

What the rule means

The rule limits the product description to one element per SpecifiedTradeProduct. This keeps the product structure unambiguous.

Please provide the product description no more than once

The description appears more than once in the invoice-line product. You can remove the duplicates; the description is optional.

What to do
  1. Open the affected SpecifiedTradeProduct.
  2. Remove duplicate ram:Description elements so that no more than one remains.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:SpecifiedTradeProduct>
  <ram:Description>Description A</ram:Description>
  <ram:Description>Description B</ram:Description>
</ram:SpecifiedTradeProduct>
✓ Correct
<ram:SpecifiedTradeProduct>
  <ram:Description>Description</ram:Description>
</ram:SpecifiedTradeProduct>
Technical details

The test counts the direct ram:Description elements of SpecifiedTradeProduct and permits a count of 0 or 1.

Where the rule applies

The rule applies to the description of the invoice-line product SpecifiedTradeProduct.

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