Allowed identifier scheme for the seller URI

Error FX-SCH-A-000782 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 the schemeID attribute of URIID is not included in the code list referenced by this rule. This test explicitly allows an empty value.

What the rule means

schemeID identifies the scheme of the seller URI. The test accepts only a value from the referenced code list or an empty value.

Please use an allowed identifier for the seller URI

The schemeID value on URIID is not recognized by the code list used for this rule. Use a value included in that list or leave the attribute empty.

What to do
  1. Locate URIID in the URI communication under SellerTradeParty.
  2. Check the value of schemeID against the code list used by the rule, or leave the attribute empty.
  3. Generate the invoice again and validate it.
Technical details

The test passes if $codeValue13 is empty or appears as an enumeration in the code list with ID 13.

Where the rule applies

The rule checks the schemeID attribute of URIID in the seller’s URI communication.

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