Specify the URI identifier scheme

Error FX-SCH-A-001057 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 ram:URIID. The rule checks whether the attribute is present.

What the rule means

The scheme indicates which identifier type the URI identifier belongs to.

Please specify the URI identifier scheme

The seller party’s URI identifier for an invoice line has no scheme information. You can add this information directly to ram:URIID.

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

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

Where the rule applies

The rule applies to ram:URIID within ram:URIUniversalCommunication of the seller party for an invoice line.

Context (rule/@context)
/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:IncludedSupplyChainTradeLineItem/ ram:SpecifiedLineTradeAgreement/ram:ItemSellerTradeParty/ram:URIUniversalCommunication/ ram:URIID
Test expression (assert/@test)
@schemeID