Identification scheme for the tax registration identifier

Error FX-SCH-A-001002 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 of the payee’s tax registration.

What the rule means

schemeID identifies the scheme used to interpret the tax registration identifier. Without the attribute, that scheme information is missing.

Please identify the payee’s tax registration identifier

The tax registration identifier for the payee is missing information about the scheme used to interpret it. Add the attribute directly to ram:ID.

What to do
  1. Find ram:ID within the payee’s tax registration.
  2. Add the schemeID attribute to this element.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:ID/>
✓ Correct
<ram:ID schemeID=""/>
Technical details

The rule checks for the presence of the schemeID attribute on ram:ID; it does not check its value here.

Where the rule applies

The rule applies to ram:ID within the payee’s tax registration.

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