Feature #1525

Integrate with a Sales Tax API

Added by Pavan Rikhi 3 months ago. Updated 3 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:Pavan Rikhi% Done:

0%

Category:OrdersSpent time:-
Target version:v0.10.0 - Integrations
Easy Pickings:

Description

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.

History

#1 Updated by Pavan Rikhi 3 months ago

  • Description updated (diff)

Also available in: Atom PDF