Allowed global product ID identifier

Error FX-SCH-A-001146 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 provided for @schemeID on ram:GlobalID is not in the permitted value list. An empty checked code value is exempt from this check.

What the rule means

The permitted value list limits the identifiers that can be used for a global product ID. A value not in the list does not meet this rule.

Please use an allowed identifier for the global product ID

The identifier on ram:GlobalID is not in the permitted value list. You can compare the value with an entry in that list.

What to do
  1. Locate the affected ram:GlobalID on the product.
  2. Check the value of @schemeID against the value list permitted by this rule.
  3. Replace a value that is not listed with an allowed value.
  4. Regenerate the invoice and check it again.
Technical details

The rule permits an empty checked code value; otherwise, the value must occur in the enumeration of code list 8.

Where the rule applies

The rule applies to the @schemeID attribute of the product's ram:GlobalID on an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedTradeProduct/ram:GlobalID
Test expression (assert/@test)
string-length($codeValue8)=0 or document('FACTUR-X_EXTENDED_codedb.xml')/codedb/cl[@id=8]/enumeration[@value=$codeValue8]