Feature #1525

Updated by Pavan Rikhi 2 months ago

Now that we have to pay sales tax per state instead of just for VA, we'll pick a sales tax software to do the calculations & filing for us.

Avalara has nice guide & API docs. We'll probably just need the CreateCustomer, CreateTransaction & RefundTransaction routes at first:

https://developer.avalara.com/avatax/dev-guide/

https://developer.avalara.com/api-reference/avatax/rest/v2/

And they use swagger to document this so we can use swagger-codegen to automatically generate a client using Haskell: https://sandbox-rest.avatax.com/swagger/ui/index.html



TaxJar seems simpler:

https://developers.taxjar.com/api/reference/

Need to wait til the office decides which to pick, if any at all. If we don't pick one, we need a more complex tax calculation that discriminates by county.

Back