Provide the scheme for the URI identifier

Error FX-SCH-A-000884 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 in the invoice recipient’s URI communication entry.

What the rule means

@schemeID identifies the scheme of the identifier provided in ram:URIID. Without this attribute, the identifier has no required scheme designation.

Please add the scheme for the invoice recipient’s URI identifier

The @schemeID attribute is missing from ram:URIID in the invoice recipient’s URI communication entry. Add the attribute to this identifier.

What to do
  1. Locate ram:URIID in the invoice recipient’s URI communication entry.
  2. Add the @schemeID attribute to this element.
  3. Generate the invoice again and validate it once more.
Technical details

The XPath checks whether the @schemeID attribute is present on the ram:URIID context node.

Where the rule applies

The ram:URIID in the invoice recipient’s URI communication entry must have the @schemeID attribute.

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