Scheme identifier required for the buyer’s URI identifier

Error FX-SCH-A-000428 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 scheme identifier indicates the type of URI identifier. Without it, that type is not specified in the XML.

Please add the scheme identifier to the buyer’s URI identifier

The buyer’s URI communication has a ram:URIID without @schemeID. Add this attribute so that the URI identifier has a scheme identifier.

What to do
  1. Find ram:URIID in the buyer’s URI communication.
  2. Add the @schemeID attribute to that element.
  3. Generate the invoice again and check it again.
What it looks like
✗ Triggers the message
<ram:URIID/>
✓ Correct
<ram:URIID schemeID="X"/>
Technical details

The test evaluates @schemeID on the current ram:URIID and requires the attribute to be present.

Where the rule applies

The rule applies to the @schemeID attribute of ram:URIID in the buyer’s URI communication.

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