Check a Dutch VAT number
Validate a VAT number from the Netherlands against the EU's VIES service, here or from your own code.
| Country prefix | NL |
|---|---|
| Local name | btw-identificatienummer (btw-id) |
| Format | NL followed by 9 digits, the letter B and 2 digits |
| Shape | NL123456789B01 (an example of the shape, not a real registration) |
| Pattern | ^NL\d{9}B\d{2}$ |
Good to know about the Netherlands
- Sole proprietors have a btw-id that differs from their older, citizen-number-based VAT number; the btw-id is the one to check.
How the check works
The check asks VIES, the European Commission's VAT Information Exchange System, which in turn asks the member state's own tax database. Valid means the number is registered for intra-EU trade at the moment of the check. Where the member state shares them, the answer also carries the registered name and address. Spaces, dots and hyphens in the number are ignored.
From your code
curl -H "Authorization: Bearer $API_KEY" \
"https://agent-data-tools.revmesh2074.workers.dev/vat/validate?vat=NL123456789B01"
One GET request, JSON back: valid, and the registered name and address when they are shared. A failed check is never charged. Keys, monthly plans and code in Python and Node.js: Company check API. Reference: tool page.
Questions
What does a Dutch VAT number look like?
NL followed by 9 digits, the letter B and 2 digits, for example NL123456789B01 (an example of the shape, not a real registration). Locally it is called btw-identificatienummer (btw-id).
How do I check that a Dutch VAT number is valid?
Enter it on this page, or send it to the API. The check asks VIES, the European Commission's VAT Information Exchange System, which in turn asks the member state's own tax database. Valid means the number is registered for intra-EU trade at the moment of the check.
Why would a real number come back as not valid?
The business may not be registered for intra-EU trade, the registration may have ended, or the number may be written with the wrong prefix or a missing digit. A member state's database can also be unavailable for a short time; the check then fails instead of answering not valid.
What is special about the Netherlands?
Sole proprietors have a btw-id that differs from their older, citizen-number-based VAT number; the btw-id is the one to check.
Other countries
Austria · Belgium · Bulgaria · Cyprus · Czech Republic · Germany · Denmark · Estonia · Greece · Spain · Finland · France · Croatia · Hungary · Ireland · Italy · Lithuania · Luxembourg · Latvia · Malta · Poland · Portugal · Romania · Sweden · Slovenia · Slovakia · Northern Ireland