Provide schemeID for GlobalID

Error FX-SCH-A-000551 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. The identification scheme for the global product identifier is therefore not specified.

What the rule means

schemeID identifies the scheme used to interpret the global product identifier. Without the attribute, this classification information is missing.

Please specify the scheme for the global product identifier

The global product identifier is missing the information that specifies how it should be interpreted. Add the attribute to the relevant ram:GlobalID.

What to do
  1. Find ram:GlobalID in SpecifiedTradeProduct for the affected invoice line.
  2. Add the schemeID attribute there.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:GlobalID>123456</ram:GlobalID>
Technical details

The XPath test checks whether the schemeID attribute exists on the current ram:GlobalID element.

Where the rule applies

The rule applies to the schemeID attribute of ram:GlobalID in SpecifiedTradeProduct for an invoice line.

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