Use an allowed schemeID value

Error FX-SCH-A-000441 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:GlobalID is not included in the code list used by this rule.

What the rule means

The code list restricts the scheme identifiers that may be used for the seller’s global identifier.

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

The value of schemeID on ram:GlobalID is not allowed by the applicable code list. Change it to an entry listed there.

What to do
  1. Find ram:GlobalID in SellerTradeParty.
  2. Check the value of the schemeID attribute against the code list used by this rule.
  3. Generate the invoice again and validate it once more.
Technical details

The test accepts an empty code value or a value listed as an enumeration in code list 5.

Where the rule applies

The rule applies to the schemeID attribute of ram:GlobalID in the seller details SellerTradeParty.

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