Provide exactly one ram:URIID

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:URIUniversalCommunication does not contain exactly one ram:URIID element. The element is either missing or occurs more than once.

What the rule means

ram:URIID contains the identifier for the URI communication. The rule requires exactly one such element.

Please provide exactly one `ram:URIID` for the ship-to address

The URI communication in an invoice line’s ship-to address does not contain exactly one ram:URIID element. You can resolve this by ensuring that the element occurs once.

What to do
  1. Check ram:URIUniversalCommunication in the ship-to address and ensure that it contains ram:URIID exactly once.
  2. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication>
  <ram:URIID/>
  <ram:URIID/>
</ram:URIUniversalCommunication>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID/>
</ram:URIUniversalCommunication>
Technical details

The number of direct ram:URIID elements in ram:URIUniversalCommunication must equal one.

Where the rule applies

The rule applies to ram:URIUniversalCommunication of an invoice line’s ship-to address.

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