Use an allowed schemeID value for the buyer URI

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

A non-empty schemeID value is not included in the value list used by this rule. The test also accepts an empty value.

What the rule means

The value list restricts the URI scheme designation to the values provided for this rule. An empty value is also permitted by the test.

Please use an allowed schemeID value for the buyer URI

The supplied schemeID value is not included in the value list allowed by this rule. You can compare the value with that list or leave the attribute empty.

What to do
  1. Check the value of schemeID on the URIID element in the buyer’s communication details.
  2. Use a value from the code list allowed by this rule, or leave the value empty.
  3. Generate the invoice again and validate it once more.
What it looks like
✓ Correct
<ram:URIID schemeID=""/>
Good to know

An empty value is accepted by the test; a non-empty value must be included in the code list with ID 8.

Technical details

The test accepts an empty value or a value listed in the code list with ID 8.

Where the rule applies

This rule applies to the value of the schemeID attribute on the URIID element in the buyer’s communication details.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:BuyerTradeParty/ram:URIUniversalCommunication/ram:URIID
Test expression (assert/@test)
string-length($codeValue8)=0 or document('FACTUR-X_BASIC-WL_codedb.xml')/codedb/cl[@id=8]/enumeration[@value=$codeValue8]