The ultimate ship-to party identifier requires a scheme ID

Error FX-SCH-A-001115 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 the ram:GlobalID element.

What the rule means

The scheme ID identifies the scheme to which the global identifier belongs. Without this attribute, the identifier’s scheme is not specified.

Please add the scheme ID for the ultimate ship-to party identifier

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

What to do
  1. Locate ram:GlobalID for the ultimate ship-to party.
  2. Add the schemeID attribute to it.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:GlobalID>12345</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="scheme">12345</ram:GlobalID>
Technical details

The test checks whether the schemeID attribute is present on ram:GlobalID.

Where the rule applies

The rule applies to ram:GlobalID of the ultimate ship-to party of an invoice line.

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