Shipping party identifier scheme

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 @schemeID attribute is missing from ram:GlobalID of ram:ShipFromTradeParty.

What the rule means

@schemeID indicates the scheme used to interpret the global identifier. Without this attribute, the identifier is not fully identified in this XML context.

Please add the scheme for the shipping party ID

The global identifier for the shipping party is missing the information about the scheme it uses. Add this information to the XML so the identifier is fully identified.

What to do
  1. Add the @schemeID attribute to ram:GlobalID.
  2. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:GlobalID/>
Technical details

The Schematron check evaluates @schemeID in the context of ram:GlobalID as a required attribute node.

Where the rule applies

The rule applies to ram:GlobalID of ram:ShipFromTradeParty in the delivery context.

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