schemeID attribute for the VA tax identifier

Error FX-SCH-A-001169 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. The test requires this attribute to be present.

What the rule means

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

Please add schemeID to the VA tax identifier

The ram:ID element in the tax registration with scheme VA is missing the schemeID attribute. You can correct the invoice by adding this attribute.

What to do
  1. Locate ram:ID in the manufacturer's tax registration with scheme VA.
  2. Add the schemeID attribute to ram:ID.
  3. Generate the invoice again and validate it again.
Technical details

The test checks directly on the ram:ID element whether the schemeID attribute is present.

Where the rule applies

The rule applies to ram:ID in a tax registration for the product manufacturer associated with scheme VA.

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