At most one ram:URIUniversalCommunication

Error FX-SCH-A-000834 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. This element may appear there no more than once.

What the rule means

ram:URIUniversalCommunication contains a communication address in URI form for the ultimate delivery recipient. Multiple occurrences would provide several such entries in this context.

Please provide no more than one URI communication address for the ultimate delivery recipient

The ultimate delivery recipient details contain ram:URIUniversalCommunication more than once. You can resolve this by keeping only one such entry.

What to do
  1. Find ram:URIUniversalCommunication within ram:UltimateShipToTradeParty.
  2. Remove any extra occurrences so that the element appears no more than once.
  3. Generate the invoice again and validate it once more.
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 number of direct ram:URIUniversalCommunication elements within ram:UltimateShipToTradeParty is checked; zero or one is permitted.

Where the rule applies

The rule applies to the ultimate delivery recipient information in ram:UltimateShipToTradeParty in the invoice delivery section.

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