schemeID required for the URI ID

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

What the rule means

schemeID identifies the scheme of the URI ID. Without this attribute, the URI ID is not fully described.

Please add schemeID to the tax representative’s URI ID

The tax representative’s URI ID does not contain a schemeID attribute. Add the attribute to this element.

What to do
  1. Locate URIID in the tax representative’s URI communication.
  2. Add the schemeID attribute to URIID.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:URIID/>
✓ Correct
<ram:URIID schemeID="..."/>
Technical details

The rule checks whether a schemeID attribute is present on the URIID element.

Where the rule applies

The rule applies to URIID in the URI communication of the seller’s tax representative.

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