Exactly one URI identifier for the invoice issuer

Error FX-SCH-A-000905 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 the invoice issuer’s URIUniversalCommunication. It is either missing or occurs more than once.

What the rule means

The invoice issuer’s URI communication requires exactly one URI identifier so that the URI value is unambiguously specified.

Please provide exactly one URI identifier for the invoice issuer

The invoice issuer’s URI communication is missing its URI identifier or contains it more than once. Providing it once resolves this structural issue.

What to do
  1. Open the URI communication in InvoicerTradeParty.
  2. Make sure URIUniversalCommunication 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

The rule checks whether ram:URIID occurs exactly once in the context of URIUniversalCommunication.

Where the rule applies

This rule applies to the invoice issuer’s URI communication in InvoicerTradeParty.

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