https://github.com/avadev/avatax-calc-soap-cpp
C++ Sample
https://github.com/avadev/avatax-calc-soap-cpp
Last synced: over 1 year ago
JSON representation
C++ Sample
- Host: GitHub
- URL: https://github.com/avadev/avatax-calc-soap-cpp
- Owner: avadev
- License: other
- Created: 2013-02-28T22:49:40.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2014-09-05T16:09:36.000Z (almost 12 years ago)
- Last Synced: 2025-01-21T11:45:48.778Z (over 1 year ago)
- Language: C++
- Size: 3.98 MB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
AvaTax-SOAP-CPP
=====================
[Other Samples](http://developer.avalara.com/api-docs/api-sample-code)
This is a sample for C++/CLI demonstrating the [AvaTax SOAP API](http://developer.avalara.com/api-docs/soap) methods.
For more information on the use of these methods and the AvaTax product, please visit our [developer site](http://developer.avalara.com/) or [home page](http://www.avalara.com/)
The Visual Studio solution uses a main.cpp file to run the Avalara AvaTax methods in order. Some calls may not be necessary for your integration.
Requirements:
----------
- If you do not have an AvaTax account, a free trial account can be acquired through our [developer site](http://developer.avalara.com/getting-started)
- Enter your account credentials app.config. You may need to clean build and then rebuild the solution if you run it before changing the credentials. You can pass your free trial Username and Password in the accountNumber and licenseKey fields, otherwise use your actual account and key.
- If you're using a paid account instead of a free trial account, you will also need to change the CompanyCode in some files. The default value we have entered is APITrialCompany.
Contents:
----------
Sample Projects
PingTestDemonstrates a ping call to verify connectivity and credentials.
GetTaxTestDemonstrates the GetTax method used for product- and line- specific calculation.
PostTaxTestDemonstrates the PostTax method used to post or commit a previously recorded document.
CommitTaxTestDemonstrates the CommitTax method used to commit a previously posted document.
GetTaxHistoryTestDemonstrates a GetTaxHistory call to retrieve document details for a saved transaction.
AdjustTaxTestDemonstrates an AdjustTax call to modify a previously committed transaction. If it's not committed continue to use GetTax to update the document.
CancelTaxTestDemonstrates the CancelTax method used to void a document.
ValidateAddressTestDemonstrates the Validate method to normalize an address.
Core Classes
Avalara.AvaTax.Adapter.dll-
Other Files
.gitattributes-
.gitignore-
AvaTax-SOAP-CPP.sln-
LICENSE.md-
README.md-
Dependencies:
-----------
- .NET 2.0 or later
- Avalara.AvaTax.Adapter.DLL (included in sample)