Allowed schemeID for the seller's item identifier

Error FX-SCH-A-001047 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 not empty and is not a value allowed by the code list.

What the rule means

The schemeID identifies the scheme used to interpret the global item identifier. A value that is not allowed may prevent the identifier from being interpreted unambiguously.

Please use an allowed schemeID for the seller's item identifier

The seller's global item identifier has a schemeID value that is not allowed. You can adjust the value to one from the permitted code list or leave it empty.

What to do
  1. Locate ram:GlobalID in the seller information for the item.
  2. Check the schemeID value against the code list allowed for this identifier.
  3. Leave schemeID empty if you do not want to provide a value.
  4. Generate the invoice again and validate it.
Technical details

The test passes if the checked code value is empty or appears in the code list with identifier 11.

Where the rule applies

The rule applies to ram:GlobalID of the seller of an item in an invoice line.

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