Allowed value for the URI identifier’s schemeID

Error FX-SCH-A-000693 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 non-empty value of schemeID is not included in the code list defined for this attribute. The test accepts an empty value or a value from code list 13.

What the rule means

A value from the specified code list identifies the scheme of the URI identifier unambiguously.

Please use an allowed value for the URI identifier’s `schemeID`

The supplied schemeID value for the tax representative’s URIID is not allowed. Use a value from the applicable code list.

What to do
  1. Check schemeID on the URIID element.
  2. Replace any disallowed value with a value from code list 13.
  3. Regenerate the invoice and validate it again.
Technical details

The test accepts schemeID when its value is empty or occurs in the enumeration for code list 13.

Where the rule applies

The rule applies to the schemeID attribute of URIID in the URI communication entry of the buyer’s tax representative.

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