TaxJar
App · 20 actions
Calculate sales tax, look up rates, validate addresses and report orders, refunds and exempt customers to TaxJar.
Actions
| Action | What it does |
|---|---|
| Calculate tax | Calculate the sales tax due on an order, from where it ships from to where it ships to. |
| Create customer | Add a customer who is exempt from sales tax, such as a wholesaler or nonprofit. |
| Create order | Report an order for sales tax reporting and filing. |
| Create refund | Report a refund for sales tax reporting and filing. |
| Delete customer | Delete an exempt customer. |
| Delete order | Delete an order you reported. |
| Delete refund | Delete a refund you reported. |
| Get customer | Get an exempt customer's details and the regions they are exempt in. |
| Get order | Get an order you reported, with its amounts, addresses and line items. |
| Get rates | Get the sales tax rates for a location. |
| Get refund | Get a refund you reported, with its amounts, addresses and line items. |
| List categories | List the product tax codes TaxJar uses for items taxed differently, such as clothing or food. |
| List customers | List the IDs of your exempt customers. |
| List nexus regions | List the states and countries where you have nexus and collect sales tax. |
| List orders | List the IDs of the orders you reported, within a date range. |
| List refunds | List the IDs of the refunds you reported, within a date range. |
| Update customer | Change an exempt customer's details or exemption. |
| Update order | Change an order you reported. |
| Update refund | Change a refund you reported. |
| Validate address | Check a US address and get its corrected, complete form. |
Calculate tax
Calculate the sales tax due on an order, from where it ships from to where it ships to.
Inputs
- From country
from_countrytext - From country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - From state
from_statetext - From state.
- From zip
from_ziptext - From zip.
- From city
from_citytext - From city.
- From street
from_streettext - From street.
- To country
to_countrytextRequired - To country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - To state
to_statetextRequired - To state.
- To zip
to_ziptextRequired - To zip.
- To city
to_citytext - To city.
- To street
to_streettext - To street.
- Amount
amountnumber - Amount.At least 0.
- Shipping
shippingnumberRequired - Shipping.At least 0.
- Customer
customer_idtext - Customer id.
- Line items
line_itemslist - Line items.
- Nexus addresses
nexus_addresseslist - Nexus addresses.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"tax": {}
},
"environment": "sandbox",
"next_cursor": ""
}Create customer
Add a customer who is exempt from sales tax, such as a wholesaler or nonprofit.
Inputs
- Customer id
customer_idtextRequired - Customer id.
- Exemption type
exemption_typetextRequired - Exemption type.One of:
wholesale,government,other,non_exempt(Non exempt). - Name
nametextRequired - Name.
- Exempt regions
exempt_regionslist - Exempt regions.
- Country
countrytext - Country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - State
statetext - State.
- Zip
ziptext - Zip.
- City
citytext - City.
- Street
streettext - Street.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"customer": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Create order
Report an order for sales tax reporting and filing.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
- Transaction date
transaction_datedate and timeRequired - Transaction date.
- Amount
amountnumberRequired - Amount.
- Shipping
shippingnumberRequired - Shipping.
- Sales tax
sales_taxnumberRequired - Sales tax.
- From country
from_countrytext - From country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - From state
from_statetext - From state.
- From zip
from_ziptext - From zip.
- From city
from_citytext - From city.
- From street
from_streettext - From street.
- To country
to_countrytextRequired - To country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - To state
to_statetextRequired - To state.
- To zip
to_ziptextRequired - To zip.
- To city
to_citytext - To city.
- To street
to_streettext - To street.
- Customer
customer_idtext - Customer id.
- Exemption type
exemption_typetext - Exemption type.One of:
wholesale,government,marketplace,other,non_exempt(Non exempt). - Line items
line_itemslist - Line items.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"order": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Create refund
Report a refund for sales tax reporting and filing.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
- Transaction date
transaction_datedate and timeRequired - Transaction date.
- Amount
amountnumberRequired - Amount.
- Shipping
shippingnumberRequired - Shipping.
- Sales tax
sales_taxnumberRequired - Sales tax.
- From country
from_countrytext - From country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - From state
from_statetext - From state.
- From zip
from_ziptext - From zip.
- From city
from_citytext - From city.
- From street
from_streettext - From street.
- To country
to_countrytextRequired - To country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - To state
to_statetextRequired - To state.
- To zip
to_ziptextRequired - To zip.
- To city
to_citytext - To city.
- To street
to_streettext - To street.
- Customer
customer_idtext - Customer id.
- Exemption type
exemption_typetext - Exemption type.One of:
wholesale,government,marketplace,other,non_exempt(Non exempt). - Line items
line_itemslist - Line items.
- Transaction reference id
transaction_reference_idtextRequired - Transaction reference id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"refund": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Delete customer
Delete an exempt customer.
Inputs
- Customer
customer_idtextRequired - Customer id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {},
"environment": "sandbox",
"next_cursor": ""
}Delete order
Delete an order you reported.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {},
"environment": "sandbox",
"next_cursor": ""
}Delete refund
Delete a refund you reported.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {},
"environment": "sandbox",
"next_cursor": ""
}Get customer
Get an exempt customer's details and the regions they are exempt in.
Inputs
- Customer
customer_idtextRequired - Customer id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"customer": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Get order
Get an order you reported, with its amounts, addresses and line items.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"order": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Get rates
Get the sales tax rates for a location.
Inputs
- Zip
ziptextRequired - Zip.
- Country
countrytext - Country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - State
statetext - State.
- City
citytext - City.
- Street
streettext - Street.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"rate": {}
},
"environment": "sandbox",
"next_cursor": ""
}Get refund
Get a refund you reported, with its amounts, addresses and line items.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"refund": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}List categories
List the product tax codes TaxJar uses for items taxed differently, such as clothing or food.
Inputs
None.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"categories": []
},
"environment": "sandbox",
"next_cursor": ""
}List customers
List the IDs of your exempt customers.
Inputs
None.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"customers": []
},
"environment": "sandbox",
"next_cursor": ""
}List nexus regions
List the states and countries where you have nexus and collect sales tax.
Inputs
None.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"regions": []
},
"environment": "sandbox",
"next_cursor": ""
}List orders
List the IDs of the orders you reported, within a date range.
Inputs
- From transaction date
from_transaction_datedate - From transaction date.
- To transaction date
to_transaction_datedate - To transaction date.
- Transaction date
transaction_datedate - Transaction date.
- Provider
providertext - Provider.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"orders": []
},
"environment": "sandbox",
"next_cursor": ""
}List refunds
List the IDs of the refunds you reported, within a date range.
Inputs
- From transaction date
from_transaction_datedate - From transaction date.
- To transaction date
to_transaction_datedate - To transaction date.
- Transaction date
transaction_datedate - Transaction date.
- Provider
providertext - Provider.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"refunds": []
},
"environment": "sandbox",
"next_cursor": ""
}Update customer
Change an exempt customer's details or exemption.
Inputs
- Customer
customer_idtextRequired - Customer id.
- Exemption type
exemption_typetext - Exemption type.One of:
wholesale,government,other,non_exempt(Non exempt). - Name
nametext - Name.
- Exempt regions
exempt_regionslist - Exempt regions.
- Country
countrytext - Country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - State
statetext - State.
- Zip
ziptext - Zip.
- City
citytext - City.
- Street
streettext - Street.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"customer": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Update order
Change an order you reported.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
- Transaction date
transaction_datedate and time - Transaction date.
- Amount
amountnumber - Amount.
- Shipping
shippingnumber - Shipping.
- Sales tax
sales_taxnumber - Sales tax.
- From country
from_countrytext - From country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - From state
from_statetext - From state.
- From zip
from_ziptext - From zip.
- From city
from_citytext - From city.
- From street
from_streettext - From street.
- To country
to_countrytext - To country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - To state
to_statetext - To state.
- To zip
to_ziptext - To zip.
- To city
to_citytext - To city.
- To street
to_streettext - To street.
- Customer
customer_idtext - Customer id.
- Exemption type
exemption_typetext - Exemption type.One of:
wholesale,government,marketplace,other,non_exempt(Non exempt). - Line items
line_itemslist - Line items.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"order": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Update refund
Change a refund you reported.
Inputs
- Transaction id
transaction_idtextRequired - Transaction id.
- Transaction date
transaction_datedate and time - Transaction date.
- Amount
amountnumber - Amount.
- Shipping
shippingnumber - Shipping.
- Sales tax
sales_taxnumber - Sales tax.
- From country
from_countrytext - From country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - From state
from_statetext - From state.
- From zip
from_ziptext - From zip.
- From city
from_citytext - From city.
- From street
from_streettext - From street.
- To country
to_countrytext - To country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - To state
to_statetext - To state.
- To zip
to_ziptext - To zip.
- To city
to_citytext - To city.
- To street
to_streettext - To street.
- Customer
customer_idtext - Customer id.
- Exemption type
exemption_typetext - Exemption type.One of:
wholesale,government,marketplace,other,non_exempt(Non exempt). - Line items
line_itemslist - Line items.
- Transaction reference id
transaction_reference_idtext - Transaction reference id.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"refund": {
"amount": 1.0,
"customer_id": "example",
"name": "example",
"transaction_id": "example",
"transaction_reference_id": "example"
}
},
"environment": "sandbox",
"next_cursor": ""
}Validate address
Check a US address and get its corrected, complete form.
Inputs
- Country
countrytext - Country.One of:
AD(Andorra),AE(United Arab Emirates),AF(Afghanistan),AG(Antigua & Barbuda),AI(Anguilla),AL(Albania),AM(Armenia),AO(Angola),AQ(Antarctica),AR(Argentina), and 240 more. - State
statetext - State.
- Zip
ziptext - Zip.
- City
citytext - City.
- Street
streettext - Street.
Outputs
dataobject- Response.
environmenttext- The connected TaxJar environment.
next_cursortext- Continuation token, when returned by the service.
Example output
{
"data": {
"addresses": []
},
"environment": "sandbox",
"next_cursor": ""
}