At most one Description

Error FX-SCH-A-001155 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:ManufacturerTradeParty contains more than one ram:Description element. In this context, the element may occur at most once.

What the rule means

The manufacturer’s description must not be repeated in this XML context.

Please use no more than one `ram:Description` for the manufacturer

ram:Description is entered more than once for the manufacturer. Remove the duplicate entry so the description does not occur more than once.

What to do
  1. Locate ram:ManufacturerTradeParty in the invoice-line product.
  2. Remove any extra ram:Description elements there.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:ManufacturerTradeParty>
  <ram:Description/>
  <ram:Description/>
</ram:ManufacturerTradeParty>
✓ Correct
<ram:ManufacturerTradeParty>
  <ram:Description/>
</ram:ManufacturerTradeParty>
Technical details

The check counts the direct ram:Description children of ram:ManufacturerTradeParty and passes when their number is at most one.

Where the rule applies

The rule applies to ram:ManufacturerTradeParty of an invoice-line product.

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