Skip to content

Error

FX-SCH-A-000661: Check the buyer agent's registration identifier scheme

In short

Error: fails the selected checks.

FX-SCH-A-000661 means a non-empty schemeID on your buyer agent's company registration number is not on the Extended profile's permitted list. Use a listed code matching the identifier's actual scheme.

On this page

What it means

The rule checks @schemeID on ram:ID inside ram:BuyerAgentTradeParty/ram:SpecifiedLegalOrganization against code list 12. It permits an absent or empty attribute. It does not check whether the registration number is correct or belongs to the stated scheme.

Why it matters

The scheme describes the numbering system used for the registration identifier. The profile limits the scheme codes you can state here.

How to fix it

Confirm which scheme issued the buyer agent's registration identifier and check its code against the profile's list. Examples include 0009 for SIRET, 0106 for a Dutch KvK number and 0060 for DUNS. Correct @schemeID on the relevant ram:SpecifiedLegalOrganization/ram:ID, then re-export and recheck your invoice.

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

Updated 6 November 2026