Provide no more than one ram:URIUniversalCommunication

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. This element may occur no more than once there.

What the rule means

The rule limits the number of ram:URIUniversalCommunication elements in ram:UltimateShipToTradeParty to zero or one.

Please use no more than one `ram:URIUniversalCommunication` for the ultimate ship-to party

Multiple ram:URIUniversalCommunication elements are present in ram:UltimateShipToTradeParty. This element may occur no more than once in this XML section.

What to do
  1. Check ram:UltimateShipToTradeParty and remove any extra ram:URIUniversalCommunication elements.
  2. Generate the invoice again and validate it.
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 rule checks that the number of direct ram:URIUniversalCommunication elements in ram:UltimateShipToTradeParty is no greater than one.

Where the rule applies

The rule applies to 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