Provide the scheme for the tax registration identifier

Error FX-SCH-A-000437 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 required @schemeID attribute is missing from ram:ID.

What the rule means

@schemeID identifies the scheme of the tax registration identifier. Without this attribute, the scheme in use is not specified.

Please add the scheme to the tax registration identifier

@schemeID is missing from ram:ID in the seller tax representative’s tax registration entry. You can complete the entry by adding this attribute.

What to do
  1. Find ram:ID in the seller tax representative’s ram:SpecifiedTaxRegistration.
  2. Add the required @schemeID attribute to ram:ID.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SpecifiedTaxRegistration>
  <ram:ID/>
</ram:SpecifiedTaxRegistration>
✓ Correct
<ram:SpecifiedTaxRegistration>
  <ram:ID schemeID="…"/>
</ram:SpecifiedTaxRegistration>
Technical details

The test requires the @schemeID attribute to be present on the context node.

Where the rule applies

The rule applies to the @schemeID attribute on ram:ID within ram:SpecifiedTaxRegistration of the seller tax representative.

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