Skip to content

Set of cURL sample requests and expected responses for the AvaTax tax calcluation REST API

License

Notifications You must be signed in to change notification settings

avadev/AvaTax-Calc-REST-cURL

Repository files navigation

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

About

Set of cURL sample requests and expected responses for the AvaTax tax calcluation REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published