Provide no more than one seller electronic address

Error FX-SCH-A-000439 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:SellerTradeParty contains more than one ram:URIUniversalCommunication.

What the rule means

The seller details can contain at most one electronic address of this type.

Please provide no more than one seller electronic address

The seller details contain multiple electronic addresses of this type. You can resolve this by using no more than one ram:URIUniversalCommunication.

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

The rule counts the direct ram:URIUniversalCommunication elements under ram:SellerTradeParty and allows zero or one.

Where the rule applies

Within ram:SellerTradeParty, which contains the seller’s details.

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