Specify the URI identification scheme

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 ram:URIID element does not contain a schemeID attribute. In this context, the attribute must be present.

What the rule means

The schemeID attribute identifies the scheme used to interpret the buyer agent’s URI identifier.

Please specify the URI identification scheme for the buyer agent

The buyer agent’s URI is missing the schemeID attribute. You can resolve this by adding the attribute to ram:URIID.

What to do
  1. Locate ram:URIID under ram:BuyerAgentTradeParty.
  2. Add the schemeID attribute to ram:URIID.
  3. Generate the invoice again and validate it once more.
What it looks like
✗ Triggers the message
<ram:URIID/>
✓ Correct
<ram:URIID schemeID="..."/>
Technical details

The check only tests whether the schemeID attribute is present on ram:URIID.

Where the rule applies

The rule applies to ram:URIID of the buyer agent’s communication address under ram:BuyerAgentTradeParty.

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