Permitted scheme value for the URI ID

Error FX-SCH-A-000948 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

A non-empty value of @schemeID on ram:URIID is not included in the code list used by this rule. An empty value satisfies this test.

What the rule means

The scheme value identifies the type of URI ID. A non-empty value must match the permitted code list.

Please check the scheme value of the payer’s URI ID

The scheme value for the payer’s URI ID does not match the permitted code list. You can adjust the value or leave it empty.

What to do
  1. Locate ram:URIID in ram:URIUniversalCommunication under ram:PayerTradeParty.
  2. Check the value of the @schemeID attribute.
  3. Generate the invoice again and validate it again.
Technical details

The test permits an empty @schemeID value. Otherwise, the value is checked against the entries in code list ID 13.

Where the rule applies

The rule applies to the value of the @schemeID attribute on ram:URIID in the payer’s ram:URIUniversalCommunication.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:PayerTradeParty/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]