Provide a scheme identifier for the sales agent’s global identifier

Error FX-SCH-A-000741 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 ram:GlobalID. As a result, the scheme for the global identifier is not specified.

What the rule means

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

Please add the scheme identifier for the sales agent’s global identifier

The sales agent’s global identifier does not specify which identifier scheme is used. Add the schemeID attribute to ram:GlobalID.

What to do
  1. Locate ram:GlobalID for the sales agent.
  2. Add the schemeID attribute to this element.
  3. Generate the invoice again and validate it once more.
Technical details

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

Where the rule applies

The rule applies to the sales agent’s ram:GlobalID in SalesAgentTradeParty.

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