Payee identification scheme

Error FX-SCH-A-000992 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. This attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme used for the payee’s global identifier. Without it, the identifier’s scheme is not specified.

Please provide the scheme for the payee’s global identifier

schemeID is missing from the payee’s ram:GlobalID. Add this attribute so that the global identifier is associated with a scheme.

What to do
  1. Locate the payee’s global identifier ram:GlobalID.
  2. Add the schemeID attribute to it.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:GlobalID>12345</ram:GlobalID>
✓ Correct
<ram:GlobalID schemeID="…">12345</ram:GlobalID>
Technical details

The XPath test checks whether the schemeID attribute is present on the element being validated.

Where the rule applies

The rule applies to the payee’s global identifier ram:GlobalID in the payment terms.

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