Allowed value for schemeID on ram:URIID

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 on ram:URIID is not included in the code list used by this rule. The test also permits an empty value.

What the rule means

An allowed value identifies the URI scheme according to the code list defined for this rule.

Please use an allowed value for `schemeID` on `ram:URIID`

The value of schemeID in the payee's URI communication is not recognized as allowed by this check. You can correct it using the applicable code list.

What to do
  1. Check the value of the schemeID attribute on the payee's ram:URIID.
  2. Compare it with the values allowed by this rule and correct it if needed.
  3. Generate the invoice again and validate it again.
Technical details

The test permits an empty value; otherwise, the value must occur in the enumeration of code list 13 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

The schemeID attribute on ram:URIID in the payee's ram:URIUniversalCommunication.

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]