Exactly one URI identifier for email communication

Error FX-SCH-A-001043 Factur-X

Element 'ram:URIID' must occur exactly 1 times.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

URIID is missing from EmailURIUniversalCommunication or occurs more than once. Exactly one URIID element is required.

What the rule means

The URIID element contains the identifier for the contact’s email communication. Requiring exactly one ensures that a single value is provided for it.

Please provide exactly one URI identifier for the seller contact’s email communication

The seller contact’s email communication is missing URIID or contains it more than once. Providing it exactly once resolves this issue.

What to do
  1. Find URIID in the seller contact’s EmailURIUniversalCommunication.
  2. Make sure exactly one URIID element is present there.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:EmailURIUniversalCommunication/>
✓ Correct
<ram:EmailURIUniversalCommunication>
  <ram:URIID>mailto:contact@example.com</ram:URIID>
</ram:EmailURIUniversalCommunication>
Technical details

The XPath counts the URIID elements in the current EmailURIUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to EmailURIUniversalCommunication within the seller contact for an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeAgreement/ram:ItemSellerTradeParty/ram:DefinedTradeContact/ ram:EmailURIUniversalCommunication
Test expression (assert/@test)
count(ram:URIID)=1