Skip to content

Error

FX-SCH-A-001165: Manufacturer registration number scheme must be a known code

In short

Error: fails the selected checks.

FX-SCH-A-001165 means a non-empty schemeID on the manufacturer's company registration number on an invoice line (ram:ID in ram:SpecifiedLegalOrganization) is not in the Extended profile's permitted list. Use an allowed scheme code for that identifier.

On this page

What it means

The check applies to schemeID on ram:ManufacturerTradeParty/ram:SpecifiedLegalOrganization/ram:ID on an invoice line. A non-empty value must appear in the profile's permitted code list. An absent or empty schemeID passes this particular check; the rule does not require the attribute.

Why it matters

Factur-X 1.09 EXTENDED and ZUGFeRD 2.5 EXTENDED restrict non-empty scheme codes for this manufacturer identifier to their permitted list.

How to fix it

Check the scheme attached to the manufacturer's company registration number. In the XML, it is the schemeID attribute of ram:ID in ram:SpecifiedLegalOrganization, inside ram:ManufacturerTradeParty on the invoice line. Replace an unlisted code with the permitted scheme code for that identifier.

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-001165 still fails, and which other rules do.

Updated 6 November 2026