SchemeID for the invoice issuer’s GlobalID

Error FX-SCH-A-000894 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 ram:GlobalID element in InvoicerTradeParty does not have a @schemeID attribute.

What the rule means

The @schemeID attribute identifies the scheme of the global identifier in ram:GlobalID. Without the attribute, the identifier’s scheme is not stated.

Please add `schemeID` to the invoice issuer’s `GlobalID`

The @schemeID attribute is missing from the invoice issuer’s ram:GlobalID. Add the attribute to state the identifier’s scheme.

What to do
  1. Locate ram:GlobalID in InvoicerTradeParty.
  2. Add the @schemeID attribute to the element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:InvoicerTradeParty>
  <ram:GlobalID>identifier</ram:GlobalID>
</ram:InvoicerTradeParty>
✓ Correct
<ram:InvoicerTradeParty>
  <ram:GlobalID schemeID="value">identifier</ram:GlobalID>
</ram:InvoicerTradeParty>
Technical details

The test checks for the presence of @schemeID on the ram:GlobalID context; it does not evaluate an attribute value.

Where the rule applies

For ram:GlobalID in InvoicerTradeParty, the @schemeID attribute is required.

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