Provide exactly one URI identifier for the invoice recipient

Error FX-SCH-A-000883 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

The invoice recipient’s ram:URIUniversalCommunication does not contain exactly one ram:URIID. The element is either missing or occurs more than once.

What the rule means

ram:URIID contains the identifier for the URI communication entry. Exactly one identifier is required in this entry.

Please provide exactly one URI identifier for the invoice recipient

The invoice recipient’s URI communication entry is missing ram:URIID or contains it more than once. Exactly one entry is required.

What to do
  1. Locate ram:URIUniversalCommunication for the invoice recipient.
  2. Make sure 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>identifier</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

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

Where the rule applies

The invoice recipient’s URI communication entry must contain one ram:URIID.

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