2 points · by codegeek · 9y ago · 3 comments
One idea I have is to build a simple read only API for Sales Tax Rates. I will start with USA but can expand to Europe for VAT etc. It will be something like:
usefulapi.com/salestax?country=usa&city=chicago
{
"rate" : "0.10"
}So you'd want to be able to specify the class of product and a very fine-grained geographical location as inputs to your function, with the hopes that it will produce an accurate and preferably unambiguous result.
I work in e-commerce, and it's just easier to have the client sign with a third party tax service who knows what they're doing and drop in their library, than try to figure it out yourself and risk the lawyers and tax people.