ram:GlobalID requires a schemeID attribute

Error FX-SCH-A-000839 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 is missing its required schemeID attribute. Without this attribute, the identifier scheme designation required in this context is missing.

What the rule means

The schemeID attribute identifies the scheme to which the global identifier belongs. This association is needed to identify the identifier’s scheme.

Please specify the scheme for the ultimate delivery recipient’s global identifier

The schemeID attribute is missing from the ultimate delivery recipient’s ram:GlobalID. You can complete the identifier by providing this attribute.

What to do
  1. Find ram:GlobalID in the ultimate delivery recipient details.
  2. Add the schemeID attribute to this element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:GlobalID>123456</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="...">123456</ram:GlobalID>
Technical details

The rule checks whether the schemeID attribute is present on the ram:GlobalID context node.

Where the rule applies

The rule applies to the ultimate delivery recipient’s global identifier ram:GlobalID in ram:UltimateShipToTradeParty.

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