schemeID for the dispatch location tax identifier

Error FX-SCH-A-000811 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 of the dispatch location tax registration.

What the rule means

schemeID identifies the scheme of the tax registration identifier in this XML context. Without the attribute, the identifier is not fully qualified.

Please add `schemeID` to the dispatch location tax identifier

The schemeID attribute is not provided for the dispatch location tax identifier. Adding this attribute fully qualifies the information.

What to do
  1. Find ram:ID in ram:SpecifiedTaxRegistration under ram:ShipFromTradeParty.
  2. Add the schemeID attribute to the ram:ID element.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:ID>IDENTIFIER</ram:ID>
✓ Correct
<ram:ID schemeID="SCHEME">IDENTIFIER</ram:ID>
Technical details

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

Where the rule applies

The rule applies to the schemeID attribute on ram:ID within ram:SpecifiedTaxRegistration under ram:ShipFromTradeParty.

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