Provide the sales agent ID scheme

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 the sales agent’s ram:GlobalID.

What the rule means

@schemeID identifies the scheme used for the sales agent’s global identifier. Without this attribute, the identifier’s scheme is not specified.

Please specify the scheme for the sales agent ID

The global identifier for the sales agent is missing the @schemeID attribute. Add the scheme designation so that the identifier’s scheme is specified.

What to do
  1. Locate ram:GlobalID for the sales agent.
  2. Add the required @schemeID attribute with an appropriate value.
  3. Generate the invoice again and validate it once more.
Technical details

The check on ram:GlobalID requires the @schemeID attribute to be present.

Where the rule applies

On the sales agent’s ram:GlobalID.

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