Specify the scheme of the global ship-to identifier

Error FX-SCH-A-000453 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.

What the rule means

The schemeID attribute identifies the scheme of the global identifier. Without it, the identifier’s scheme is not specified on the element.

Please add the scheme for the global ship-to party identifier

The global ship-to party identifier is missing the schemeID attribute. Add it to ram:GlobalID to specify the identifier’s scheme.

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

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

Where the rule applies

The rule applies to ram:GlobalID within the ship-to party element ram:ShipToTradeParty.

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