AvaTaxCalc-BatchSvcSOAP-Java contains sample code that calls Avalara's Batch Service using a java SOAP API. The sample demonstrates how tax records can be imported using Avalara's Transaction Import format.
Contents:
avatax4j.properties | Sample credentials file. |
avatax4j-batchsvc.jar | AvaTax BatchSvc jar file |
batchservicetest.csv | Sample import transaction csv file for use in testing batch services save. |
/lib | Other required jar files |
/src | Full source code |
Dependencies:
- All dependent jar files are included for build and running.
- JDK 5.0 or later
- avatax4j should be compatible with J2SDK 1.4.2 , but we no longer provide support for this version.
- You will need to use the cacert file from JDK 5.0. http://www.oracle.com/technetwork/java/javasebusiness/downloads/
- Apache Ant 1.6.x or later http://ant.apache.org/bindownload.cgi
Requirements:
- Authentication using the BatchSvc requires the use of Account Admin level username and password vs account number and license key combination. Configure these settings in the avatax4j.properties file included in the sample.
- CompanyId can be obtained from your Admin Console's Organization tab by selecting the Company Name hyperlink. The digits that appear at the end of the URL string is the CompanyID.
For example: https://admin-development.avalara.net/AvaTax/Company/CompanyEdit.aspx?id=12345 -- 12345 would be the CompanyID.
- There is a .csv import transaction file batchservicetest.csv in the root directory that can be used for your import document test. You can modify this file in any way that suites your business needs. See Importing Transactions for more information.
Developer API Documentation is located here: http://developer.avalara.com/api-docs
The Avalara AvaTax API Reference is located here: http://developer.avalara.com/api-docs/avalara-avatax-api-reference
Find out what other developers are talking about on the Avalara Developer Community Forum located here: https://community.avalara.com/avalara/category_sets/developers
Frequently Asked Questions regarding all Avalara products is located here: https://help.avalara.com/