schemeID for the payer tax identifier

Error FX-SCH-A-000945 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 element in the payer’s tax registration is missing the schemeID attribute.

What the rule means

schemeID identifies the scheme to which the value of ram:ID belongs. Without this attribute, the tax identifier is not fully described under this rule.

Please add `schemeID` to the payer tax identifier

The payer tax registration’s ram:ID is missing schemeID. Add the attribute to identify the tax identifier’s scheme.

What to do
  1. Locate ram:ID in SpecifiedTaxRegistration under PayerTradeParty.
  2. Add the schemeID attribute to ram:ID.
  3. Generate the invoice again and validate it.
Technical details

The rule checks whether the schemeID attribute is present on the current ram:ID.

Where the rule applies

The rule applies to the schemeID attribute of the ram:ID element in SpecifiedTaxRegistration under PayerTradeParty.

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