At most one URI communication for the invoice issuer

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

In InvoicerTradeParty, ram:URIUniversalCommunication occurs more than once. The rule does not allow a second occurrence.

What the rule means

The element contains a URI communication value for the invoice issuer. This section allows at most one such value.

Please use at most one URI communication for the invoice issuer

ram:URIUniversalCommunication occurs more than once in InvoicerTradeParty. You can adjust the XML so that it contains no more than one such element.

What to do
  1. Locate InvoicerTradeParty in the settlement.
  2. Check whether ram:URIUniversalCommunication occurs more than once and remove any extra occurrences.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:InvoicerTradeParty>
  <ram:URIUniversalCommunication/>
  <ram:URIUniversalCommunication/>
</ram:InvoicerTradeParty>
✓ Correct
<ram:InvoicerTradeParty>
  <ram:URIUniversalCommunication/>
</ram:InvoicerTradeParty>
Technical details

The check counts the direct ram:URIUniversalCommunication elements in InvoicerTradeParty and requires a count of at most 1.

Where the rule applies

Within InvoicerTradeParty in the settlement, ram:URIUniversalCommunication may occur at most once.

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