Scheme identifier required for the global identifier

Error FX-SCH-A-000680 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 the ram:GlobalID element.

What the rule means

schemeID identifies the scheme used to classify the value of ram:GlobalID.

Please add the scheme identifier for the tax representative’s global identifier

The schemeID attribute is missing from the tax representative’s ram:GlobalID. Add it so the global identifier has a scheme identifier.

What to do
  1. Find ram:GlobalID for the buyer’s tax representative.
  2. Add the schemeID attribute to this element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:GlobalID>123</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="11">123</ram:GlobalID>
Technical details

The rule checks whether the schemeID attribute is present on ram:GlobalID.

Where the rule applies

The rule applies to the schemeID attribute of ram:GlobalID for the buyer’s tax representative.

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