Skip to content

Latest commit

 

History

History
36 lines (30 loc) · 2.78 KB

README.md

File metadata and controls

36 lines (30 loc) · 2.78 KB

AvaTax-REST-Java

This is a set of Java sample requests demonstrating the AvaTax REST API methods: tax/get POST, tax/get GET, tax/cancel POST, and address/validate GET.

For more information on the use of these methods and the AvaTax product, please visit our developer site or homepage

Contents:

Sample Files
src/CancelTaxTest.javaDemonstrates the CancelTax method used to void a document.
src/EstimateTaxTest.javaDemonstrates the EstimateTax method used for product- and line- indifferent tax estimates.
src/GetTaxTest.javaDemonstrates the GetTax method used for product- and line- specific calculation.
src/PingTest.javaUses a hardcoded EstimateTax call to test connectivity and credential information.
src/ValidateAddressTest.javaDemonstrates the ValidateAddress method to normalize an address.
Other Files
src/AddressSvc/Contains the core classes that make the address validation service calls.
src/TaxSvc/Contains the core classes that make the tax calculation service calls.
.gitattributes-
.gitignore-
LICENSE.md-
README.md-

Dependencies:

  • JDK 5.0 or later
  • Jackson is also required, and the pertinent libraries are included in /lib. It is provided here under the Apache License 2.0

Requirements:

  • Authentication requires an valid Account Number and License Key, which should be entered in the test file (e.g. GetTaxTest.rb) you would like to run.
  • If you do not have an AvaTax account, a free trial account can be acquired through our developer site