Provide a URI identifier for the tax representative contact’s email communication

Error FX-SCH-A-000760 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 does not occur exactly once. The contact must contain exactly one ram:URIID element there.

What the rule means

ram:URIID holds the URI identifier within the contact’s email communication. The rule requires exactly one such element.

Please add the URI identifier to the tax representative contact’s email communication

The tax representative contact’s email communication is missing the URI identifier ram:URIID, or it contains it more than once. Exactly one element is required here.

What to do
  1. Ensure that ram:EmailURIUniversalCommunication contains exactly one ram:URIID element.
  2. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:EmailURIUniversalCommunication/>
✓ Correct
<ram:EmailURIUniversalCommunication>
  <ram:URIID>mailto:contact@example.com</ram:URIID>
</ram:EmailURIUniversalCommunication>
Technical details

The test counts direct ram:URIID elements in ram:EmailURIUniversalCommunication and requires the count to be 1.

Where the rule applies

The rule applies to ram:EmailURIUniversalCommunication in the defined contact of the seller’s tax representative.

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