Scheme required for the tax identifier

Error FX-SCH-A-000037 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

The identifier must include a scheme attribute so it can be classified as a tax identifier of the relevant type.

Please add the scheme to the seller's tax identifier

The ram:ID element in the seller's tax registration is missing the @schemeID attribute. This attribute specifies the identifier's scheme.

What to do
  1. Open ram:ID in the seller's tax registration using scheme FC.
  2. Add the missing @schemeID attribute.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SpecifiedTaxRegistration>
  <ram:ID>123</ram:ID>
</ram:SpecifiedTaxRegistration>
✓ Correct
<ram:SpecifiedTaxRegistration>
  <ram:ID schemeID="FC">123</ram:ID>
</ram:SpecifiedTaxRegistration>
Technical details

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

Where the rule applies

The rule applies to ram:ID within the seller's tax registration using scheme FC.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ ram:SellerTradeParty/ram:SpecifiedTaxRegistration[ram:ID/@schemeID="FC"]/ ram:ID
Test expression (assert/@test)
@schemeID