schemeID required 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 required @schemeID attribute is missing from ram:GlobalID. Without this attribute, the global product identifier lacks the scheme designation required in this context.

What the rule means

The @schemeID attribute identifies the scheme of the global product identifier and is mandatory in this context.

Please add `@schemeID` to `ram:GlobalID`

The global product identifier is missing the information about which scheme is used. Add the required @schemeID attribute to ram:GlobalID.

What to do
  1. Find ram:GlobalID in the invoice line’s product details.
  2. Add the @schemeID attribute.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:GlobalID>…</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="…">…</ram:GlobalID>
Technical details

The test requires the @schemeID attribute to be present on ram:GlobalID.

Where the rule applies

The rule applies to ram:GlobalID in the product details of an invoice line.

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