TaxJar Pipe
Calculate the amount of sales tax for an order using TaxJar's API.
Getting Started
Prerequisites
- A TaxJar account
In order to use TaxJar with Tadabase, it is necessary to have a TaxJar account. If you do not have one, you can create a TaxJar account at https://app.taxjar.com/sign_up.
Install the TaxJar Pipe
To connect your TaxJar account to Tadabase, you need to obtain your TaxJar API Token a and insert it in the dialog window that pops up when you install the pipe.
To find your TaxJar API Token:
- Log in to your TaxJar Account.
- Click on the Account dropdown button on the top right corner of the app.
- Select "TaxJar API" from the dropdown.
- Your TaxJar API Token will be displayed.
TaxJar's system is designed to calculate sales tax based on where you tell them that you have registered to collect sales tax. Before collecting any sales tax, you're required to register to collect sales taxes from all customers who live in the states where you have nexus, which occurs when your business has a specific type of connection to a state.
API Calls
- Get Sales Tax for an Order
- Get Sales Tax Summary (All Locations)
- Get Sales Tax Rate by Zip Code (US Only)
Get Sales Tax for an Order
For more details and examples, go to the TaxJar API Documentation - Get Sales Tax for an Order
Parameters
- Shipping Address - Street
- Shipping Address - Zip Code - Required for US*
- Shipping Address - State/Province - Required for US and Canada*. Postal abbreviated state name for given location. (Example: FL)
- Shipping Address - City * - Enter the name of the city of the shipping address. (Example: Miami)
- Shipping Address - Country * - Two-letter ISO country code for given location. (Default: US)
- Order Cost * - Enter the cost of the order.
- Shipping Cost * - Enter the shipping cost.
- Tax Exempt * - Type of exemption for the order: wholesale, government, marketplace, other, or non_exempt
*Required
Response
- Tax Amount To Collect
- Tax Freight Taxable
- Tax Has Nexus
- Tax Jurisdictions City
- Tax Jurisdictions Country
- Tax Jurisdictions County
- Tax Jurisdictions State
- Tax Order Total Amount
- Tax Rate
- Tax Shipping
- Tax Source
- Tax Taxable Amount
- Tax Exemption Type
Get Sales Tax Summary (All Locations)
Note: This call returns an array, which can only be accessed in a Custom Component.
For more details and examples, go to the TaxJar API Documentation - Get Sales Tax Summary (All Locations)
Parameters
- No Parameters
Response
- Summary Rates (array)
Get Sales Tax Rate by Zip Code (US Only)
For more details and examples, go to the TaxJar API Documentation - Get Sales Tax Rate by Zip Code (US Only)
Parameters
- Zip Code* - Enter a Zip Code (Example: 90036)
*Required
Response
- City
- City Rate
- Combined District Rate
- Combined Rate
- Country
- Country Rate
- County
- County Rate
- Freight Taxable
- State
- State Rate
- Zip
TaxJar Demo
More Details
To learn more about this Pipe and the additional API calls, please see this article: https://developers.taxjar.com/api/reference/#sales-tax-api.
We'd love to hear your feedback.