Exactly one URI identifier for the delivery recipient

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

What the rule means

ram:URIID contains the URI identifier for the communication information. Exactly one such element meets the expected structure for this information.

Please provide exactly one URI identifier for the delivery recipient

The delivery recipient’s communication information does not contain exactly one ram:URIID element. You can resolve this by making sure there is one such element.

What to do
  1. Check the delivery recipient’s ram:URIUniversalCommunication.
  2. Make sure it contains exactly one ram: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>https://example.org</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The Schematron check counts the direct ram:URIID elements under ram:URIUniversalCommunication and requires a count of 1.

Where the rule applies

The rule applies to ram:URIUniversalCommunication of the ram:ShipToTradeParty party on an invoice line.

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