Sender URI scheme identifier required

Error FX-SCH-A-000813 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. In this context, the URI scheme identifier must be provided.

What the rule means

The identifier associates the sender’s URI with a scheme. Without it, the type of URI is not identified as required by this rule.

Please provide the sender’s URI scheme

The sender’s URI is missing its scheme identifier. You can add the identifier to ram:URIID.

What to do
  1. Locate ram:URIID under ram:ShipFromTradeParty.
  2. Add the schemeID attribute to ram:URIID.
  3. Regenerate the invoice and validate it again.
Technical details

The Schematron check concerns the presence of the schemeID attribute on the context node ram:URIID.

Where the rule applies

The rule applies to ram:URIID in the sender communication ram:URIUniversalCommunication under ram:ShipFromTradeParty in the delivery section.

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