Description of the logistics service

Error FX-SCH-A-000963 Factur-X

Element 'ram:Description' 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:Description is missing from ram:SpecifiedLogisticsServiceCharge or occurs more than once. It must occur exactly once.

What the rule means

ram:Description describes the logistics service charge. If it is missing or occurs more than once, the charge is not stated with exactly one description.

Please describe the logistics service charge exactly once

The logistics service charge is missing its description, or the description appears more than once. A single ram:Description provides one clear description.

What to do
  1. Find the relevant ram:SpecifiedLogisticsServiceCharge.
  2. Make sure it contains exactly one ram:Description.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:SpecifiedLogisticsServiceCharge/>
✓ Correct
<ram:SpecifiedLogisticsServiceCharge>
  <ram:Description>Transport service</ram:Description>
</ram:SpecifiedLogisticsServiceCharge>
Technical details

The test counts the direct ram:Description elements in ram:SpecifiedLogisticsServiceCharge and requires the count to be 1.

Where the rule applies

The rule applies to a specified logistics service charge in the settlement information.

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