Contact email address required

Error FX-SCH-A-000989 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 occurs more than once. Exactly one ram:URIID must be present.

What the rule means

The ram:URIID element contains the identifier for the email communication. Without exactly one such identifier, this contact detail is structurally incomplete.

Please provide exactly one email address for the payee’s contact

The identifier for the contact’s email communication is missing or has been entered more than once. Exactly one ram:URIID completes this detail.

What to do
  1. Locate ram:EmailURIUniversalCommunication under the payee’s contact.
  2. Check that it contains exactly one ram:URIID.
  3. Regenerate the invoice and validate 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 ram:EmailURIUniversalCommunication context, the rule checks that the number of direct ram:URIID elements is exactly one.

Where the rule applies

The rule applies to the email communication ram:EmailURIUniversalCommunication of the contact ram:DefinedTradeContact for the payee.

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