Use an allowed scheme value for the seller’s URI identifier

Error FX-SCH-A-000782 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:URIID is not listed as an allowed value in code list 13. An empty value is also accepted by this test.

What the rule means

Code list 13 limits the allowed scheme values for this URI identifier and provides a consistent classification.

Please use an allowed scheme value for the seller’s URI identifier

The value of schemeID on the seller’s URI identifier is not recognized as an allowed value. Use a value from the specified code list.

What to do
  1. Check the value of schemeID on the seller’s ram:URIID.
  2. Replace any disallowed value with a value listed in code list 13.
  3. Regenerate the invoice and validate it again.
Technical details

The test accepts an empty $codeValue13 value or a value listed in code list ID 13 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

The rule applies to the schemeID attribute of ram:URIID within the seller party.

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