Provide the identifier scheme for the ship-to party

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 used to interpret the global identifier provided in ram:GlobalID.

Please add the identifier scheme for the ship-to party

The global identifier for the ship-to party does not specify which scheme it belongs to. Add the schemeID attribute to ram:GlobalID.

What to do
  1. Locate ram:GlobalID for the party at the ship-to address.
  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>12345</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="identifier-scheme">12345</ram:GlobalID>
Technical details

The XPath test checks whether the schemeID attribute is present on the context element.

Where the rule applies

The rule applies to ram:GlobalID of the party at the ship-to address.

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