At most one URI communication for the ultimate ship-to party

Error FX-SCH-A-001110 Factur-X

Element 'ram:URIUniversalCommunication' 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:URIUniversalCommunication occurs more than once in ram:UltimateShipToTradeParty.

What the rule means

In this context, no more than one URI communication entry is permitted for the ultimate ship-to party.

Please use at most one URI communication entry for the ultimate ship-to party

ram:URIUniversalCommunication is entered more than once for the ultimate ship-to party. You can resolve this by removing the duplicate entry.

What to do
  1. Remove any additional ram:URIUniversalCommunication entries from ram:UltimateShipToTradeParty.
  2. Regenerate the invoice and check it again.
What it looks like
✗ Triggers the message
<ram:UltimateShipToTradeParty>
  <ram:URIUniversalCommunication/>
  <ram:URIUniversalCommunication/>
</ram:UltimateShipToTradeParty>
✓ Correct
<ram:UltimateShipToTradeParty>
  <ram:URIUniversalCommunication/>
</ram:UltimateShipToTradeParty>
Technical details

The check counts the direct ram:URIUniversalCommunication elements in the current ram:UltimateShipToTradeParty and permits at most one.

Where the rule applies

The rule applies to ram:URIUniversalCommunication within ram:UltimateShipToTradeParty of an invoice line.

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