Provide schemeID for the buyer tax identifier

Error FX-SCH-A-000426 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 ID element is missing the schemeID attribute. The attribute must be present in this context.

What the rule means

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

Please add schemeID to the buyer’s tax identifier

The ID element in the buyer’s tax registration is missing schemeID. Add the attribute so the required designation is present.

What to do
  1. Open the ID element in the buyer’s SpecifiedTaxRegistration.
  2. Add the schemeID attribute.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:ID>...</ram:ID>
✓ Correct
<ram:ID schemeID="">...</ram:ID>
Technical details

The XPath test @schemeID checks whether the attribute is present on the current ID element.

Where the rule applies

This rule applies to the ID element of the buyer’s tax registration.

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