Invalid seller identification scheme identifier

Error FX-SCH-A-000501 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 schemeID attribute of GlobalID contains a value that is not included in the applicable code list. This check also accepts an empty value.

What the rule means

The scheme identifier specifies how the seller’s global identifier is to be interpreted. A value that is not permitted can prevent unambiguous identification of the scheme.

Please provide an allowed scheme identifier for the seller’s global identifier

The scheme identifier for the seller’s global identifier is not included in the applicable code list. You can adjust the value using the code list that applies to GlobalID.

What to do
  1. Check the schemeID attribute of GlobalID in SellerTradeParty.
  2. Compare the entered value with the code list for this attribute.
  3. Generate the invoice again and validate it once more.
Technical details

A non-empty value of GlobalID/@schemeID is checked against the entries in code list 11 in FACTUR-X_BASIC_codedb.xml.

Where the rule applies

The rule applies to the seller’s global identifier in SellerTradeParty, specifically to the schemeID attribute of GlobalID.

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