Exactly one URIID for the electronic address

Error FX-SCH-A-000727 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

URIUniversalCommunication does not contain exactly one URIID element. The element is either missing or occurs more than once.

What the rule means

The end user's universal communication is represented by exactly one URI identifier in this element.

Please provide exactly one URIID for the end user's communication

URIUniversalCommunication for the end user is missing a URIID or contains it more than once. You can adjust the entries so that exactly one URIID element is present.

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

The Schematron test counts the direct ram:URIID child elements of ram:URIUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to the end user's URIUniversalCommunication under ProductEndUserTradeParty.

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