Provide schemeID for the tax identifier with FC

Error FX-SCH-A-001053 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 ram:ID element selected for the tax registration with schemeID="FC" does not contain a schemeID attribute.

What the rule means

The schemeID attribute identifies the scheme of the tax identifier. Without this attribute, the designation required by this rule is missing.

Please add schemeID to the FC tax identifier

The ram:ID tax identifier in the seller's tax registration with schemeID="FC" is missing the schemeID attribute. Add the required designation to this entry.

What to do
  1. Locate the seller tax registration with schemeID="FC".
  2. Add the schemeID attribute to its ram:ID.
  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 whether the schemeID attribute is present on the ram:ID element selected by the parent condition.

Where the rule applies

The rule applies to ram:ID within a seller tax registration identified by schemeID="FC".

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