Scheme identifier for the payee’s global identifier

Error FX-SCH-A-000470 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 payee’s ram:GlobalID. The rule requires this attribute to be present.

What the rule means

schemeID specifies the scheme of the global identifier. Without this attribute, the identifier’s scheme designation is missing.

Please add the scheme identifier to the payee’s global identifier

The payee’s global identifier is missing schemeID. Add the attribute to ram:GlobalID so that the identifier specifies its scheme.

What to do
  1. Locate ram:GlobalID within ram:PayeeTradeParty.
  2. Add the schemeID attribute there.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:GlobalID>123</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="ABC">123</ram:GlobalID>
Technical details

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

Where the rule applies

The rule applies to ram:GlobalID within ram:PayeeTradeParty.

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