Use an allowed schemeID value for the URI ID

Error FX-SCH-A-000773 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 on URIID is not included in the list of values allowed for this identifier.

What the rule means

The value list limits which identifiers may be used as the scheme for this URI ID. A value outside that list is not permitted for this purpose.

Please use an allowed schemeID value for the URI ID

The value of schemeID on the URI ID is not allowed in this form. Use a value from the list provided for this attribute.

What to do
  1. Locate URIID in the tax representative’s URI communication.
  2. Check the value of schemeID against the list provided for this attribute.
  3. Replace a value that is not listed with an allowed value, or leave the attribute empty.
  4. Generate the invoice again and validate it.
Technical details

An empty value passes this check; a non-empty value must occur in code list 13 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

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

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