Skip to content

Error

FX-SCH-A-000766: Use an allowed scheme for the tax representative's registration number

In short

Error: fails the selected checks.

FX-SCH-A-000766 means a non-empty schemeID on the seller's tax representative's company registration number is not allowed by the profile. Use the code matching that registration number, or omit the scheme attribute if you do not specify a scheme.

On this page

What it means

This rule checks a non-empty scheme value on ram:SellerTaxRepresentativeTradeParty/ram:SpecifiedLegalOrganization/ram:ID against the profile's registration identifier scheme list. An empty string passes this test. The rule does not require schemeID or check the registration number itself.

Why it matters

The scheme identifies the system used for the company registration number. A supplied code must come from the profile's list.

How to fix it

Correct schemeID on ram:ID inside the tax representative's ram:SpecifiedLegalOrganization. Use the code matching the identifier, such as 0106 for a Dutch KvK number, 0009 for a French SIRET number or 0088 for a GLN. If you leave the scheme unspecified, remove the attribute rather than the registration number. Export the file again and recheck it.

Once the file is corrected, check it again for free: Validate a ZUGFeRD invoice

Or fix the invoice in a form and download the corrected file, for 1 credit: Fix a rejected e-invoice Beta

The rule as published

Value of '@schemeID' is not allowed.

Where this rule applies

Rule set Version
Factur-X 1.09 EXTENDED 1.0.9-2
ZUGFeRD 2.5 EXTENDED 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether FX-SCH-A-000766 still fails, and which other rules do.

Updated 6 November 2026