Identification scheme must be specified

Error FX-SCH-A-001122 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. The scheme of the tax identifier is therefore not specified.

What the rule means

schemeID identifies the scheme used to interpret the tax identifier. Without it, the identification scheme in use cannot be determined.

Please add `schemeID` to the ultimate ship-to party’s tax identifier

The ultimate ship-to party’s tax identifier is missing the schemeID attribute. Add the identification scheme being used.

What to do
  1. Add the schemeID attribute to ram:ID within ram:SpecifiedTaxRegistration.
  2. Enter the identification scheme being used.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:ID>...</ram:ID>
✓ Correct
<ram:ID schemeID="...">...</ram:ID>
Technical details

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

Where the rule applies

The rule applies to the schemeID attribute of ram:ID within the tax registration of the ultimate ship-to party for an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeDelivery/ram:UltimateShipToTradeParty/ram:SpecifiedTaxRegistration/ ram:ID
Test expression (assert/@test)
@schemeID