At most one tax representative URI communication

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

The ram:SellerTaxRepresentativeTradeParty element contains more than one ram:URIUniversalCommunication element. In this context, this element may occur at most once.

What the rule means

The rule limits the number of URI communication entries for the tax representative to one. It does not require such an entry to be present.

Please provide no more than one URI communication for the tax representative

More than one ram:URIUniversalCommunication element is provided for the tax representative. This rule allows no more than one here.

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

The test counts ram:URIUniversalCommunication elements directly under ram:SellerTaxRepresentativeTradeParty and requires a count of no more than one.

Where the rule applies

The rule applies to ram:URIUniversalCommunication within ram:SellerTaxRepresentativeTradeParty.

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