Required identifier scheme on the URI identifier

Error FX-SCH-A-000851 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:URIID element does not contain a schemeID attribute. The attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme of the URI identifier and thus indicates the type of identifier.

Please add the identifier scheme to the URI identifier

The ram:URIID for the ultimate ship-to party is missing the schemeID attribute. You can resolve this by adding the identifier scheme to this element.

What to do
  1. Locate ram:URIID in the URI communication under ram:UltimateShipToTradeParty.
  2. Add the schemeID attribute to ram:URIID.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:URIID>...</ram:URIID>
✓ Correct
<ram:URIID schemeID="...">...</ram:URIID>
Technical details

The test checks whether the schemeID attribute is present on the current ram:URIID element.

Where the rule applies

The rule applies to ram:URIID within the URI communication of the ultimate ship-to party (ram:UltimateShipToTradeParty).

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeDelivery/ ram:UltimateShipToTradeParty/ram:URIUniversalCommunication/ram:URIID
Test expression (assert/@test)
@schemeID