At most one URI communication for the invoicee

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

Within InvoiceeTradeParty, URIUniversalCommunication occurs more than once. This element may occur no more than once there.

What the rule means

This limit ensures that no more than one URI communication entry is provided for the invoicee.

Please provide no more than one URI communication for the invoicee

More than one URIUniversalCommunication element is present for the invoicee. You can resolve this by having only one such element in the invoice.

What to do
  1. Find URIUniversalCommunication within InvoiceeTradeParty.
  2. Keep no more than one URIUniversalCommunication element there.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:InvoiceeTradeParty>
  <ram:URIUniversalCommunication/>
  <ram:URIUniversalCommunication/>
</ram:InvoiceeTradeParty>
✓ Correct
<ram:InvoiceeTradeParty>
  <ram:URIUniversalCommunication/>
</ram:InvoiceeTradeParty>
Technical details

Within InvoiceeTradeParty, the number of direct URIUniversalCommunication elements is counted and limited to one.

Where the rule applies

The rule applies within InvoiceeTradeParty in the invoice settlement data.

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