Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 2.47 KB

README.md

File metadata and controls

34 lines (28 loc) · 2.47 KB

AvaTax-REST-cURL

Other Samples

This is a set of cURL sample requests and expected responses 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
CancelTaxTest.txtDemonstrates the CancelTax method used to void a document.
EstimateTaxTest.txtDemonstrates the EstimateTax method used for product- and line- indifferent tax estimates.
GetTaxTest.txtDemonstrates the GetTax method used for product- and line- specific calculation.
PingTest.txtUses a hardcoded EstimateTax call to test connectivity and credential information.
ValidateAddressTest.txtDemonstrates the ValidateAddress method to normalize an address.
Other Files
.gitattributes-
.gitignore-
LICENSE.md-
README.md-

Dependencies:

  • cURL 7.0 or later

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