Provide exactly one URI identifier for the manufacturer's communication

Error FX-SCH-A-001170 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 is missing from ram:URIUniversalCommunication or occurs more than once. This communication element must contain exactly one ram:URIID.

What the rule means

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

Please provide exactly one URI identifier for the manufacturer's communication

The product manufacturer's communication is missing ram:URIID or contains it more than once. Make sure the communication element contains exactly one such element.

What to do
  1. Locate ram:URIUniversalCommunication for the product manufacturer.
  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 check verifies that ram:URIUniversalCommunication contains exactly one direct ram:URIID element.

Where the rule applies

The rule applies to the product manufacturer's ram:URIUniversalCommunication within an invoice line.

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