Skip to content

Latest commit

 

History

History
63 lines (61 loc) · 4.97 KB

README.md

File metadata and controls

63 lines (61 loc) · 4.97 KB

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/