Allowed scheme identifier for the payee URI

Error FX-SCH-A-001005 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 neither empty nor included in the code list defined for this identifier. The rule explicitly allows an empty value.

What the rule means

The scheme identifier indicates the scheme used to identify the payee’s URI. A value that is not allowed can make the identification of this URI ambiguous.

Please use an allowed scheme identifier for the payee’s URI

The scheme identifier for the payee’s URI is not recognized as an allowed value. You can leave the identifier empty or use an allowed value.

What to do
  1. Find ram:URIID in the payee’s URI communication.
  2. Check the value of @schemeID and leave it empty or use an allowed value.
  3. Generate the invoice again and validate it.
Technical details

The test accepts @schemeID when its value is empty or appears in the enumeration of code list ID 13 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

The rule applies to ram:URIID within the payee’s URI communication in the payment terms at document level.

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