Required scheme for the 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 schemeID attribute is missing from the ram:ID element. The attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme of the registration identifier. It allows the value of ram:ID to be associated with the identification scheme in use.

Please add the scheme for the tax registration identifier

The tax registration identifier of the tax representative is missing the schemeID attribute. Add it to the corresponding ram:ID element.

What to do
  1. Locate ram:ID within the tax representative’s tax registration.
  2. Add the schemeID attribute to the ram:ID element.
  3. Regenerate the invoice and validate it again.
Technical details

The test checks for the presence of the schemeID attribute in the context of ram:ID.

Where the rule applies

The rule applies to the ram:ID element within the tax registration of the seller’s tax representative.

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