At most one description for the invoice line seller

Error FX-SCH-A-001039 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:ItemSellerTradeParty contains more than one ram:Description. The element may occur at most once.

What the rule means

ram:Description contains a description associated with the invoice line seller. Repeating this element at this location is not permitted.

Please include no more than one description for the invoice line seller

ram:Description appears more than once for the invoice line seller. The field may be omitted or included once, but it must not be repeated.

What to do
  1. Locate ram:ItemSellerTradeParty in the affected invoice line.
  2. Remove extra ram:Description elements so that no more than one remains.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:ItemSellerTradeParty>
  <ram:Description>Première description</ram:Description>
  <ram:Description>Deuxième description</ram:Description>
</ram:ItemSellerTradeParty>
✓ Correct
<ram:ItemSellerTradeParty>
  <ram:Description>Description</ram:Description>
</ram:ItemSellerTradeParty>
Technical details

The rule counts the direct ram:Description elements in ram:ItemSellerTradeParty and allows zero or one occurrence.

Where the rule applies

The rule applies to ram:Description within ram:ItemSellerTradeParty for an invoice line seller.

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