Scheme identifier for the tax registration ID

Error FX-SCH-A-000923 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 tax registration.

What the rule means

schemeID identifies the scheme used to classify the tax registration ID. Without this attribute, the scheme is not specified.

Please add the scheme identifier to the payee’s tax registration ID

The schemeID attribute is missing from ram:ID in the tax registration. Add the scheme identifier to this element.

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

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

Where the rule applies

Applies to the schemeID attribute on ram:ID in the payee’s tax registration.

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