Provide schemeID for the FC tax registration identifier

Error FX-SCH-A-001167 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 ram:ID in the manufacturer's tax registration.

What the rule means

The schemeID attribute identifies the scheme of the tax registration identifier. It must be present in this context.

Please add `schemeID` to the manufacturer's `FC` tax registration identifier

The product manufacturer's tax registration identifier is missing the schemeID attribute. Add the attribute to ram:ID in the registration using the FC scheme.

What to do
  1. Locate the manufacturer's tax registration using the FC scheme.
  2. Check whether ram:ID has a schemeID attribute.
  3. Generate the invoice again and validate it once more.
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 directly checks whether the schemeID attribute is present on the ram:ID element; this test does not validate its value.

Where the rule applies

The rule applies to the schemeID attribute of ram:ID in the product manufacturer's tax registration using the FC scheme.

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