Contact URI identifier required

Error FX-SCH-A-000677 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:EmailURIUniversalCommunication does not contain exactly one ram:URIID element. The element is missing or occurs more than once.

What the rule means

ram:URIID is the required identifier within the contact’s email communication.

Please provide exactly one URI identifier for the email communication

The contact’s email communication is missing ram:URIID, or the element is present more than once. You can correct this by including exactly one element.

What to do
  1. Find ram:EmailURIUniversalCommunication for the tax representative’s contact.
  2. Make sure it contains exactly one ram:URIID element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:EmailURIUniversalCommunication/>
✓ Correct
<ram:EmailURIUniversalCommunication>
  <ram:URIID/>
</ram:EmailURIUniversalCommunication>
Technical details

The rule counts the direct child elements ram:URIID of ram:EmailURIUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to the email communication of the contact specified in BuyerTaxRepresentativeTradeParty.

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