One URI identifier for the buyer agent’s communication

Error FX-SCH-A-000667 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 must contain exactly one ram:URIID. The element is either missing or appears more than once.

What the rule means

ram:URIID contains the URI identifier for the buyer agent’s communication.

Please provide exactly one URI identifier for the buyer agent’s communication

The buyer agent’s ram:URIUniversalCommunication is missing ram:URIID or contains it more than once. It must be present exactly once.

What to do
  1. Locate ram:URIUniversalCommunication under the buyer agent.
  2. Ensure that it contains exactly one ram:URIID.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID>https://example.org</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The test counts the direct child elements ram:URIID of ram:URIUniversalCommunication and requires exactly one.

Where the rule applies

The rule applies to ram:URIUniversalCommunication of the buyer agent.

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