Exactly one URI identifier for the manufacturer contact’s email communication

Error FX-SCH-A-001157 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 the element occurs more than once.

What the rule means

The manufacturer contact’s email communication must contain exactly one URI identifier. Without exactly one such element, the communication entry is not structurally complete.

Please provide the manufacturer contact’s email URI identifier exactly once

The manufacturer contact’s email communication is missing its URI identifier, or it contains a duplicate. Providing exactly one ram:URIID completes the entry.

What to do
  1. Locate ram:EmailURIUniversalCommunication for the manufacturer contact.
  2. Make sure it contains exactly one ram:URIID.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:EmailURIUniversalCommunication/>
✓ Correct
<ram:EmailURIUniversalCommunication>
  <ram:URIID>mailto:contact@example.com</ram:URIID>
</ram:EmailURIUniversalCommunication>
Technical details

Within ram:EmailURIUniversalCommunication, the check requires exactly one direct ram:URIID element.

Where the rule applies

The rule applies to ram:URIID in the email communication of the contact at the manufacturer of a product on an invoice line.

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