Skip to content

herqueles3/AvaTax-Calc-REST-Ruby

 
 

Repository files navigation

AvaTax-REST-Ruby

This is a Ruby sample 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.rbDemonstrates the CancelTax method used to void a document.
EstimateTaxTest.rbDemonstrates the EstimateTax method used for product- and line- indifferent tax estimates.
GetTaxTest.rbDemonstrates the GetTax method used for product- and line- specific calculation.
PingTest.rbUses a hardcoded EstimateTax call to test connectivity and credential information.
ValidateAddressTest.rbDemonstrates the ValidateAddress method to normalize an address.
Other Files
AvaTaxClasses/Contains the core classes that make the service calls.
.gitattributes-
.gitignore-
LICENSE.md-
README.md-

Dependencies:

  • Ruby 1.9.2 or later

Requirements:

  • Make sure to install any required gems by navigating to the root directory in the command line and running "bundle install".
  • 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published