Scheme identifier for the tax ID

Error FX-SCH-A-000945 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 ram:ID element.

What the rule means

@schemeID identifies the scheme to which the tax ID belongs and is required in this context.

Please add the scheme identifier to the payer’s tax ID

The payer’s tax ID is missing its scheme identifier. You can add the required attribute to the XML entry.

What to do
  1. Locate ram:ID in ram:SpecifiedTaxRegistration under ram:PayerTradeParty.
  2. Add the @schemeID attribute to ram:ID.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:ID/>
✓ Correct
<ram:ID schemeID=""/>
Technical details

The test checks only whether the @schemeID attribute is present on ram:ID.

Where the rule applies

The rule applies to the @schemeID attribute of ram:ID in the payer’s ram:SpecifiedTaxRegistration.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeSettlement/ ram:PayerTradeParty/ram:SpecifiedTaxRegistration/ram:ID
Test expression (assert/@test)
@schemeID