7 ms·
Show HN: API that validates tax ID numbers for over 100 countries
- alanhett 4y agoTax 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.
- ndimares 4y agoIf 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-sdks/ 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!
- alanhett 4y agoThank you! It is about 50% OpenAPI spec, but will seriously consider building out the rest of the spec for this SDK!
- ndimares 4y agoAwesome, 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-1cwb3flxz-lS5SyZxAsF_3NOq5xc8Cjw https://join.slack.com/t/speakeasy-dev/shared_invite/zt-1cwb... (we know quite a bit about OpenAPI).
- apinerd 4y agoYou don't need to pay for SDK creation, OpenAPI-generator goes a long way https://github.com/OpenAPITools/openapi-generator https://github.com/OpenAPITools/openapi-generator
- pestatije 4y agoSeems to be validating the format, not the number
- alanhett 4y agoYes, 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.