Provide exactly one URI identifier

Error FX-SCH-A-001056 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 does not occur exactly once in ram:URIUniversalCommunication. The element is either missing or occurs more than once.

What the rule means

The communication must contain exactly one URI identifier at this point. A missing or duplicate identifier does not meet the required structure.

Please provide exactly one seller URI identifier

The URI identifier is missing or entered more than once in the seller party’s communication for an invoice line. The structure can be corrected by providing it exactly once.

What to do
  1. Find ram:URIUniversalCommunication in the seller party details.
  2. Check that it contains exactly one ram:URIID.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication/>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID>https://example.com</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The test counts the direct ram:URIID elements within ram:URIUniversalCommunication and requires a count of one.

Where the rule applies

The rule applies to ram:URIUniversalCommunication of the seller party for an invoice line.

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