Exactly one URIID for the electronic address

Error FX-SCH-A-000905 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 ram:URIUniversalCommunication. The element is either missing or occurs more than once.

What the rule means

ram:URIID contains the URI identifier for electronic communication. Exactly one such identifier must be present for this communication element.

Please provide exactly one `ram:URIID` for the electronic address

ram:URIID is missing from ram:URIUniversalCommunication of ram:InvoicerTradeParty or occurs more than once. You can correct the number of URI identifiers.

What to do
  1. Locate ram:URIUniversalCommunication within ram:InvoicerTradeParty.
  2. Make sure it contains exactly one ram:URIID.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID>value</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The rule counts the direct ram:URIID elements in ram:URIUniversalCommunication and requires the count to be exactly one.

Where the rule applies

The rule applies to ram:URIUniversalCommunication of ram:InvoicerTradeParty.

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