AvaTax Calc PYTHON REST Samples
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitattributes
.gitignore
CancelTaxTest.py
EstimateTaxTest.py
GetTaxTest.py
LICENSE.md
README.md
ValidateAddressTest.py
credentials.py

README.md

Other Samples

The AvaTax-Calc-REST-Python repository is a set of python sample requests that demonstrate 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's Network site at http://developer.avalara.com/ or Avalara's Home page at http://www.avalara.com/

Dependencies

Python 2.7 or later

Requirements

Authentication requires a Service URL, a valid Account Number and License Key. Samples are coded to use the provided credentials.py sample that you will need to modify with your account information.

If you do not have an AvaTax account, a free trial account can be acquired through our [developer site](http://developer.avalara.com/api-get-started)

Authentication requires a valid Account Number and License Key, which should be entered in each of the sample requests that you would like to test.

If you do not have an AvaTax account, a free trial account can be acquired through our developer site

Samples Included

API
Method Demonstrated
credentials.py Used for centralizing URL, Account Number and License Key for all API samples..
ValidateAddressTest.py Demonstrates the ValidateAddress method to normalize an address.
EstimateTaxTest.py Demonstrates the EstimateTax method used for product- and line- indifferent tax estimates.
GetTaxTest.py Demonstrates the GetTax method used for product- and line- specific calculation.
CancelTaxTest.py Demonstrates the CancelTax method used to void a document.
Other Files Included in this Repository
.gitattributes GitHub attribute file. Not required for sample use.
.gitignore GitHub config file. Not required for sample use.
LICENSE.md Apache License TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
README.md This document describing how to make use of the sample API code.

Resources

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/