Invalid identification scheme identifier

Error FX-SCH-A-000506 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 the @schemeID attribute on ram:GlobalID is neither empty nor included in the code list allowed for this identifier.

What the rule means

@schemeID indicates which identification scheme applies to the goods recipient’s global identifier. An allowed value makes that scheme unambiguous to systems.

Please use an allowed identification scheme identifier for the goods recipient

The identifier on the goods recipient’s ram:GlobalID contains a value that is not allowed for @schemeID. You can resolve this by using a value from the designated code list or leaving the attribute empty.

What to do
  1. Locate ram:GlobalID for the goods recipient.
  2. Check the value of @schemeID against the designated code list.
  3. Use a value listed there or leave @schemeID empty.
  4. Generate the invoice again and validate it.
Technical details

The test accepts an empty code value or a value listed in FACTUR-X_BASIC_codedb.xml under code list ID 11.

Where the rule applies

The rule applies to the identification scheme identifier on the goods recipient’s ram:GlobalID in the delivery header.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ ram:ShipToTradeParty/ram:GlobalID
Test expression (assert/@test)
string-length($codeValue11)=0 or document('FACTUR-X_BASIC_codedb.xml')/codedb/cl[@id=11]/enumeration[@value=$codeValue11]