Skip to content

Error

FX-SCH-A-000997: Use an allowed payee registration number scheme

In short

Error: fails the selected checks.

FX-SCH-A-000997 means the schemeID on the payee's company registration number in your payment terms contains an unlisted code. Use an allowed code matching the identifier's scheme, or omit the optional schemeID attribute.

On this page

What it means

This rule checks non-empty schemeID values on ram:SpecifiedLegalOrganization/ram:ID under ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty against the profile's scheme-code list. The schemes use four-digit ISO 6523 codes. This test does not reject a missing or empty scheme value.

Why it matters

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

How to fix it

Check the scheme of the payee's company registration number. Correct schemeID on ram:SpecifiedLegalOrganization/ram:ID under ram:SpecifiedTradePaymentTerms/ram:PayeeTradeParty. Examples include 0002 for a French SIREN, 0009 for a French SIRET and 0106 for a Dutch KvK number. If you cannot establish the scheme, omit this optional attribute rather than guessing. Check the corrected file again.

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

Updated 6 November 2026