Provide the tax identifier’s scheme

Error FX-SCH-A-000828 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 in the context of ram:SpecifiedTaxRegistration.

What the rule means

schemeID identifies the scheme of the tax identifier provided. Without this attribute, the designation required in this context is missing.

Please provide the tax identifier’s scheme

The goods recipient’s tax identifier is missing the schemeID attribute. Add it to the corresponding ram:ID element.

What to do
  1. Find the ram:ID element in ram:SpecifiedTaxRegistration.
  2. Add the schemeID attribute to that element.
  3. Generate the invoice again and check it again.
What it looks like
✗ Triggers the message
<ram:SpecifiedTaxRegistration>
  <ram:ID>valeur</ram:ID>
</ram:SpecifiedTaxRegistration>
✓ Correct
<ram:SpecifiedTaxRegistration>
  <ram:ID schemeID="valeur">valeur</ram:ID>
</ram:SpecifiedTaxRegistration>
Technical details

The check requires the schemeID attribute on the direct ram:ID element of ram:SpecifiedTaxRegistration.

Where the rule applies

The rule applies to the schemeID attribute of ram:ID within the goods recipient’s tax registration ram:SpecifiedTaxRegistration.

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