Invalid identification scheme for the buyer’s electronic address

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 @schemeID attribute of ram:URIID contains a value that is not included in the applicable code list.

What the rule means

The identification scheme specifies the system used to interpret the electronic address. An unallowed scheme value can prevent that address from being classified correctly.

Please use an allowed identification scheme for the buyer’s electronic address

An unallowed identification scheme is specified for the buyer’s electronic address. You can resolve the issue by aligning the checked scheme value with the permitted code list.

What to do
  1. Locate ram:URIUniversalCommunication in the buyer details.
  2. Check the value of @schemeID on ram:URIID against the applicable code list.
  3. Change the scheme value to an allowed value, or leave it empty if no value is to be supplied.
  4. Generate the invoice again and validate it again.
Technical details

The test permits an empty checked value; otherwise, it must be present in code list ID 13.

Where the rule applies

The rule applies to ram:URIID of the electronic communication within the buyer party.

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]