Add the scheme identifier to the tax identifier

Error FX-SCH-A-000751 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 element.

What the rule means

The schemeID attribute identifies the scheme to which the tax identifier in ram:ID belongs.

Please add the scheme identifier to the sales agent’s tax identifier

The sales agent’s tax identifier is missing the detail that identifies its scheme. Add the schemeID attribute to the corresponding ram:ID element.

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

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

Where the rule applies

The rule applies to the ram:ID element within the sales agent’s tax registration in the seller section.

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