Allowed scheme value for the URI identifier

Error FX-SCH-A-000907 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 neither empty nor included in the code list for URI schemes.

What the rule means

The rule ensures that a non-empty schemeID value corresponds to a URI scheme listed in the associated code list.

Please use an allowed scheme for the invoice issuer’s URI

The supplied schemeID value for ram:URIID is not in the associated code list. This rule also allows an empty value.

What to do
  1. Check the value of schemeID on ram:URIID.
  2. Use a value included in code list 13, or leave the value empty.
  3. Generate the invoice again and validate it.
Technical details

The test passes when $codeValue13 is empty or occurs as a value in code list 13.

Where the rule applies

This rule checks the value of the schemeID attribute on ram:URIID in the invoice issuer’s URI communication.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:InvoicerTradeParty/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]