SchemeID required for GlobalID

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

What the rule means

The schemeID attribute identifies the scheme of the identifier stated in GlobalID.

Please add the schemeID attribute to the ultimate ship-to party’s identifier

The schemeID attribute is missing from the ultimate ship-to party’s ram:GlobalID. Add the attribute to associate the identifier with a scheme.

What to do
  1. Find ram:GlobalID within ram:UltimateShipToTradeParty.
  2. Add the schemeID attribute to this element.
  3. Generate the invoice again and check it once more.
What it looks like
✗ Triggers the message
<ram:GlobalID>123</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="...">123</ram:GlobalID>
Technical details

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

Where the rule applies

The rule applies to the GlobalID element of the ultimate ship-to party.

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