Skip to content

Error

FX-SCH-A-000031: The buyer's registration scheme must be an allowed code

In short

Error: fails the selected checks.

FX-SCH-A-000031 means a non-empty scheme code (BT-47-1) for the buyer's company registration number (BT-47) is outside the Minimum profile's permitted list. Use the allowed code matching that identifier, or omit the scheme if no other requirement calls for it.

On this page

What it means

For the Minimum profile, the test checks schemeID on ram:ID inside the buyer's ram:SpecifiedLegalOrganization. A non-empty value must belong to the permitted identifier scheme list. A missing or empty schemeID does not fail this test. The attribute identifies the scheme, not the registration number itself.

Why it matters

The scheme tells the recipient what kind of identifier the company registration number is. A scheme code needs to match the identifier you supply.

How to fix it

Correct schemeID on ram:ID inside ram:BuyerTradeParty/ram:SpecifiedLegalOrganization. Use the appropriate permitted ISO 6523 code, such as 0009 for SIRET, 0060 for DUNS, 0088 for GLN or 0106 for a Dutch KvK number. Do not enter the register's name as the code. Export again and recheck.

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 MINIMUM 1.0.9-2
ZUGFeRD 2.5 MINIMUM 2.5.2
Rule text from phive-rules 4.6.4.

Check your file

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

Updated 6 November 2026