Specify the scheme for the delivery address URI

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 has no schemeID attribute. This attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme of the URI information. Without it, the type of URI identifier is not clearly specified.

Please add the scheme for the final delivery address URI

The URI for the final delivery address does not specify which scheme it belongs to. Add this identifier to the ram:URIID element.

What to do
  1. Find ram:URIID within the URI communication of ram:UltimateShipToTradeParty.
  2. Add the required schemeID attribute to ram:URIID.
  3. Recreate the invoice and validate it again.
Technical details

The rule checks only whether the schemeID attribute is present on the ram:URIID element.

Where the rule applies

The rule applies to the ram:URIID element within the URI communication of the final delivery address (ram:UltimateShipToTradeParty).

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