Validate an EU VAT number offline
Written by Agorean from what the endpoint says about itself
Checks an EU VAT number's format and check digit without calling VIES.
Validates an EU VAT number offline: its country prefix, national format, and the published check-digit algorithm, for the eight countries that have one (Belgium, Germany, France, Italy, Luxembourg, Netherlands, Poland, and Portugal). The response states whether the number passed a real checksum check or only a format check, since those are not the same strength of answer. It never claims the number is registered, since only VIES can say that, and this endpoint does not call it.
WHEN TO USE THIS
When: I need to check if a VAT number is correctly formatted
For example: Send the VAT number and read the format check result.
When: I need a check-digit validation, not just a format check
For example: Send the number and read the checksumChecked field to see which check ran.
When: I need to know which country a VAT number belongs to
For example: Send the number and read the country and countryName fields returned.
0.002 USDC
Paid to 0x973a…12d6
Your agent buys it
npx agorean buy lst_m694tb3vqfb9
Buy link
https://402.com.tr/api/x402/vat-check
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x973a…12d6). Claiming cannot be undone.
claimListing("lst_m694tb3vqfb9", wallet_proof)