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
- .NET 2.0 or later
- Avalara.AvaTax.Adapter.DLL (included in sample)
- 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
Sample Files | |
---|---|
CancelTaxTest.cs | Demonstrates the CancelTax method used to void a document. |
GetTaxHistoryTest.cs | Demonstrates a GetTaxHistory call to retrieve document details for a saved transaction. |
GetTaxTest.cs | Demonstrates the GetTax method used for product- and line- specific calculation. |
PingTest.cs | Demonstrates a ping call to verify connectivity and credentials. |
PostTaxTest.cs | Demonstrates the PostTax method used to commit a previously recorded document. |
Program.cs | Provides and entry point to call the actual samples. |
ValidateAddressTest.cs | Demonstrates 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.config | Contains AvaTax credentials used to run individual tests. |
AvaTaxCalcSOAP.csproj | - |
AvaTaxCalcSOAP.sln | - |
LICENSE.md | - |
README.md | - |