At most one seller URI communication

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:URIUniversalCommunication occurs more than once in SellerTradeParty. This element may occur there at most once.

What the rule means

The rule limits the seller’s URI communication entry to one element.

Please include the seller’s URI communication no more than once

The seller details contain ram:URIUniversalCommunication more than once. You can fix this by removing the duplicate entry.

What to do
  1. Find ram:URIUniversalCommunication in SellerTradeParty.
  2. Remove any extra elements so that no more than one remains.
  3. Generate the invoice again and validate it once more.
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 XPath counts the child elements ram:URIUniversalCommunication in the SellerTradeParty context and permits at most one.

Where the rule applies

The rule applies within SellerTradeParty in the invoice agreement.

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