At most one URI communication

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

BuyerTaxRepresentativeTradeParty contains more than one ram:URIUniversalCommunication element.

What the rule means

Limiting this to one element keeps the tax representative’s URI communication unambiguous.

Please use only one URI communication for the tax representative

Several ram:URIUniversalCommunication elements are recorded for the tax representative. You can correct the invoice by limiting the number to one.

What to do
  1. Find ram:URIUniversalCommunication within BuyerTaxRepresentativeTradeParty.
  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:BuyerTaxRepresentativeTradeParty>
  <ram:URIUniversalCommunication/>
  <ram:URIUniversalCommunication/>
</ram:BuyerTaxRepresentativeTradeParty>
✓ Correct
<ram:BuyerTaxRepresentativeTradeParty>
  <ram:URIUniversalCommunication/>
</ram:BuyerTaxRepresentativeTradeParty>
Technical details

The rule counts the direct child elements ram:URIUniversalCommunication in context and permits no more than one.

Where the rule applies

Within BuyerTaxRepresentativeTradeParty, the rule applies to the URI communication.

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