Skip to content

Error

FX-SCH-A-000666: The buyer agent's tax registration must say what type it is

In short

Error: fails the selected checks.

FX-SCH-A-000666 means the VAT number or tax number of the buyer's agent (ram:ID in ram:SpecifiedTaxRegistration) has no schemeID attribute. Add the type of number: VA for a VAT number or FC for a tax number.

On this page

What it means

A number in a tax registration of the buyer's agent must say what kind of number it is, in the schemeID attribute of ram:ID. The usual values are VA for a VAT number and FC for a national tax number. This rule only checks that the attribute is there.

Why it matters

A VAT number and a tax number are handled differently. Without the type the recipient cannot tell which one it has been given, so the file fails the check.

How to fix it

In your invoicing software, mark the number as a VAT number or a tax number and export again. If you build the XML yourself, add schemeID to the ram:ID inside ram:SpecifiedTaxRegistration, with VA for a VAT number or FC for a tax number.

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

Attribute '@schemeID' is required in this context.

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

Updated 5 November 2026