URIID requires a schemeID attribute

Error FX-SCH-A-000446 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 required schemeID attribute is missing from ram:URIID.

What the rule means

The schemeID attribute identifies the scheme of the URI entry in ram:URIID.

Please add the scheme attribute for the seller’s URI

schemeID is missing from ram:URIID. Add the attribute to identify the scheme of the URI entry.

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

The test checks whether the schemeID attribute is present in the ram:URIID context.

Where the rule applies

The rule applies to ram:URIID in the seller’s URI communication.

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