Datatypes

UK VAT registration number

ID gb_vat

DatatypeNot PIIidentifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

VAT registration number of businesses in the United Kingdom and the Isle of Man. The standard form has nine digits with a weighted check, sometimes followed by a 3-digit branch code; government departments (GD) and health authorities (HA) have short 5-character numbers. Northern Ireland businesses use the XI prefix for trade with the EU.

Parent datatype
EU VAT ID vatin
Categories
Finances and banking
Countries
United Kingdom
Languages
English
FTA
IDENTITY.VAT_GB, IDENTITY.VAT_UK
Schema.org
vatID
python-stdnum
stdnum.gb.vat
Quality
88/100 · missing: authoritative source link, translation
Metacrafter rules
no detection rule yet
Supported by tools
AWS Glue Sensitive Data Detection, DataPrep, FTA (Fast Text Analysis), python-stdnum

Regular expression

^(?:(?:GB|XI)[ -]?)?(?:\d{3} ?\d{4} ?\d{2}(?: ?\d{3})?|GD\d{3}|HA\d{3})$

Python re syntax.

Examples

ValueDescription
XI 432525179Real-world value published online
432 5251 79The first example in its printed form
4325251797 invalidOne character too many

Sources

Use this record