Scheme identifier required for the global seller identifier

Error FX-SCH-A-001046 Factur-X

Attribute '@schemeID' is required in this context.

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

The GlobalID element is missing the schemeID attribute. Without this attribute, the global identifier does not have the scheme marker required by this rule.

What the rule means

schemeID identifies the scheme of the global identifier. This marker associates the GlobalID value with an identification scheme.

Please add the scheme marker to the global seller identifier

The seller’s GlobalID is missing the schemeID marker. Add the attribute so the global identifier includes a scheme designation.

What to do
  1. Find the GlobalID element under ItemSellerTradeParty.
  2. Add the schemeID attribute to that element.
  3. Regenerate the invoice and validate it again.
Technical details

The XPath checks whether the schemeID attribute is present in the GlobalID context.

Where the rule applies

The rule applies to the seller’s GlobalID element for an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeAgreement/ram:ItemSellerTradeParty/ram:GlobalID
Test expression (assert/@test)
@schemeID