Identify the ship-to party identifier scheme

Error FX-SCH-A-001096 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 has no schemeID attribute. The scheme to which the identifier value belongs is therefore not specified.

What the rule means

The scheme identifies how the ship-to party’s global identifier is to be interpreted.

Please specify the ship-to party’s identifier scheme

The global identifier for the ship-to party is missing its scheme. Add the attribute to the ram:GlobalID element.

What to do
  1. Find ram:GlobalID for the ship-to party in the invoice line.
  2. Add the schemeID attribute to that element.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:GlobalID>123</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="">123</ram:GlobalID>
Technical details

In the context of ram:GlobalID, the check verifies that the schemeID attribute is present.

Where the rule applies

This rule applies to the ship-to party’s ram:GlobalID within an invoice line.

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