schemeID for the URIID

Error FX-SCH-A-000728 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

The schemeID attribute identifies the scheme of the URI identifier.

Please add schemeID to the end user's URIID

The URIID element for the end user's communication is missing schemeID. You can add the missing attribute.

What to do
  1. Find the URIID element in URIUniversalCommunication under ProductEndUserTradeParty.
  2. Add the schemeID attribute to the URIID element.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:URIUniversalCommunication>
  <ram:URIID>contact@example.com</ram:URIID>
</ram:URIUniversalCommunication>
✓ Correct
<ram:URIUniversalCommunication>
  <ram:URIID schemeID="...">contact@example.com</ram:URIID>
</ram:URIUniversalCommunication>
Technical details

The Schematron test checks whether the schemeID attribute is present on the context node.

Where the rule applies

The rule applies to the schemeID attribute of the URIID element in the end user's URIUniversalCommunication.

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