Invalid scheme identifier for the buyer’s URI

Error FX-SCH-A-000704 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 does not match a value permitted by code list 13. An empty value is permitted by the test condition.

What the rule means

The scheme identifier assigns a type to the URI identifier. A value that is not permitted cannot be classified using the designated code list.

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

The scheme identifier @schemeID on the buyer’s ram:URIID is not recognized as an allowed value. You can adjust the identifier and check the invoice again.

What to do
  1. Find ram:URIID in the buyer’s URI communication.
  2. Check the value of @schemeID against the code list applicable to this scheme identifier.
  3. Generate the invoice again and check it again.
Technical details

The test permits an empty value; otherwise, the value must appear in an enumeration of the code list with id=13.

Where the rule applies

The rule applies to the scheme identifier (@schemeID) of ram:URIID in the buyer’s URI communication.

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