Provide schemeID for GlobalID

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 schemeID attribute is missing from ram:GlobalID. This attribute is required in this context.

What the rule means

schemeID identifies the scheme used for the global product identifier.

Please add `schemeID` for the global product identifier

The schemeID attribute is missing from ram:GlobalID. Add the attribute so the global product identifier specifies its scheme.

What to do
  1. Locate ram:GlobalID in the referenced product of the invoice line.
  2. Add the schemeID attribute there.
  3. Regenerate the invoice 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 check requires the schemeID attribute on ram:GlobalID; it does not check the attribute’s permitted value here.

Where the rule applies

The rule applies to ram:GlobalID of a referenced product within an invoice line.

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