Allowed identifier scheme for the manufacturer URI

Error FX-SCH-A-001172 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 the schemeID attribute on ram:URIID is not included in the permitted code list. An empty value is allowed by the test condition.

What the rule means

schemeID identifies the scheme used for the manufacturer URI. A value that is not permitted cannot be classified as a valid scheme for this identifier.

Please use an allowed identifier scheme for the manufacturer URI

The manufacturer URI identifier has a schemeID value that is not permitted. Using an allowed value or leaving it empty can resolve this issue.

What to do
  1. Locate ram:URIID in the product’s manufacturer party on the invoice line.
  2. Check the schemeID attribute against the values permitted for this identifier.
  3. Use a permitted value or leave schemeID empty.
  4. Generate the invoice again and validate it once more.
Technical details

The test accepts an empty value or a value listed in the enumeration of code list 13 in FACTUR-X_EXTENDED_codedb.xml.

Where the rule applies

The rule applies to ram:URIID under the product’s manufacturer party in an invoice line.

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