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

ram:URIID is missing from ram:EmailURIUniversalCommunication, or it does not occur there exactly once.

What the rule means

The email communication of the defined seller contact must contain exactly one ram:URIID element. Without exactly one such element, the communication represented in the XML is incomplete or structurally ambiguous.

Please include exactly one URI identifier for email communication

ram:URIID does not occur exactly once in the seller contact's email communication. The structure requires exactly one such element here.

What to do
  1. Open ram:EmailURIUniversalCommunication in the ram:DefinedTradeContact of the seller item.
  2. Make sure this element contains exactly one ram:URIID.
  3. Regenerate the invoice and check it again.
What it looks like
✗ Triggers the message
<ram:EmailURIUniversalCommunication/>
✓ Correct
<ram:EmailURIUniversalCommunication>
  <ram:URIID>contact@example.com</ram:URIID>
</ram:EmailURIUniversalCommunication>
Technical details

In the context of ram:EmailURIUniversalCommunication, the count check requires exactly one direct ram:URIID element.

Where the rule applies

The rule applies to ram:EmailURIUniversalCommunication within the ram:DefinedTradeContact of the seller item on 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