Use an allowed schemeID value for the seller’s global identifier

Error FX-SCH-A-000776 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 non-empty value of schemeID on GlobalID is not included in the list of values allowed for this identifier.

What the rule means

The value list defines which identifiers may be used as the scheme for the seller’s global identifier. A value outside that list is not permitted for this purpose.

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

The value of schemeID on the seller’s global identifier is not allowed. Use a value from the list provided for this attribute.

What to do
  1. Locate the seller’s GlobalID.
  2. Check the value of schemeID against the list provided for this attribute.
  3. Replace a value that is not listed with an allowed value, or leave the attribute empty.
  4. Generate the invoice again and validate it.
Technical details

An empty value passes this check; a non-empty value must occur in code list 11 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

The rule applies to the schemeID attribute on the seller’s 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_EXTENDED_codedb.xml')/codedb/cl[@id=11]/enumeration[@value=$codeValue11]