Exactly one electronic address

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:URIUniversalCommunication does not contain exactly one ram:URIID. The element must appear once; it must not be missing or occur more than once.

What the rule means

ram:URIID contains the electronic address within the communication information. Exactly one value is required to provide this information unambiguously.

Please provide the goods recipient’s electronic address exactly once

The goods recipient’s electronic communication information does not contain ram:URIID exactly once. Make sure the element appears once.

What to do
  1. Find ram:URIUniversalCommunication for the goods recipient.
  2. Make sure it contains exactly one ram:URIID element.
  3. Generate the invoice again and check it again.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID>valeur</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The check requires exactly one direct ram:URIID element within ram:URIUniversalCommunication.

Where the rule applies

The rule applies to the electronic communication ram:URIUniversalCommunication of the goods recipient ram:ShipToTradeParty.

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