The ship-from party’s ram:GlobalID requires a schemeID attribute

Error FX-SCH-A-000801 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 ship-from party’s ram:GlobalID has no schemeID attribute. The attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme of the global identifier. Without the attribute, the scheme information for ram:GlobalID is missing.

Please add the `schemeID` attribute to the ship-from party’s global identifier

The ship-from party’s global identifier is missing the schemeID attribute. Add it so the entry includes the required scheme designation.

What to do
  1. Find ram:GlobalID in ram:ShipFromTradeParty.
  2. Add the schemeID attribute to that element.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:ShipFromTradeParty>
  <ram:GlobalID>identifier</ram:GlobalID>
</ram:ShipFromTradeParty>
✓ Correct
<ram:ShipFromTradeParty>
  <ram:GlobalID schemeID="value">identifier</ram:GlobalID>
</ram:ShipFromTradeParty>
Technical details

The check evaluates whether @schemeID is present in the ram:GlobalID context.

Where the rule applies

The rule applies to the schemeID attribute of ram:GlobalID within ram:ShipFromTradeParty.

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