Include the scheme identifier on the communication URI

Error FX-SCH-A-000753 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 URIID element in URIUniversalCommunication is missing the schemeID attribute.

What the rule means

schemeID identifies the scheme of the communication URI. Without this attribute, the scheme information required in this context is missing.

Please add the scheme identifier to the communication URI

The scheme information is missing from the sales agent’s communication URI. Add the schemeID attribute to the URIID element.

What to do
  1. Open the URIID element in the sales agent’s URIUniversalCommunication.
  2. Add the schemeID attribute to that element.
  3. Regenerate the invoice and validate it again.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication>
  <ram:URIID>...</ram:URIID>
</ram:URIUniversalCommunication>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID schemeID="...">...</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The rule checks whether the schemeID attribute is present on the contextual URIID element; it does not check a specific attribute value.

Where the rule applies

The rule applies to the schemeID attribute of URIID in the sales agent’s URIUniversalCommunication.

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