Skip to content

C# sample of the most commonly used AvaTax Calc functions using the SOAP API and AvaTax Adapter.

License

Notifications You must be signed in to change notification settings

SeanRustAvalara/AvaTax-Calc-SOAP-csharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AvaTax-SOAP-csharp

This is a C# sample demonstrating the AvaTax SOAP API methods:

For more information on the use of these methods and the AvaTax product, please visit our developer site or homepage

Dependencies:

  • .NET 2.0 or later
  • Avalara.AvaTax.Adapter.DLL (included in sample)

Requirements:

  • Some versions of Visual Studio have trouble finding the included Avalara.AvaTax.Adapter.dll - you may need to re-add this file to your project references after downloading the sample.
  • 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.
GetTaxHistoryTest.csDemonstrates a GetTaxHistory call to retrieve document details for a saved transaction.
GetTaxTest.csDemonstrates the GetTax method used for product- and line- specific calculation.
PingTest.csDemonstrates a ping call to verify connectivity and credentials.
PostTaxTest.csDemonstrates the PostTax method used to commit a previously recorded document.
Program.csProvides and entry point to call the actual samples.
ValidateAddressTest.csDemonstrates the ValidateAddress method to normalize an address.
Core Classes
Avalara.AvaTax.Adapter.chm-
Avalara.AvaTax.Adapter.dll-
Avalara.AvaTax.Adapter.dll.config-
Other Files
.gitattributes-
.gitignore-
app.configContains AvaTax credentials used to run individual tests.
AvaTaxCalcSOAP.csproj-
AvaTaxCalcSOAP.sln-
LICENSE.md-
README.md-

About

C# sample of the most commonly used AvaTax Calc functions using the SOAP API and AvaTax Adapter.

Resources

License

Stars

Watchers

Forks

Packages

No packages published