Use an allowed scheme for the electronic address

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 value of schemeID is not empty and does not match any code allowed for this field.

What the rule means

The code in schemeID must belong to the identifiers defined for this field so that the electronic address scheme is specified unambiguously.

Please use an allowed scheme for the tax representative’s address

The scheme identifier on ram:URIID is not included in the allowed code list. Use a code listed for this field.

What to do
  1. Check the value of the schemeID attribute on ram:URIID.
  2. Compare it with the codes allowed for this field.
  3. Generate the invoice again and validate it.
Technical details

An empty value passes this check; a non-empty value must be present in the code list with identifier 13 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

On the schemeID attribute of the ram:URIID for the seller tax representative’s electronic address.

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]