Scheme identifier for the invoicee’s global identifier

Error FX-SCH-A-000872 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. Without this attribute, the identifier is not accompanied by its scheme designation.

What the rule means

The scheme identifies the type of the invoicee’s global identifier.

Please identify the invoicee’s global identifier scheme

The scheme designation is missing from the invoicee’s ram:GlobalID. Add the required attribute so the identifier’s type can be identified.

What to do
  1. Locate ram:GlobalID for the invoicee.
  2. Add the required @schemeID attribute there.
  3. Regenerate the invoice and validate it again.
Technical details

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

Where the rule applies

The rule applies to the invoicee’s ram:GlobalID.

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