URI communication requires exactly one URIID

Error FX-SCH-A-000445 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. The element must occur exactly once.

What the rule means

ram:URIID contains the URI entry for the seller’s URI communication; the rule requires exactly one such element.

Please provide exactly one URIID for the seller’s URI communication

The seller’s URI communication does not contain exactly one ram:URIID. Add the element or remove any duplicates.

What to do
  1. Find ram:URIUniversalCommunication in the seller details.
  2. Ensure that it contains exactly one ram:URIID.
  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.com</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The XPath counts the child elements ram:URIID in ram:URIUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies within ram:URIUniversalCommunication in the seller details.

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