Payee email communication

Error FX-SCH-A-000911 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 does not occur exactly once in EmailURIUniversalCommunication. The element is missing or occurs more than once.

What the rule means

The ram:URIID element contains the email address identifier. Exactly one such element is expected for this email communication.

Please include the payee’s email address exactly once

ram:URIID is missing or appears more than once in the payee’s email communication. This can be resolved by making the entry unique.

What to do
  1. Locate the email communication in the contact under PayeeTradeParty.
  2. Check that ram:URIID occurs exactly once.
  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

The Schematron check requires exactly one direct ram:URIID element under EmailURIUniversalCommunication.

Where the rule applies

The rule applies to the email communication in the contact of the payee under PayeeTradeParty.

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