AvaTax SDK JRE
These libraries are open source, and are released as such. If you have located a bug or have questions, please visit the Github repositories that are associated with the sample code and provide feedback there.
Latest SDK version 21.8.0
Installation

The AvaTax JRE SDK is available for download on Maven.

For the AvaTax JRE SDK, there are four different files available to download:

  • pom : This Project Object Model is an XML file that contains information about the project and configuration details used by Maven to build the project. This file is not needed in order to run the AvaTax JRE SDK.
  • jar : This is what file you will use to import into your project in order to access AvaTax. This file is needed in order to run the AvaTax JRE SDK.
  • javadoc.jar : This file is documentation generated from the source code in the jar file. This file is not needed in order to run the AvaTax JRE SDK.
  • sources.jar : This file contains the source code for the jar file. This file is not needed in order to run the AvaTax JRE SDK, but it is helpful to use in order to view the code within the jar file in the editor. In order to view the code, download this file and attach it as a source to the jar file. Once you have the jar file downloaded, import it into your editor as an external jar file.
Using the JRE SDK

The JRE SDK uses a fluent interface to define a connection to AvaTax and to make API calls to calculate tax on transactions. Here's an example of how to connect to AvaTax in Java:

View Example
Updates

Two functions have been updated in 19.9.1

    downloadTaxRatesByZipCodeAsync(Date date, String region)
     downloadTaxRatesByZipCodeAsync(Date date, String region)    

have been changed to

     downloadTaxRatesByZipCodeAsync(String date, String region)
     downloadTaxRatesByZipCodeAsync(String date, String region)