At most one ram:URIUniversalCommunication for ProductEndUserTradeParty

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

What the rule means

The XML structure limits the URI communication information for ProductEndUserTradeParty to a single entry. Multiple entries do not conform to the defined structure.

Please use no more than one `ram:URIUniversalCommunication` for `ProductEndUserTradeParty`

The invoice contains multiple ram:URIUniversalCommunication elements for ProductEndUserTradeParty. You can adjust the XML structure so that no more than one entry is present.

What to do
  1. Locate ram:URIUniversalCommunication within ram:ProductEndUserTradeParty.
  2. Remove additional ram:URIUniversalCommunication elements so that no more than one remains.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:ProductEndUserTradeParty>
  <ram:URIUniversalCommunication/>
  <ram:URIUniversalCommunication/>
</ram:ProductEndUserTradeParty>
✓ Correct
<ram:ProductEndUserTradeParty>
  <ram:URIUniversalCommunication/>
</ram:ProductEndUserTradeParty>
Technical details

The check verifies that the number of direct ram:URIUniversalCommunication elements in the rule context is no greater than one.

Where the rule applies

The rule applies to ram:URIUniversalCommunication within the header agreement’s ram:ProductEndUserTradeParty element.

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