Use an allowed scheme value for the communication URI

Error FX-SCH-A-000754 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 schemeID value is not included in the value list applicable to this attribute. The test permits an empty value or a value listed there.

What the rule means

The value list restricts the URI scheme identifier to defined values so it can be processed consistently. Under the test condition, an empty value is also permitted.

Please use an allowed scheme value for the communication URI

The schemeID value on the sales agent’s communication URI is not recognized as an allowed value. The rule also permits an empty value.

What to do
  1. Check the value of schemeID on the URIID element.
  2. Use a value from the list applicable to schemeID, or leave the value empty.
  3. Regenerate the invoice and validate it again.
Technical details

The rule accepts an empty schemeID value or a value present in the code list identified by 13.

Where the rule applies

The rule applies to the value of the schemeID attribute of URIID in the sales agent’s URIUniversalCommunication.

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