At most one URI communication for the payee

Error FX-SCH-A-000909 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

PayeeTradeParty contains more than one ram:URIUniversalCommunication element.

What the rule means

The payee’s URI communication may be specified at most once in this context.

Please include no more than one URI communication for the payee

The payee has more than one ram:URIUniversalCommunication element. In this context, the element may occur only once at most.

What to do
  1. Open PayeeTradeParty.
  2. Make sure it contains no more than one ram:URIUniversalCommunication element.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:PayeeTradeParty>
  <ram:URIUniversalCommunication/>
  <ram:URIUniversalCommunication/>
</ram:PayeeTradeParty>
✓ Correct
<ram:PayeeTradeParty>
  <ram:URIUniversalCommunication/>
</ram:PayeeTradeParty>
Technical details

The rule limits the number of ram:URIUniversalCommunication elements in PayeeTradeParty to one at most.

Where the rule applies

This rule applies to the ram:URIUniversalCommunication element in PayeeTradeParty.

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