Scheme identifier for the URI identifier

Error FX-SCH-A-000668 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 ram:URIID element.

What the rule means

The schemeID attribute specifies the identification scheme for the URI identifier.

Please add the scheme identifier for the URI identifier

The schemeID attribute is missing from ram:URIID in the buyer agent’s communication. Add the attribute so the URI identifier specifies its identification scheme.

What to do
  1. Locate ram:URIID in the buyer agent’s communication.
  2. Add the schemeID attribute there.
  3. Generate the invoice again and validate it.
Technical details

The rule checks for the presence of the schemeID attribute on the ram:URIID element.

Where the rule applies

On the ram:URIID of the buyer agent’s communication.

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