Allowed code for the URI identifier’s schemeID

Error FX-SCH-A-000948 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 supplied schemeID value is not present in the code list used by this rule. This test also permits an empty value.

What the rule means

A schemeID value from the designated code list allows the URI identifier to be associated with a recognized identification scheme.

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

The schemeID value on ram:URIID does not match the code list designated for this entry. Use a code from that list or leave the value empty.

What to do
  1. Locate ram:URIID in URIUniversalCommunication under PayerTradeParty.
  2. Check the value of the schemeID attribute.
  3. Use a code included in the designated code list or leave the value empty.
  4. Generate the invoice again and validate it.
Technical details

The test accepts an empty value or a value listed as an enumeration in code list ID 13.

Where the rule applies

The rule applies to the value of the schemeID attribute on ram:URIID in URIUniversalCommunication under PayerTradeParty.

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