Scheme identifier for the payer ID

Error FX-SCH-A-000935 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 does not contain a schemeID attribute. The attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme used to interpret the payer’s global identifier.

Please add the scheme identifier to the payer’s global ID

The payer’s global ID is present without its scheme identifier. Add that information so the ID can be interpreted.

What to do
  1. Find ram:GlobalID in the payer details for payment.
  2. Add the required schemeID attribute to the element.
  3. Generate the invoice again and validate it.
Technical details

The Schematron condition directly checks whether the @schemeID attribute is present on ram:GlobalID.

Where the rule applies

The rule applies to ram:GlobalID within the payer details for payment.

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