Allowed scheme code for the payer ID

Error FX-SCH-A-000936 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 is not in the code list used by this rule. An empty value is explicitly allowed by this check.

What the rule means

An allowed schemeID value ensures that the payer’s global ID is identified using a recognized scheme.

Please use an allowed code for the payer’s global ID

The schemeID value for the payer’s global ID is not in the allowed code list. Change it to an allowed entry or leave it empty.

What to do
  1. Find ram:GlobalID in the payer details for payment.
  2. Check the schemeID value against the allowed code list or remove the value.
  3. Generate the invoice again and validate it.
Technical details

The check accepts an empty value or a value from code list 11 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

The rule applies to the schemeID attribute of ram:GlobalID within the payer details for payment.

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