Use an allowed schemeID value for ram:URIID

Error FX-SCH-A-000831 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

If schemeID contains a value that is not in the permitted code list for this attribute, the value is invalid. An empty value is accepted by this check.

What the rule means

An allowed schemeID value identifies the URI identifier scheme in a form that conforms to the designated code list.

Please use an allowed `schemeID` value for `ram:URIID`

The schemeID value on ram:URIID is not included in the permitted code list. You can resolve the issue by using a value listed there.

What to do
  1. Check the schemeID value on the ram:URIID element against the permitted code list.
  2. Replace any value not listed there with a value from the list.
  3. Generate the invoice again and validate it.
Technical details

The test accepts an empty string value or a value present in the enumeration of the code list identified as 13.

Where the rule applies

The rule applies to the value of the schemeID attribute on the ram:URIID element in the delivery recipient’s URI communication information.

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