Identification scheme for the URI identifier

Error FX-SCH-A-001004 Factur-X

Attribute '@schemeID' is required in this context.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The schemeID attribute is missing from the ram:URIID of the payee’s URI communication.

What the rule means

schemeID identifies the scheme used to interpret the URI identifier. Without the attribute, that scheme information is missing.

Please identify the payee’s URI identifier

The payee’s URI identifier is missing information about the scheme used to interpret it. Add the attribute directly to ram:URIID.

What to do
  1. Find ram:URIID within the payee’s URI communication.
  2. Add the schemeID attribute to this element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:URIID/>
✓ Correct
<ram:URIID schemeID=""/>
Technical details

The rule checks for the presence of the schemeID attribute on ram:URIID; it does not check its value here.

Where the rule applies

The rule applies to ram:URIID within the payee’s URI communication.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty/ram:URIUniversalCommunication/ ram:URIID
Test expression (assert/@test)
@schemeID