Allowed URI scheme value

Error FX-SCH-A-000926 Factur-X

Value of '@schemeID' is not allowed.

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

The value of schemeID is non-empty and does not match a value in the code list used by this rule.

What the rule means

The value of schemeID identifies the scheme of the URI identifier and is checked against a defined code list. A value not listed there is not allowed by this check.

Please use an allowed scheme value for the payee’s URI

The value of schemeID on ram:URIID is not included in the code list used by this rule. Replace it with a value from that list.

What to do
  1. Check the value of schemeID on ram:URIID in the payee’s URI communication.
  2. Replace any unlisted value with a value from the code list used by this rule.
  3. Generate the invoice again and validate it again.
Technical details

The test permits an empty value; otherwise, the value of schemeID must occur in the code list with identifier 13.

Where the rule applies

Applies to the value of the schemeID attribute on ram:URIID in the payee’s URI communication.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:PayeeTradeParty/ram:URIUniversalCommunication/ram:URIID
Test expression (assert/@test)
string-length($codeValue13)=0 or document('FACTUR-X_EXTENDED_codedb.xml')/codedb/cl[@id=13]/enumeration[@value=$codeValue13]