Scheme identifier required for the global identifier

Error FX-SCH-A-000992 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. This attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme of the global identifier. Without this attribute, the identifier lacks the designation required by the XML rule.

Please add the scheme identifier to the payee’s global identifier

The payee’s global identifier is missing the schemeID attribute. Add it to complete this detail.

What to do
  1. Locate ram:GlobalID under the payee in the payment terms.
  2. Check that the element has a schemeID attribute.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:GlobalID>12345</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="value">12345</ram:GlobalID>
Technical details

In the ram:GlobalID context, the rule checks only whether the @schemeID attribute is present.

Where the rule applies

The rule applies to the ram:GlobalID element of the payee ram:PayeeTradeParty in the payment terms.

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