The manufacturer identifier’s scheme must be allowed

Error FX-SCH-A-001161 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 neither empty nor included in the value list defined for this scheme.

What the rule means

The value list defines which non-empty scheme values are allowed for the global manufacturer identifier.

Please use an allowed scheme for the manufacturer identifier

The value of schemeID for the global manufacturer identifier does not match the defined value list. Use a value from that list or leave the checked value empty.

What to do
  1. Find ram:GlobalID on the product manufacturer party.
  2. Check the value of schemeID and use a value from the applicable value list or leave it empty.
  3. Regenerate the invoice and validate it again.
Technical details

The test permits an empty checked value; otherwise, it must be present in the enumeration of external code list 11.

Where the rule applies

The rule applies to the value of the schemeID attribute on the product manufacturer party’s ram:GlobalID.

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