GlobalID scheme identifier required

Error FX-SCH-A-001150 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 ram:GlobalID element has no schemeID attribute. The scheme used to identify the global product identifier is therefore missing.

What the rule means

The scheme associates the global product identifier with an identification system. Without it, the identifier cannot be classified unambiguously.

Please add the identification scheme for `ram:GlobalID`

The global product identifier is missing the information that specifies its identification scheme. Add the attribute so the identifier can be classified.

What to do
  1. Locate ram:GlobalID in the referenced product on the invoice line.
  2. Add the schemeID attribute with the identification scheme being used.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:GlobalID>12345</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="…">12345</ram:GlobalID>
Technical details

The test checks whether the schemeID attribute is present on ram:GlobalID.

Where the rule applies

This rule applies to ram:GlobalID within a referenced product on an invoice line.

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