Provide the scheme identifier for the global identifier

Error FX-SCH-A-000894 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. The scheme used for the identifier is therefore not specified.

What the rule means

The schemeID attribute identifies the scheme of the global identifier provided in ram:GlobalID. Without this attribute, the scheme is not stated.

Please identify the scheme of the invoicer’s global identifier

The schemeID attribute is missing from the invoicer’s ram:GlobalID. Add the identifier so that the identifier’s scheme is stated.

What to do
  1. Locate ram:GlobalID under InvoicerTradeParty.
  2. Add the schemeID attribute to the element.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:GlobalID>123456789</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="">123456789</ram:GlobalID>
Technical details

The test directly checks whether @schemeID is present on ram:GlobalID.

Where the rule applies

The rule applies to the invoicer’s ram:GlobalID element under InvoicerTradeParty.

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