Use an allowed seller URI identifier

Error FX-SCH-A-000447 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:URIID is neither empty nor present in the code list defined for this field.

What the rule means

The identifier specifies the scheme used to interpret the seller URI. A value that is not allowed may prevent the URI from being classified correctly.

Please use an allowed identifier for the seller URI

The seller URI identifier is not included in the code list defined for it. You can adjust the value by leaving it empty or using a value listed there.

What to do
  1. Check the value of schemeID on ram:URIID.
  2. Use only a value included in the corresponding code list, or leave it empty.
  3. Regenerate the invoice and validate it again.
Technical details

The test accepts an empty value or a value occurring as @value in the code list with id=8.

Where the rule applies

The rule applies to ram:URIID within the seller communication element ram:URIUniversalCommunication.

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