Seller tax representative identifier scheme required

Error FX-SCH-A-000772 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 is required.

What the rule means

schemeID indicates which identification scheme is used to interpret the seller tax representative’s electronic address.

Please add the scheme for the tax representative’s electronic address

The scheme identifier is missing from the seller tax representative’s electronic address. You can resolve this by adding it to ram:URIID.

What to do
  1. Add the schemeID attribute to ram:URIID.
  2. Specify the identification scheme for the electronic address in that attribute.
  3. Generate the invoice again and validate it.
Technical details

The check is performed directly on the schemeID attribute of ram:URIID within ram:SellerTaxRepresentativeTradeParty.

Where the rule applies

On the ram:URIID of the seller tax representative’s electronic address.

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