Disallowed schemeID

Error FX-SCH-A-000907 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 is neither empty nor included in the code list allowed for this value.

What the rule means

The schemeID identifies the scheme of the identifier in ram:URIID. A disallowed value can make the identifier ambiguous.

Please use an allowed schemeID for the URI identifier

The schemeID of the invoice issuer's ram:URIID is not included in the allowed code list. You can resolve this by adjusting the value to comply with the rule.

What to do
  1. Check the schemeID attribute on ram:URIID.
  2. Leave the value empty or use a value from the code list allowed for this value.
  3. Regenerate the invoice and validate it again.
Technical details

The check verifies that the value is empty or is included in enumeration 13 of the code list.

Where the rule applies

The rule applies to the ram:URIID value in the invoice issuer's ram:URIUniversalCommunication.

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