AvaTax for Communications
Communications REST v2 Dev Guide
Getting Started
Calculate Taxes
Commit/Uncommit
Customizing Transactions
Account Customizations
Transaction Use Cases
- Simple Request
- Multi-line Request
- Jurisdiction Determination
- Interstate/Intrastate Determination
- Tax Override
- Safe Harbor Override
- Private Line
- Proration
- Transaction Information
- Exclusions
- Transaction-Level Commit/Uncommit
- Invoice Date
- Invoice Mode
- Optional Fields
- Adjustments
- Tax Inclusive
- Displaying Tax Results
- Quantity
- Request Config
Exemptions
Sales and Use
Jurisdiction Determination Use Cases
Reference
Calculating Tax Offline
AvaTax for Communications Use Cases
FAQ
Chapter 5.5.1 - Set Tax Calculation Setting Request
Set Tax Calculation Setting Request
The SetTaxCalculationSettingRequest object allows the user to specify customization settings for a client profile:
| Key | Value |
|---|---|
ProfileConfigId | [int] Profile Configuration Id Profile configuration id to be used when updating an existing profile. Use null for a new configuration |
LinkProfileIds | [List<int>] Link Profile Ids Profile Id(s) to be added to the configuration. Use null to not change profiles associated with the configuration settings |
UnlinkProfileIds | [List<int>] Unlink Profile Ids Profile Id(s) to be removed from the configuration. Use null to not change profiles associated with the configuration settings |
ClientId | [int] Client Id Client Id associated with the configuration. Default Client Id for the current user is used if set to null |
Deactivate | [bool] Deactivate Indicates if the configuration should be deactivated. Automatically removes any profile mappings associated with the configuration
|
Description | [string] Description Description to be applied to requested configuration |
ReplaceExistingLinks | [bool] Replace Existing Links Indicates if the existing configuration links to the profile should be replaced. Only applies when one or more profiles have been specified to be linked.
|
Settings | [Configuration] Tax Configuration Settings Settings associated with a client profile configuration. May be associated with 0 to many profiles. |
Exclusions | [ExclusionConfig] Exclusions List of exclusions |
Bundles | [BundleConfig] Bundles List of bundles |
Nexus | [NexusConfig] Nexus List of nexus |
Overrides | [List<string>] Overrides List of lines contained in the override file |
Example
SetConfig Add Request Example
{ "LinkProfileIds": [ 1, 2, 3 ], "ClientId": 999, "Deactivate": false, "Description": "Sample Add Config Description", "ReplaceExistingLinks": true, "Settings": { // Configuration }}SetOverrides Update Request Example
{ "ProfileConfigId": 1, "LinkProfileIds": [ 1, 2, 3 ], "UnlinkProfileIds": [ 4, 5, 6 ], "ClientId": 999, "Deactivate": false, "Description": "Sample Update Override Description", "ReplaceExistingLinks": true, "Overrides": [ "3.4", "1248900,1,3,3,3,1", "20180101,1", "0.123,2147483647,0,0,0,0", "19990401,1", "0.01125,2147483647,0,0,0,0", "19000101,1", "0.01,2147483647,0,0,0,0" ]}