Required schemeID attribute on GlobalID

Error FX-SCH-A-000763 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 seller tax representative’s ram:GlobalID element does not contain a schemeID attribute.

What the rule means

The schemeID attribute identifies the scheme used to interpret the global identifier in ram:GlobalID.

Please add `schemeID` to the tax representative’s global identifier

The seller tax representative’s global identifier is missing the schemeID attribute. You can resolve this by adding the attribute to ram:GlobalID.

What to do
  1. Locate ram:GlobalID in the seller tax representative details.
  2. Add the schemeID attribute there.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:GlobalID>123</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="...">123</ram:GlobalID>
Technical details

At the ram:GlobalID context, the rule checks whether the schemeID attribute is present.

Where the rule applies

The rule applies to ram:GlobalID within the seller’s tax representative details.

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