Hacker News new | ask | show | jobs
Show HN: API that validates tax ID numbers for over 100 countries (taxid.pro)
9 points by alanhett 1322 days ago
2 comments

Tax ID Pro is an API that helps you validate tax ID numbers. I've worked on this off and on for a couple years now. I just launched a complete overhaul, re-writing the entire front-end with Next.js and back-end with FastAPI. My next project is to create an SDK for various languages to make implementation even easier.
If you have an OpenAPI spec, we're building an SDK generator that improves upon some of the standard openAPI SDK tools. You can check it out here: https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sd...

The SDKs are language-idiomatic, fully typed and easily human readable. We got support for: Go, Python, and TS. Hope it helps!

Thank you! It is about 50% OpenAPI spec, but will seriously consider building out the rest of the spec for this SDK!
Awesome, if you want any help with the OpenAPI spec, find us in slack and we can answer questions: https://join.slack.com/t/speakeasy-dev/shared_invite/zt-1cwb... (we know quite a bit about OpenAPI).
You don't need to pay for SDK creation, OpenAPI-generator goes a long way https://github.com/OpenAPITools/openapi-generator
Seems to be validating the format, not the number
Yes, if you are saying that it is not performing a lookup, that is correct. It validates tax ID numbers according to the rules available in each country. Some countries use a checksum, others don't. Some countries have components like birth date encoded into the number, others don't.

If for example, you were going to perform a lookup, you might want to use Tax ID Pro on the front-end of the form to validate the number before sending it to a slower and more expensive lookup service.