Provide schemeID for the buyer’s tax representative URI identifier

Error FX-SCH-A-000692 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. This attribute is required in this context.

What the rule means

The schemeID attribute identifies the scheme of the URI identifier and provides the required context for its value.

Please add `schemeID` to the buyer’s tax representative URI identifier

The URI identifier for the buyer’s tax representative does not include the schemeID attribute. Add the attribute so the information includes the required designation.

What to do
  1. Locate ram:URIID in the communication of ram:BuyerTaxRepresentativeTradeParty.
  2. Add the schemeID attribute to ram:URIID.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:URIID>https://example.org</ram:URIID>
✓ Correct
<ram:URIID schemeID="">https://example.org</ram:URIID>
Technical details

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

Where the rule applies

The rule applies to ram:URIID within the communication of ram:BuyerTaxRepresentativeTradeParty.

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