A URI identifier must be present

Error FX-SCH-A-001123 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 missing or occurs more than once.

What the rule means

URIID contains the URI identifier for the ultimate ship-to party’s URI communication. The rule requires exactly one such identifier in this element.

Please provide exactly one URI identifier for the ultimate ship-to party

The ultimate ship-to party’s URI communication is missing URIID or contains it more than once. Exactly one URIID element is required.

What to do
  1. Open the ultimate ship-to party’s URIUniversalCommunication.
  2. Make sure it contains exactly one URIID element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID/>
</ram:URIUniversalCommunication>
Technical details

The test counts the direct ram:URIID elements in ram:URIUniversalCommunication and requires a count of 1.

Where the rule applies

The rule applies to the ultimate ship-to party’s URI communication for an invoice line, in URIUniversalCommunication.

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