Skip to content

jayvaishnav/AvaTax-Calc-REST-csharp

 
 

Repository files navigation

AvaTax-REST-csharp

Other Samples

This is a C# 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

Dependencies:

  • .NET 4.0 or later

Requirements:

  • Authentication requires an valid Account Number and License Key, which should be entered in the application configuration (app.config) file.
  • If you do not have an AvaTax account, a free trial account can be acquired through our developer site

Contents:

Sample Files
CancelTaxTest.csDemonstrates the CancelTax method used to void a document.
EstimateTaxTest.csDemonstrates the EstimateTax method used for product- and line- indifferent tax estimates.
GetTaxTest.csDemonstrates the GetTax method used for product- and line- specific calculation.
PingTest.csUses a hardcoded EstimateTax call to test connectivity and credential information.
Program.csProvides and entry point to call the actual samples.
ValidateAddressTest.csDemonstrates the ValidateAddress method to normalize an address.
Other Files
AvaTaxClasses/Contains the core classes that make the service calls.
.gitattributes-
.gitignore-
app.configContains AvaTax credentials used to run individual tests.
AvaTaxCalcREST.csproj-
AvaTaxCalcREST.sln-
LICENSE.md-
README.md-

About

C# sample of the REST API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%