Provide exactly one ram:URIID in ram:URIUniversalCommunication

Error FX-SCH-A-000829 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 there more than once. Exactly one ram:URIID element must be present.

What the rule means

The rule requires exactly one element for the URI value in this communication information for the delivery recipient.

Please provide the delivery recipient’s URI exactly once

The delivery recipient’s URI communication information does not contain exactly one ram:URIID element. Add the missing element or remove the duplicate.

What to do
  1. Find ram:URIUniversalCommunication under ram:ShipToTradeParty.
  2. Make sure this section contains exactly one ram:URIID element.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID>https://example.org</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

Within ram:URIUniversalCommunication, the count of direct ram:URIID elements is checked for exactly one.

Where the rule applies

The rule applies to the URI communication information of the delivery recipient under ram:ShipToTradeParty.

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