https://github.com/avadev/avatax-calc-rest-python
AvaTax Calc PYTHON REST Samples
https://github.com/avadev/avatax-calc-rest-python
Last synced: over 1 year ago
JSON representation
AvaTax Calc PYTHON REST Samples
- Host: GitHub
- URL: https://github.com/avadev/avatax-calc-rest-python
- Owner: avadev
- License: other
- Created: 2013-11-13T23:33:50.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T16:03:32.000Z (almost 12 years ago)
- Last Synced: 2025-01-21T11:45:48.269Z (over 1 year ago)
- Language: Python
- Size: 245 KB
- Stars: 2
- Watchers: 14
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[Other Samples](http://developer.avalara.com/api-docs/api-sample-code)
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/