Provide schemeID for ram:URIID

Error FX-SCH-A-000830 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 is missing the schemeID attribute. This attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme used for the URI value in ram:URIID.

Please add `schemeID` to the delivery recipient’s URI

The ram:URIID element in the delivery recipient’s communication information is missing the schemeID attribute. Add the attribute so the URI value has its required scheme designation.

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

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

Where the rule applies

The rule applies to the ram:URIID element in the delivery recipient’s URI communication information.

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