SchemeID 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

The schemeID attribute identifies the scheme of the global identifier and must be provided in this context.

Please add the schemeID attribute to the global identifier

The global identifier of the buyer’s tax representative is missing the schemeID attribute. Add it to the ram:GlobalID element.

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/>
✓ Correct
<ram:GlobalID schemeID=""/>
Technical details

The test checks whether the schemeID attribute is present on the context element ram:GlobalID.

Where the rule applies

The rule applies to the ram:GlobalID element of the buyer’s tax representative.

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