Setup AvaTax
AvaTax is a scalable and efficient Avalara solution for sales automation and tax compliance whose superior, out-of-the-box features bring value to your OnPrintShop web store. AvaTax is an expert in tax compliance and helps you with your tax obligations.
Read the below systematic guide to integrate AvaTax with your OnPrintShop website.
- Visit the Avalara Developer site and sign-up for the free trial of AvaTax where you can later become the premium member:
- On the next page, click on the Build your own integration with Avalara’s API in our sandbox environment link:
As soon as you click on the link, you will receive an email to your registered email for the account activation. Follow the instructions and activate your account.
After completing the setup process, AvaTax will demand you log in to your account.
- Login into your account.
- Complete the Activation process by entering your company information, taxpayer ID, and Business ID:
- Follow the on-screen instructions and complete the process of activating your company.
Account Number:
To get the Account ID, click on the Account from the top-right corner where you will find your Account ID:
Copy the Account ID from here and keep at a secure place for later part of the configurations step.
License Key:
To get the License key, navigate to the Settings >> License and API Keys:
- The following screen will appear:
- Click on the Generate license key button and then click on the Yes, generate a license key button from the confirmation pop-up screen.
- The license key will be generated as displayed below:
- Copy and save the same.
Tax Calculation Settings:
To use the third-party for Tax Calculation, you need to make some settings in the Admin panel >> Store configurations >> Site Settings:
- In the search box, type "Tax".
- For the Tax Calculation based on setting, select "Third Party API-4" from the drop-down.
- Save the changes made.
Enable AvaTax Services:
To enable the AvaTax services, go to the Admin Panel >> Store Configurations >> External Service Settings >> Tax API tab >> AvaTax >> ‘Action’ drop-down >> ‘Edit’ option:
- Username: enter the AvaTax username.
- Password: enter the AvaTax Password.
- Account Number: enter the account number saved in the Step 3.
- Licence Key: enter the license key saved in the Step 3.
- Company Code: you can get the Company Code from AvaTax Admin console >> Settings >> Company Details >> Company Code. Copy the code and paste it here.
- Tax Code: if you have a specific tax code then, you can insert it else the system will take default "P0000000".
- Tax Code for Shipping: if you have a specific tax code then, you can insert it else the system will take default "FR020000".
- Environment: You have to select the environment as "Production Mode" for the live website.
- Address fields: You will have an option to enter the correct Origin address.
- Calculate on Shipping Price?: Toggle the checkbox if you want to apply the tax on subtotal as well as on shipping price.
After completing the above process, your customer will get a TAX on Front-End that will be calculated from AvaTax API Third Party.