Exactly one URI identifier for the ship-from party

Error FX-SCH-A-000812 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 appears more than once.

What the rule means

URI communication must contain exactly one URI identifier so that it is stated unambiguously at this location.

Please provide exactly one URI identifier for the ship-from party’s URI communication

ram:URIID is missing or appears more than once in the ship-from party’s ram:URIUniversalCommunication. The number of elements can be adjusted to exactly one.

What to do
  1. Locate ram:URIUniversalCommunication in ram:ShipFromTradeParty.
  2. Ensure that it contains exactly one ram:URIID element.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID>https://example.org</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The rule checks that ram:URIUniversalCommunication contains exactly one direct ram:URIID child element.

Where the rule applies

This rule applies to ram:URIUniversalCommunication within ram:ShipFromTradeParty.

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