schemeID for the tax registration ram: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 ram:ID within ram:SpecifiedTaxRegistration is missing the schemeID attribute.

What the rule means

The schemeID attribute identifies the scheme of the supplied tax registration identifier.

Please add `schemeID` to the tax registration `ram:ID`

The tax registration ram:ID for the payee is missing schemeID. Add the attribute so the identifier is provided with its scheme.

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

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

Where the rule applies

The schemeID attribute on ram:ID within the payee's ram:SpecifiedTaxRegistration.

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