Provide the scheme for the tax identifier

Error FX-SCH-A-000882 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 invoice recipient’s tax registration.

What the rule means

@schemeID identifies the scheme of the tax identifier provided in ram:ID. Without this attribute, the identifier has no required scheme designation.

Please add the scheme for the invoice recipient’s tax identifier

The @schemeID attribute is missing from ram:ID in the invoice recipient’s tax registration. Add the attribute to this identifier.

What to do
  1. Locate ram:ID in the invoice recipient’s tax registration.
  2. Add the @schemeID attribute to this element.
  3. Generate the invoice again and validate it once more.
Technical details

The XPath checks whether the @schemeID attribute is present on the ram:ID context node.

Where the rule applies

The ram:ID in the invoice recipient’s tax registration must have the @schemeID attribute.

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