URI identifier for email communication

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:URIID is missing from ram:EmailURIUniversalCommunication or occurs more than once. The element must be present exactly once.

What the rule means

The contact’s email communication is represented by exactly one URI identifier.

Please provide exactly one URI identifier for the email communication

The contact’s email communication is missing its URI identifier or contains it more than once. You can resolve this by including exactly one ram:URIID.

What to do
  1. Find ram:EmailURIUniversalCommunication in the contact details of the buyer’s tax representative.
  2. Check how many times ram:URIID occurs there.
  3. Add or remove entries so that ram:URIID is present exactly once.
  4. 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 test counts the direct ram:URIID elements in ram:EmailURIUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to ram:EmailURIUniversalCommunication within the contact of the buyer’s tax representative.

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