diff --git a/setup.py b/setup.py
index 05f9acf..ca6f000 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@
setup(
name='Avalara',
- version='23.8.1',
+ version='23.10.1',
url='https://github.com/avadev/AvaTax-REST-V2-Python-SDK',
package_dir={'': 'src'},
packages=['avalara'],
diff --git a/src/avalara/client_methods.py b/src/avalara/client_methods.py
index a722161..69f6e37 100644
--- a/src/avalara/client_methods.py
+++ b/src/avalara/client_methods.py
@@ -31,7 +31,7 @@ class Mixin:
"""
def account_reset_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/resetlicensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -56,7 +56,7 @@ def account_reset_license_key(self, id_, model):
"""
def activate_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/activate'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -87,7 +87,7 @@ def activate_account(self, id_, model):
"""
def audit_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/audit'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -112,7 +112,7 @@ def audit_account(self, id_, include=None):
"""
def create_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/licensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -133,7 +133,7 @@ def create_license_key(self, id_, model):
"""
def delete_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -155,7 +155,7 @@ def delete_license_key(self, id_, licensekeyname):
"""
def get_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -181,7 +181,7 @@ def get_account(self, id_, include=None):
"""
def get_account_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -199,7 +199,7 @@ def get_account_configuration(self, id_):
"""
def get_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -217,7 +217,7 @@ def get_license_key(self, id_, licensekeyname):
"""
def get_license_keys(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/licensekeys'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -246,7 +246,7 @@ def get_license_keys(self, id_):
"""
def query_accounts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -273,7 +273,7 @@ def query_accounts(self, include=None):
"""
def set_account_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -308,7 +308,7 @@ def set_account_configuration(self, id_, model):
"""
def resolve_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -332,7 +332,7 @@ def resolve_address(self, include=None):
"""
def resolve_address_post(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -350,7 +350,7 @@ def resolve_address_post(self, model):
"""
def create_company_lookup_file(self, accountId, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -367,7 +367,7 @@ def create_company_lookup_file(self, accountId, companyId, model):
"""
def delete_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -384,7 +384,7 @@ def delete_lookup_file(self, accountId, id_):
"""
def get_company_lookup_files(self, accountId, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -401,7 +401,7 @@ def get_company_lookup_files(self, accountId, companyId):
"""
def get_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -419,13 +419,88 @@ def get_lookup_file(self, accountId, id_):
"""
def update_lookup_file(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
r"""
Swagger Name: AvaTaxClient
+ Create new rule
+
+
+
+ :param companyid [int] The ID of the company that owns this AP Config Setting object
+ :param model [APConfigSettingRequestModel] The AP Config Setting you wish to create.
+ :return APConfigSettingSuccessResponseModel
+ """
+ def create_a_p_config_setting(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.post('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve rule for this company
+
+
+
+ :param companyid [int] The ID of the company that defined this rule
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent
+ :param include [string] A comma separated list of additional data to retrieve.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def get_a_p_config_setting_by_company(self, companyid, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve all rules
+
+
+
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent
+ :param include [string] A comma separated list of additional data to retrieve.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def query_a_p_config_setting(self, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/apconfigsetting'.format(self.base_url),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Update a AP config setting
+
+
+
+ :param companyid [int] The ID of the company that owns this AP config setting object
+ :param model [APConfigSettingRequestModel] The AP config setting object you wish to update.
+ :return APConfigSettingSuccessResponseModel
+ """
+ def update_a_p_config_setting(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.put('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
Create a new AvaFileForm
Create one or more AvaFileForms
@@ -439,7 +514,7 @@ def update_lookup_file(self, accountId, id_, model):
"""
def create_ava_file_forms(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -458,7 +533,7 @@ def create_ava_file_forms(self, model):
"""
def delete_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -477,7 +552,7 @@ def delete_ava_file_form(self, id_):
"""
def get_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -500,7 +575,7 @@ def get_ava_file_form(self, id_):
"""
def query_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -521,7 +596,7 @@ def query_ava_file_forms(self, include=None):
"""
def update_ava_file_form(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -548,7 +623,7 @@ def update_ava_file_form(self, id_, model):
"""
def cancel_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/batches/{}/cancel'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -581,7 +656,7 @@ def cancel_batch(self, companyId, id_):
"""
def create_batches(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -613,7 +688,7 @@ def create_batches(self, companyId, model):
"""
def create_transaction_batch(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/batches/transactions'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -639,7 +714,7 @@ def create_transaction_batch(self, companyId, model):
"""
def delete_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -659,7 +734,7 @@ def delete_batch(self, companyId, id_):
"""
def download_batch(self, companyId, batchId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/batches/{}/files/{}/attachment'.format(self.base_url, companyId, batchId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -689,7 +764,7 @@ def download_batch(self, companyId, batchId, id_):
"""
def get_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -727,7 +802,7 @@ def get_batch(self, companyId, id_):
"""
def list_batches_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -762,7 +837,7 @@ def list_batches_by_company(self, companyId, include=None):
"""
def query_batches(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/batches'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -794,7 +869,7 @@ def query_batches(self, include=None):
"""
def create_cert_express_invitation(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/{}/certexpressinvites'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -827,7 +902,7 @@ def create_cert_express_invitation(self, companyId, customerCode, model):
"""
def get_cert_express_invitation(self, companyId, customerCode, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/certexpressinvites/{}'.format(self.base_url, companyId, customerCode, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -862,7 +937,7 @@ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None
"""
def list_cert_express_invitations(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certexpressinvites'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -898,7 +973,7 @@ def list_cert_express_invitations(self, companyId, include=None):
"""
def create_certificates(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -927,7 +1002,7 @@ def create_certificates(self, companyId, model, include=None):
"""
def delete_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -959,7 +1034,7 @@ def delete_certificate(self, companyId, id_):
"""
def download_certificate_image(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -992,7 +1067,7 @@ def download_certificate_image(self, companyId, id_, include=None):
"""
def get_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1016,7 +1091,7 @@ def get_certificate(self, companyId, id_, include=None):
"""
def get_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1047,7 +1122,7 @@ def get_certificate_setup(self, companyId):
"""
def link_attributes_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1079,7 +1154,7 @@ def link_attributes_to_certificate(self, companyId, id_, model):
"""
def link_customers_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1109,7 +1184,7 @@ def link_customers_to_certificate(self, companyId, id_, model):
"""
def list_attributes_for_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attributes'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1140,7 +1215,7 @@ def list_attributes_for_certificate(self, companyId, id_):
"""
def list_customers_for_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}/customers'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1176,7 +1251,7 @@ def list_customers_for_certificate(self, companyId, id_, include=None):
"""
def query_certificates(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1201,7 +1276,7 @@ def query_certificates(self, companyId, include=None):
"""
def request_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1232,7 +1307,7 @@ def request_certificate_setup(self, companyId):
"""
def unlink_attributes_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1265,7 +1340,7 @@ def unlink_attributes_from_certificate(self, companyId, id_, model):
"""
def unlink_customers_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1294,7 +1369,7 @@ def unlink_customers_from_certificate(self, companyId, id_, model):
"""
def update_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1325,7 +1400,7 @@ def update_certificate(self, companyId, id_, model):
"""
def upload_certificate_image(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1364,7 +1439,7 @@ def upload_certificate_image(self, companyId, id_):
"""
def certify_integration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certify'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1391,7 +1466,7 @@ def certify_integration(self, id_):
"""
def change_filing_status(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1418,7 +1493,7 @@ def change_filing_status(self, id_, model):
"""
def company_initialize(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/initialize'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1439,7 +1514,7 @@ def company_initialize(self, model):
"""
def create_companies(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1463,7 +1538,7 @@ def create_companies(self, model):
"""
def create_company_parameters(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1494,7 +1569,7 @@ def create_company_parameters(self, companyId, model):
"""
def create_funding_request(self, id_, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/funding/setup'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1512,7 +1587,7 @@ def create_funding_request(self, id_, model, include=None):
"""
def delete_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1534,7 +1609,7 @@ def delete_company(self, id_):
"""
def delete_company_parameter(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1556,7 +1631,7 @@ def delete_company_parameter(self, companyId, id_):
"""
def funding_configuration_by_company(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/funding/configuration'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1579,7 +1654,7 @@ def funding_configuration_by_company(self, companyId):
"""
def funding_configurations_by_company_and_currency(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/funding/configurations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1609,7 +1684,7 @@ def funding_configurations_by_company_and_currency(self, companyId, include=None
"""
def get_company(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1635,7 +1710,7 @@ def get_company(self, id_, include=None):
"""
def get_company_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1657,7 +1732,7 @@ def get_company_configuration(self, id_):
"""
def get_company_parameter_detail(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1685,7 +1760,7 @@ def get_company_parameter_detail(self, companyId, id_):
"""
def get_filing_status(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1709,7 +1784,7 @@ def get_filing_status(self, id_):
"""
def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/paymentdetails/{}/{}'.format(self.base_url, id_, periodyear, periodmonth),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1736,7 +1811,7 @@ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
"""
def list_company_parameter_details(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1758,7 +1833,7 @@ def list_company_parameter_details(self, companyId, include=None):
"""
def list_funding_requests_by_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/funding'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1776,7 +1851,7 @@ def list_funding_requests_by_company(self, id_):
"""
def list_mrs_companies(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/mrs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1811,7 +1886,7 @@ def list_mrs_companies(self):
"""
def query_companies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1838,7 +1913,7 @@ def query_companies(self, include=None):
"""
def set_company_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1863,7 +1938,7 @@ def set_company_configuration(self, id_, model):
"""
def update_company(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1886,7 +1961,7 @@ def update_company(self, id_, model):
"""
def update_company_parameter_detail(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1907,7 +1982,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def create_contacts(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1926,7 +2001,7 @@ def create_contacts(self, companyId, model):
"""
def delete_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1947,7 +2022,7 @@ def delete_contact(self, companyId, id_):
"""
def get_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1971,7 +2046,7 @@ def get_contact(self, companyId, id_):
"""
def list_contacts_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1996,7 +2071,7 @@ def list_contacts_by_company(self, companyId, include=None):
"""
def query_contacts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/contacts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2020,13 +2095,141 @@ def query_contacts(self, include=None):
"""
def update_contact(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
r"""
Swagger Name: AvaTaxClient
+ Bulk upload cost centers
+
+ Allows bulk upload of cost centers for the specified company. Use the companyId path parameter to identify the company for which the cost centers should be uploaded.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param model [CostCenterBulkUploadInputModel] The cost center bulk upload model.
+ :return CostCenterBulkUploadOutputModel
+ """
+ def bulk_upload_cost_centers(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.post('{}/api/v2/companies/{}/costcenters/$upload'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Create new cost center
+
+ Creates one or more new item objects attached to this company.
+ Costcenter is defined as function or department within a company which is not directly going to generate revenues and profits to the company but is still incurring expenses to the company for its operations.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param model [CostCenterRequestModel] The cost center you wish to create.
+ :return CostCenterSuccessResponseModel
+ """
+ def create_cost_center(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.post('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Delete cost center for the given id
+
+ Deletes a cost center with the specified costcenterId that belongs to the company.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param costcenterid [int] The primary key of this cost center
+ :return TaxProfileErrorResponseModel
+ """
+ def delete_cost_center(self, companyid, costcenterid):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.delete('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid),
+ auth=self.auth, headers=self.client_header, params=None,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve a single cost center
+
+ Retrieves details of a single cost center identified by costcenterId, which is owned by the company.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param costcenterid [int] The primary key of this cost center
+ :return CostCenterSuccessResponseModel
+ """
+ def get_cost_center_by_id(self, companyid, costcenterid):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid),
+ auth=self.auth, headers=self.client_header, params=None,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve cost centers for this company
+
+ Retrieves a list of cost centers attached to this company. You can apply filters to retrieve specific records.
+
+ :param companyid [int] The ID of the company that defined these cost centers
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* companyId, meta, defaultItem
+ :param include [string] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def list_cost_centers_by_company(self, companyid, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve all cost centers
+
+ Retrieves all cost centers available. You can apply filters to retrieve specific records.
+
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* companyId, meta, defaultItem
+ :param include [string] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def query_cost_centers(self, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/costcenters'.format(self.base_url),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Update a single cost center
+
+ Updates a single cost center owned by the company. Use the costcenterId path parameter to identify the cost center to update.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param costcenterid [int] The primary key of this cost center
+ :param model [CostCenterRequestModel] The cost center object you wish to update.
+ :return CostCenterSuccessResponseModel
+ """
+ def update_cost_center(self, companyid, costcenterid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.put('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
Create customers for this company
Create one or more customers for this company.
@@ -2051,7 +2254,7 @@ def update_contact(self, companyId, id_, model):
"""
def create_customers(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2080,7 +2283,7 @@ def create_customers(self, companyId, model):
"""
def delete_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2114,7 +2317,7 @@ def delete_customer(self, companyId, customerCode):
"""
def get_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2146,7 +2349,7 @@ def get_customer(self, companyId, customerCode, include=None):
"""
def link_attributes_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2176,7 +2379,7 @@ def link_attributes_to_customer(self, companyId, customerCode, model):
"""
def link_certificates_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2206,7 +2409,7 @@ def link_certificates_to_customer(self, companyId, customerCode, model):
"""
def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/billto/{}/shipto/link'.format(self.base_url, companyId, code),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2237,7 +2440,7 @@ def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
"""
def list_attributes_for_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/attributes'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2271,7 +2474,7 @@ def list_attributes_for_customer(self, companyId, customerCode):
"""
def list_certificates_for_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2304,7 +2507,7 @@ def list_certificates_for_customer(self, companyId, customerCode, include=None):
"""
def list_valid_certificates_for_customer(self, companyId, customerCode, country, region):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates/{}/{}'.format(self.base_url, companyId, customerCode, country, region),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2340,7 +2543,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country,
"""
def query_customers(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2372,7 +2575,7 @@ def query_customers(self, companyId, include=None):
"""
def unlink_attributes_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2402,7 +2605,7 @@ def unlink_attributes_from_customer(self, companyId, customerCode, model):
"""
def unlink_certificates_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2432,7 +2635,7 @@ def unlink_certificates_from_customer(self, companyId, customerCode, model):
"""
def update_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2452,7 +2655,7 @@ def update_customer(self, companyId, customerCode, model):
"""
def create_data_sources(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2472,7 +2675,7 @@ def create_data_sources(self, companyId, model):
"""
def delete_data_source(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2492,7 +2695,7 @@ def delete_data_source(self, companyId, id_):
"""
def get_data_source_by_id(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2515,7 +2718,7 @@ def get_data_source_by_id(self, companyId, id_):
"""
def list_data_sources(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2539,7 +2742,7 @@ def list_data_sources(self, companyId, include=None):
"""
def query_data_sources(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/datasources'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2560,7 +2763,7 @@ def query_data_sources(self, include=None):
"""
def update_data_source(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2585,7 +2788,7 @@ def update_data_source(self, companyId, id_, model):
"""
def get_cross_border_code(self, country, hsCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}/hierarchy'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2606,7 +2809,7 @@ def get_cross_border_code(self, country, hsCode):
"""
def get_login_verifier_by_form(self, form, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers/{}'.format(self.base_url, form),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2625,7 +2828,7 @@ def get_login_verifier_by_form(self, form, include=None):
"""
def list_all_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/listallmarketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2647,7 +2850,7 @@ def list_all_marketplace_locations(self, include=None):
"""
def list_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2671,7 +2874,7 @@ def list_ava_file_forms(self, include=None):
"""
def list_certificate_attributes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/certificateattributes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2694,7 +2897,7 @@ def list_certificate_attributes(self, include=None):
"""
def list_certificate_exempt_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/certificateexemptreasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2717,7 +2920,7 @@ def list_certificate_exempt_reasons(self, include=None):
"""
def list_certificate_exposure_zones(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/certificateexposurezones'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2738,7 +2941,7 @@ def list_certificate_exposure_zones(self, include=None):
"""
def list_classification_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/classification/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2758,7 +2961,7 @@ def list_classification_parameters_usage(self, include=None):
"""
def list_communications_service_types(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/communications/transactiontypes/{}/servicetypes'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2778,7 +2981,7 @@ def list_communications_service_types(self, id_, include=None):
"""
def list_communications_transaction_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/communications/transactiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2798,7 +3001,7 @@ def list_communications_transaction_types(self, include=None):
"""
def list_communications_t_s_pairs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/communications/tspairs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2819,7 +3022,7 @@ def list_communications_t_s_pairs(self, include=None):
"""
def list_countries(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2843,7 +3046,7 @@ def list_countries(self, include=None):
"""
def list_cover_letters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/coverletters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2871,7 +3074,7 @@ def list_cover_letters(self, include=None):
"""
def list_cross_border_codes(self, country, hsCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2892,7 +3095,7 @@ def list_cross_border_codes(self, country, hsCode, include=None):
"""
def list_cross_border_sections(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/crossborder/sections'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2913,7 +3116,7 @@ def list_cross_border_sections(self):
"""
def list_currencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/currencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2936,7 +3139,7 @@ def list_currencies(self, include=None):
"""
def list_entity_use_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/entityusecodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2956,7 +3159,7 @@ def list_entity_use_codes(self, include=None):
"""
def list_filing_frequencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/filingfrequencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2978,7 +3181,7 @@ def list_filing_frequencies(self, include=None):
"""
def list_jurisdictions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3008,7 +3211,7 @@ def list_jurisdictions(self, include=None):
"""
def list_jurisdictions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictionsnearaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3036,7 +3239,7 @@ def list_jurisdictions_by_address(self, include=None):
"""
def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictions/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3055,7 +3258,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t
"""
def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictionTypes/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3088,7 +3291,7 @@ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxType
"""
def list_location_questions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/locationquestions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3109,7 +3312,7 @@ def list_location_questions_by_address(self, include=None):
"""
def list_login_verifiers(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3128,7 +3331,7 @@ def list_login_verifiers(self, include=None):
"""
def list_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/marketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3148,7 +3351,7 @@ def list_marketplace_locations(self, include=None):
"""
def list_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3178,7 +3381,7 @@ def list_nexus(self, include=None):
"""
def list_nexus_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3199,7 +3402,7 @@ def list_nexus_by_address(self, include=None):
"""
def list_nexus_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3221,7 +3424,7 @@ def list_nexus_by_country(self, country, include=None):
"""
def list_nexus_by_country_and_region(self, country, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/{}/{}'.format(self.base_url, country, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3246,7 +3449,7 @@ def list_nexus_by_country_and_region(self, country, region, include=None):
"""
def list_nexus_by_form_code(self, formCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/byform/{}'.format(self.base_url, formCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3267,7 +3470,7 @@ def list_nexus_by_form_code(self, formCode):
"""
def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/bytaxtypegroup/{}'.format(self.base_url, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3287,7 +3490,7 @@ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
"""
def list_nexus_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexustaxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3307,7 +3510,7 @@ def list_nexus_tax_type_groups(self, include=None):
"""
def list_notice_customer_funding_options(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticecustomerfundingoptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3327,7 +3530,7 @@ def list_notice_customer_funding_options(self, include=None):
"""
def list_notice_customer_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticecustomertypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3347,7 +3550,7 @@ def list_notice_customer_types(self, include=None):
"""
def list_notice_filingtypes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticefilingtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3367,7 +3570,7 @@ def list_notice_filingtypes(self, include=None):
"""
def list_notice_priorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticepriorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3387,7 +3590,7 @@ def list_notice_priorities(self, include=None):
"""
def list_notice_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticereasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3407,7 +3610,7 @@ def list_notice_reasons(self, include=None):
"""
def list_notice_responsibilities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticeresponsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3427,7 +3630,7 @@ def list_notice_responsibilities(self, include=None):
"""
def list_notice_root_causes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticerootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3447,7 +3650,7 @@ def list_notice_root_causes(self, include=None):
"""
def list_notice_statuses(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticestatuses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3467,7 +3670,7 @@ def list_notice_statuses(self, include=None):
"""
def list_notice_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3488,7 +3691,7 @@ def list_notice_types(self, include=None):
"""
def list_parameters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/parameters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3508,7 +3711,7 @@ def list_parameters(self, include=None):
"""
def list_parameters_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/accounts/{}/parameters'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3542,7 +3745,7 @@ def list_parameters_by_account(self, accountId, include=None):
"""
def list_parameters_by_item(self, companyCode, itemCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/parameters/byitem/{}/{}'.format(self.base_url, companyCode, itemCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3563,7 +3766,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None):
"""
def list_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3581,7 +3784,7 @@ def list_parameters_usage(self, include=None):
"""
def list_permissions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/permissions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3601,7 +3804,7 @@ def list_permissions(self, include=None):
"""
def list_postal_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/postalcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3626,7 +3829,7 @@ def list_postal_codes(self, include=None):
"""
def list_preferred_programs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/preferredprograms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3648,7 +3851,7 @@ def list_preferred_programs(self, include=None):
"""
def list_product_classification_systems(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/productclassificationsystems'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3677,7 +3880,7 @@ def list_product_classification_systems(self, include=None):
"""
def list_product_classification_systems_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/productclassificationsystems/bycompany/{}'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3690,7 +3893,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No
This API is intended to be useful to identify all the different rate types.
:param country [string] The country to examine for rate types
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* country
:param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
:param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
:param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -3698,7 +3901,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No
"""
def list_rate_types_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries/{}/ratetypes'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3721,7 +3924,7 @@ def list_rate_types_by_country(self, country, include=None):
"""
def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries/{}/taxtypes/{}/taxsubtypes/{}/ratetypes'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3742,7 +3945,7 @@ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, t
"""
def list_regions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/regions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3764,7 +3967,7 @@ def list_regions(self, include=None):
"""
def list_regions_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries/{}/regions'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3790,7 +3993,7 @@ def list_regions_by_country(self, country, include=None):
"""
def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/companies/{}/countries/{}/regions/taxtypes/{}/taxsubtypes/{}/rateTypeId/{}/jurisdictionTypeId/{}'.format(self.base_url, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3810,7 +4013,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co
"""
def list_resource_file_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/resourcefiletypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3831,7 +4034,7 @@ def list_resource_file_types(self, include=None):
"""
def list_returns_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/returns/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3852,7 +4055,7 @@ def list_returns_parameters_usage(self, include=None):
"""
def list_security_roles(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/securityroles'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3874,7 +4077,7 @@ def list_security_roles(self, include=None):
"""
def list_subscription_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/subscriptiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3893,7 +4096,7 @@ def list_subscription_types(self, include=None):
"""
def list_tags(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/tags'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3913,7 +4116,7 @@ def list_tags(self, include=None):
"""
def list_tax_authorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxauthorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3935,7 +4138,7 @@ def list_tax_authorities(self, include=None):
"""
def list_tax_authority_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxauthorityforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3955,7 +4158,7 @@ def list_tax_authority_forms(self, include=None):
"""
def list_tax_authority_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxauthoritytypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3980,7 +4183,7 @@ def list_tax_authority_types(self, include=None):
"""
def list_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3999,7 +4202,7 @@ def list_tax_codes(self, include=None):
"""
def list_tax_code_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxcodetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4019,7 +4222,7 @@ def list_tax_code_types(self, include=None):
"""
def list_tax_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4039,7 +4242,7 @@ def list_tax_forms(self, include=None):
"""
def list_tax_sub_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxsubtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4062,7 +4265,7 @@ def list_tax_sub_types(self, include=None):
"""
def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxsubtypes/countries/{}/taxtypes/{}'.format(self.base_url, country, taxTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4084,7 +4287,7 @@ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include
"""
def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxsubtypes/{}/{}'.format(self.base_url, jurisdictionCode, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4104,7 +4307,7 @@ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region
"""
def list_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4124,7 +4327,7 @@ def list_tax_type_groups(self, include=None):
"""
def list_tax_types_by_nexus_and_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxtypes/countries/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4146,7 +4349,7 @@ def list_tax_types_by_nexus_and_country(self, country, include=None):
"""
def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/unitofbasis/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4166,7 +4369,7 @@ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(se
"""
def list_unit_of_measurement(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/unitofmeasurements'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4188,7 +4391,7 @@ def list_unit_of_measurement(self, include=None):
"""
def create_distance_threshold(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4210,7 +4413,7 @@ def create_distance_threshold(self, companyId, model):
"""
def delete_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4232,7 +4435,7 @@ def delete_distance_threshold(self, companyId, id_):
"""
def get_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4258,7 +4461,7 @@ def get_distance_threshold(self, companyId, id_):
"""
def list_distance_thresholds(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4285,7 +4488,7 @@ def list_distance_thresholds(self, companyId, include=None):
"""
def query_distance_thresholds(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/distancethresholds'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4310,7 +4513,7 @@ def query_distance_thresholds(self, include=None):
"""
def update_distance_threshold(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4330,7 +4533,7 @@ def update_distance_threshold(self, companyId, id_, model):
"""
def create_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4350,7 +4553,7 @@ def create_e_commerce_token(self, companyId, model):
"""
def refresh_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4368,7 +4571,7 @@ def refresh_e_commerce_token(self, companyId, model):
"""
def approve_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/approve'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4392,7 +4595,7 @@ def approve_firm_client_linkage(self, id_):
"""
def create_and_link_new_firm_client_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/createandlinkclient'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4410,7 +4613,7 @@ def create_and_link_new_firm_client_account(self, model):
"""
def create_firm_client_linkage(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4428,7 +4631,7 @@ def create_firm_client_linkage(self, model):
"""
def delete_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4446,7 +4649,7 @@ def delete_firm_client_linkage(self, id_):
"""
def get_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4464,7 +4667,7 @@ def get_firm_client_linkage(self, id_):
"""
def list_firm_client_linkage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4482,7 +4685,7 @@ def list_firm_client_linkage(self, include=None):
"""
def reject_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/reject'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4500,7 +4703,7 @@ def reject_firm_client_linkage(self, id_):
"""
def reset_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/reset'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4518,7 +4721,7 @@ def reset_firm_client_linkage(self, id_):
"""
def revoke_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/revoke'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4542,7 +4745,7 @@ def revoke_firm_client_linkage(self, id_):
"""
def request_free_trial(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/freetrials/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4574,7 +4777,7 @@ def request_free_trial(self, model):
"""
def activate_funding_request(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/fundingrequests/{}/widget'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4604,7 +4807,7 @@ def activate_funding_request(self, id_, include=None):
"""
def funding_request_status(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/fundingrequests/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4625,7 +4828,7 @@ def funding_request_status(self, id_, include=None):
"""
def batch_delete_item_classifications(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4647,7 +4850,7 @@ def batch_delete_item_classifications(self, companyId, itemId):
"""
def batch_delete_item_parameters(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4672,7 +4875,7 @@ def batch_delete_item_parameters(self, companyId, itemId):
"""
def bulk_upload_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/upload'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4695,7 +4898,7 @@ def bulk_upload_items(self, companyId, model):
"""
def create_item_classifications(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4720,7 +4923,7 @@ def create_item_classifications(self, companyId, itemId, model):
"""
def create_item_parameters(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4745,7 +4948,7 @@ def create_item_parameters(self, companyId, itemId, model):
"""
def create_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4766,7 +4969,7 @@ def create_items(self, companyId, model):
"""
def create_item_tags(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4788,7 +4991,7 @@ def create_item_tags(self, companyId, itemId, model):
"""
def create_tax_code_classification_request(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4818,7 +5021,7 @@ def create_tax_code_classification_request(self, companyId, model):
"""
def delete_catalogue_item(self, companyId, itemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/itemcatalogue/{}'.format(self.base_url, companyId, itemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4843,7 +5046,7 @@ def delete_catalogue_item(self, companyId, itemCode):
"""
def delete_item(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4865,7 +5068,7 @@ def delete_item(self, companyId, id_):
"""
def delete_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4888,7 +5091,7 @@ def delete_item_classification(self, companyId, itemId, id_):
"""
def delete_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4909,7 +5112,7 @@ def delete_item_parameter(self, companyId, itemId, id_):
"""
def delete_item_tag(self, companyId, itemId, itemTagDetailId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags/{}'.format(self.base_url, companyId, itemId, itemTagDetailId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4929,7 +5132,7 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId):
"""
def delete_item_tags(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4956,7 +5159,7 @@ def delete_item_tags(self, companyId, itemId):
"""
def get_classification_status(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4981,7 +5184,7 @@ def get_classification_status(self, companyId, include=None):
"""
def get_item(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5003,7 +5206,7 @@ def get_item(self, companyId, id_, include=None):
"""
def get_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5026,7 +5229,7 @@ def get_item_classification(self, companyId, itemId, id_):
"""
def get_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5049,7 +5252,7 @@ def get_item_parameter(self, companyId, itemId, id_):
"""
def get_item_tags(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5077,7 +5280,7 @@ def get_item_tags(self, companyId, itemId, include=None):
"""
def get_premium_classification(self, companyId, itemCode, systemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/premiumClassification/{}'.format(self.base_url, companyId, itemCode, systemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5103,7 +5306,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
"""
def get_tax_code_recommendations(self, companyId, requestId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode/{}/recommendations'.format(self.base_url, companyId, requestId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5134,7 +5337,7 @@ def get_tax_code_recommendations(self, companyId, requestId, include=None):
"""
def list_import_restrictions(self, companyId, itemCode, countryOfImport, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/restrictions/import/{}'.format(self.base_url, companyId, itemCode, countryOfImport),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5161,7 +5364,7 @@ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include
"""
def list_item_classifications(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5189,7 +5392,7 @@ def list_item_classifications(self, companyId, itemId, include=None):
"""
def list_item_parameters(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5226,7 +5429,7 @@ def list_item_parameters(self, companyId, itemId, include=None):
"""
def list_items_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5255,7 +5458,7 @@ def list_items_by_company(self, companyId, include=None):
"""
def query_items(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/items'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5286,7 +5489,7 @@ def query_items(self, include=None):
"""
def query_items_by_tag(self, companyId, tag, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/bytags/{}'.format(self.base_url, companyId, tag),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5309,7 +5512,7 @@ def query_items_by_tag(self, companyId, tag, include=None):
"""
def sync_item_catalogue(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/itemcatalogue'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5336,7 +5539,7 @@ def sync_item_catalogue(self, companyId, model):
"""
def sync_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/sync'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5364,7 +5567,7 @@ def sync_items(self, companyId, model):
"""
def update_item(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5388,7 +5591,7 @@ def update_item(self, companyId, id_, model):
"""
def update_item_classification(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5412,7 +5615,7 @@ def update_item_classification(self, companyId, itemId, id_, model):
"""
def update_item_parameter(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5435,7 +5638,7 @@ def update_item_parameter(self, companyId, itemId, id_, model):
"""
def create_jurisdiction_overrides(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5454,7 +5657,7 @@ def create_jurisdiction_overrides(self, accountId, model):
"""
def delete_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5477,7 +5680,7 @@ def delete_jurisdiction_override(self, accountId, id_):
"""
def get_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5506,7 +5709,7 @@ def get_jurisdiction_override(self, accountId, id_):
"""
def list_jurisdiction_overrides_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5534,7 +5737,7 @@ def list_jurisdiction_overrides_by_account(self, accountId, include=None):
"""
def query_jurisdiction_overrides(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/jurisdictionoverrides'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5554,7 +5757,7 @@ def query_jurisdiction_overrides(self, include=None):
"""
def update_jurisdiction_override(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5579,7 +5782,7 @@ def update_jurisdiction_override(self, accountId, id_, model):
"""
def create_location_parameters(self, companyId, locationId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5598,7 +5801,7 @@ def create_location_parameters(self, companyId, locationId, model):
"""
def create_locations(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5617,7 +5820,7 @@ def create_locations(self, companyId, model):
"""
def delete_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5640,7 +5843,7 @@ def delete_location(self, companyId, id_):
"""
def delete_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5667,7 +5870,7 @@ def delete_location_parameter(self, companyId, locationId, id_):
"""
def get_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5690,7 +5893,7 @@ def get_location(self, companyId, id_, include=None):
"""
def get_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5718,7 +5921,7 @@ def get_location_parameter(self, companyId, locationId, id_):
"""
def list_location_parameters(self, companyId, locationId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5750,7 +5953,7 @@ def list_location_parameters(self, companyId, locationId, include=None):
"""
def list_locations_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5781,7 +5984,7 @@ def list_locations_by_company(self, companyId, include=None):
"""
def query_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/locations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5803,7 +6006,7 @@ def query_locations(self, include=None):
"""
def update_location(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5827,7 +6030,7 @@ def update_location(self, companyId, id_, model):
"""
def update_location_parameter(self, companyId, locationId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5848,7 +6051,7 @@ def update_location_parameter(self, companyId, locationId, id_, model):
"""
def validate_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/validate'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5882,7 +6085,7 @@ def validate_location(self, companyId, id_):
"""
def adjust_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/adjust'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5919,7 +6122,7 @@ def adjust_multi_document_transaction(self, code, type, model, include=None):
"""
def audit_multi_document_transaction(self, code, type):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}/audit'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5949,7 +6152,7 @@ def audit_multi_document_transaction(self, code, type):
"""
def commit_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/commit'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5999,7 +6202,7 @@ def commit_multi_document_transaction(self, model):
"""
def create_multi_document_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6035,7 +6238,7 @@ def create_multi_document_transaction(self, model, include=None):
"""
def get_multi_document_transaction_by_code_and_type(self, code, type, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6077,7 +6280,7 @@ def get_multi_document_transaction_by_code_and_type(self, code, type, include=No
"""
def get_multi_document_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6120,7 +6323,7 @@ def get_multi_document_transaction_by_id(self, id_, include=None):
"""
def list_multi_document_transactions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6175,7 +6378,7 @@ def list_multi_document_transactions(self, include=None):
"""
def refund_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/refund'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6204,7 +6407,7 @@ def refund_multi_document_transaction(self, code, type, model, include=None):
"""
def verify_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/verify'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6237,7 +6440,7 @@ def verify_multi_document_transaction(self, model):
"""
def void_multi_document_transaction(self, code, type, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/void'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6269,7 +6472,7 @@ def void_multi_document_transaction(self, code, type, model):
"""
def create_nexus(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6294,7 +6497,7 @@ def create_nexus(self, companyId, model):
"""
def create_nexus_parameters(self, companyId, nexusId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6323,7 +6526,7 @@ def create_nexus_parameters(self, companyId, nexusId, model):
"""
def declare_nexus_by_address(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/nexus/byaddress'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6348,7 +6551,7 @@ def declare_nexus_by_address(self, companyId, model):
"""
def delete_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6371,7 +6574,7 @@ def delete_nexus(self, companyId, id_, include=None):
"""
def delete_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6393,7 +6596,7 @@ def delete_nexus_parameter(self, companyId, nexusId, id_):
"""
def delete_nexus_parameters(self, companyId, nexusId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6418,7 +6621,7 @@ def delete_nexus_parameters(self, companyId, nexusId):
"""
def get_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6446,7 +6649,7 @@ def get_nexus(self, companyId, id_, include=None):
"""
def get_nexus_by_form_code(self, companyId, formCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/byform/{}'.format(self.base_url, companyId, formCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6469,7 +6672,7 @@ def get_nexus_by_form_code(self, companyId, formCode, include=None):
"""
def get_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6499,7 +6702,7 @@ def get_nexus_parameter(self, companyId, nexusId, id_):
"""
def list_nexus_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6530,7 +6733,7 @@ def list_nexus_by_company(self, companyId, include=None):
"""
def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/byTaxTypeGroup/{}'.format(self.base_url, companyId, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6558,7 +6761,7 @@ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, incl
"""
def list_nexus_parameters(self, companyId, nexusId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6587,7 +6790,7 @@ def list_nexus_parameters(self, companyId, nexusId, include=None):
"""
def query_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6620,7 +6823,7 @@ def query_nexus(self, include=None):
"""
def update_nexus(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6644,7 +6847,7 @@ def update_nexus(self, companyId, id_, model):
"""
def update_nexus_parameter(self, companyId, nexusId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6663,7 +6866,7 @@ def update_nexus_parameter(self, companyId, nexusId, id_, model):
"""
def create_notice_responsibility_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/notices/responsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6682,7 +6885,7 @@ def create_notice_responsibility_type(self, model):
"""
def create_notice_root_cause_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/notices/rootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6700,7 +6903,7 @@ def create_notice_root_cause_type(self, model):
"""
def delete_notice_responsibility_type(self, responsibilityId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/notices/responsibilities/{}'.format(self.base_url, responsibilityId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6718,7 +6921,7 @@ def delete_notice_responsibility_type(self, responsibilityId):
"""
def delete_notice_root_cause_type(self, rootCauseId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/notices/rootcauses/{}'.format(self.base_url, rootCauseId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6745,7 +6948,7 @@ def delete_notice_root_cause_type(self, rootCauseId):
"""
def dismiss_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/notifications/{}/dismiss'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6768,7 +6971,7 @@ def dismiss_notification(self, id_):
"""
def get_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6796,7 +6999,7 @@ def get_notification(self, id_):
"""
def list_notifications(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6826,7 +7029,7 @@ def list_notifications(self, include=None):
"""
def request_new_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6848,7 +7051,7 @@ def request_new_account(self, model):
"""
def request_new_entitlement(self, id_, offer):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/entitlements/{}'.format(self.base_url, id_, offer),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6869,7 +7072,7 @@ def request_new_entitlement(self, id_, offer):
"""
def create_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6896,7 +7099,7 @@ def create_account(self, model):
"""
def create_notifications(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6918,7 +7121,7 @@ def create_notifications(self, model):
"""
def create_subscriptions(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6939,7 +7142,7 @@ def create_subscriptions(self, accountId, model):
"""
def delete_account(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6964,7 +7167,7 @@ def delete_account(self, id_):
"""
def delete_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6985,7 +7188,7 @@ def delete_notification(self, id_):
"""
def delete_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7011,7 +7214,7 @@ def delete_subscription(self, accountId, id_):
"""
def list_service_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/servicetypes/servicetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7036,7 +7239,7 @@ def list_service_types(self, include=None):
"""
def reset_password(self, userId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/passwords/{}/reset'.format(self.base_url, userId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7057,7 +7260,7 @@ def reset_password(self, userId, model, include=None):
"""
def update_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7083,7 +7286,7 @@ def update_account(self, id_, model):
"""
def update_notification(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7109,7 +7312,7 @@ def update_notification(self, id_, model):
"""
def update_subscription(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7136,7 +7339,7 @@ def update_subscription(self, accountId, id_, model):
"""
def download_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/reports/{}/attachment'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7159,7 +7362,7 @@ def download_report(self, id_):
"""
def get_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/reports/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7191,7 +7394,7 @@ def get_report(self, id_):
"""
def initiate_export_document_line_report(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/reports/exportdocumentline/initiate'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7219,7 +7422,7 @@ def initiate_export_document_line_report(self, companyId, model):
"""
def list_reports(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/reports'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7248,7 +7451,7 @@ def list_reports(self, include=None):
"""
def create_settings(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7274,7 +7477,7 @@ def create_settings(self, companyId, model):
"""
def delete_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7300,7 +7503,7 @@ def delete_setting(self, companyId, id_):
"""
def get_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7332,7 +7535,7 @@ def get_setting(self, companyId, id_):
"""
def list_settings_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7363,7 +7566,7 @@ def list_settings_by_company(self, companyId, include=None):
"""
def query_settings(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/settings'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7392,7 +7595,7 @@ def query_settings(self, include=None):
"""
def update_setting(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7413,7 +7616,7 @@ def update_setting(self, companyId, id_, model):
"""
def get_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7439,7 +7642,7 @@ def get_subscription(self, accountId, id_):
"""
def list_subscriptions_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7464,7 +7667,7 @@ def list_subscriptions_by_account(self, accountId, include=None):
"""
def query_subscriptions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/subscriptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7487,7 +7690,7 @@ def query_subscriptions(self, include=None):
"""
def create_tax_codes(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7506,7 +7709,7 @@ def create_tax_codes(self, companyId, model):
"""
def delete_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7529,7 +7732,7 @@ def delete_tax_code(self, companyId, id_):
"""
def get_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7558,7 +7761,7 @@ def get_tax_code(self, companyId, id_):
"""
def list_tax_codes_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7586,7 +7789,7 @@ def list_tax_codes_by_company(self, companyId, include=None):
"""
def query_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7612,7 +7815,7 @@ def query_tax_codes(self, include=None):
"""
def update_tax_code(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7647,7 +7850,7 @@ def update_tax_code(self, companyId, id_, model):
"""
def build_tax_content_file(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/pointofsaledata/build'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7687,7 +7890,7 @@ def build_tax_content_file(self, model):
"""
def build_tax_content_file_for_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/pointofsaledata'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7738,7 +7941,7 @@ def build_tax_content_file_for_location(self, companyId, id_, include=None):
"""
def download_tax_rates_by_zip_code(self, date, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxratesbyzipcode/download/{}'.format(self.base_url, date),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7777,7 +7980,7 @@ def download_tax_rates_by_zip_code(self, date, include=None):
"""
def tax_rates_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxrates/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7812,7 +8015,7 @@ def tax_rates_by_address(self, include=None):
"""
def tax_rates_by_postal_code(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxrates/bypostalcode'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7835,7 +8038,7 @@ def tax_rates_by_postal_code(self, include=None):
"""
def create_country_coefficients(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/countryCoefficients'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7863,7 +8066,7 @@ def create_country_coefficients(self, model):
"""
def create_tax_rules(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7891,7 +8094,7 @@ def create_tax_rules(self, companyId, model):
"""
def delete_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7919,7 +8122,7 @@ def delete_tax_rule(self, companyId, id_):
"""
def get_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7942,7 +8145,7 @@ def get_tax_rule(self, companyId, id_):
"""
def list_country_coefficients(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/{}/CountryCoefficients'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7976,7 +8179,7 @@ def list_country_coefficients(self, country, include=None):
"""
def list_tax_rules(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8009,7 +8212,7 @@ def list_tax_rules(self, companyId, include=None):
"""
def query_tax_rules(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxrules'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8038,7 +8241,7 @@ def query_tax_rules(self, include=None):
"""
def update_tax_rule(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8074,7 +8277,7 @@ def update_tax_rule(self, companyId, id_, model):
"""
def add_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/transactions/lines/add'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8120,7 +8323,7 @@ def add_lines(self, model, include=None):
"""
def adjust_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/adjust'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8157,7 +8360,7 @@ def adjust_transaction(self, companyCode, transactionCode, model, include=None):
"""
def audit_transaction(self, companyCode, transactionCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/audit'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8195,7 +8398,7 @@ def audit_transaction(self, companyCode, transactionCode):
"""
def audit_transaction_with_type(self, companyCode, transactionCode, documentType):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}/audit'.format(self.base_url, companyCode, transactionCode, documentType),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8218,7 +8421,7 @@ def audit_transaction_with_type(self, companyCode, transactionCode, documentType
"""
def bulk_lock_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/lock'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8263,7 +8466,7 @@ def bulk_lock_transaction(self, model):
"""
def change_transaction_code(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/changecode'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8306,7 +8509,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N
"""
def commit_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/commit'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8352,7 +8555,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_or_adjust_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/createoradjust'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8403,7 +8606,7 @@ def create_or_adjust_transaction(self, model, include=None):
"""
def create_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/create'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8436,7 +8639,7 @@ def create_transaction(self, model, include=None):
"""
def delete_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/transactions/lines/delete'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8454,7 +8657,7 @@ def delete_lines(self, model, include=None):
"""
def get_all_variance_report_by_company_code(self, companyCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/AllVariance'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8496,7 +8699,7 @@ def get_all_variance_report_by_company_code(self, companyCode):
"""
def get_transaction_by_code(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8525,7 +8728,7 @@ def get_transaction_by_code(self, companyCode, transactionCode, include=None):
"""
def get_transaction_by_code_and_type(self, companyCode, transactionCode, documentType, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}'.format(self.base_url, companyCode, transactionCode, documentType),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8557,7 +8760,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen
"""
def get_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8576,7 +8779,7 @@ def get_transaction_by_id(self, id_, include=None):
"""
def get_variance_report_by_company_code_by_transaction_id(self, companyCode, transactionId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/variance'.format(self.base_url, companyCode, transactionId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8623,7 +8826,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra
"""
def list_transactions_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8668,7 +8871,7 @@ def list_transactions_by_company(self, companyCode, include=None):
"""
def lock_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/lock'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8723,7 +8926,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None):
"""
def refund_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/refund'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8766,7 +8969,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None):
"""
def settle_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/settle'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8806,7 +9009,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None):
"""
def uncommit_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/uncommit'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8844,7 +9047,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None):
"""
def unvoid_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/unvoid'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8863,7 +9066,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None):
"""
def variance_report(self, companyCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/variance'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8906,7 +9109,7 @@ def variance_report(self, companyCode, model):
"""
def verify_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/verify'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8950,7 +9153,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None):
"""
def void_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/void'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8971,7 +9174,7 @@ def void_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_u_p_cs(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8991,7 +9194,7 @@ def create_u_p_cs(self, companyId, model):
"""
def delete_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9012,7 +9215,7 @@ def delete_u_p_c(self, companyId, id_):
"""
def get_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9039,7 +9242,7 @@ def get_u_p_c(self, companyId, id_):
"""
def list_u_p_cs_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9065,7 +9268,7 @@ def list_u_p_cs_by_company(self, companyId, include=None):
"""
def query_u_p_cs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/upcs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9089,7 +9292,7 @@ def query_u_p_cs(self, include=None):
"""
def update_u_p_c(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9109,7 +9312,7 @@ def update_u_p_c(self, companyId, id_, model):
"""
def delete_user_defined_field(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/userdefinedfields/{}'.format(self.base_url, companyId, accountId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9129,7 +9332,7 @@ def delete_user_defined_field(self, companyId, id_):
"""
def list_user_defined_fields_by_company_id(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9150,7 +9353,7 @@ def list_user_defined_fields_by_company_id(self, companyId, include=None):
"""
def update_user_defined_field(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9172,7 +9375,7 @@ def update_user_defined_field(self, companyId, model, include=None):
"""
def change_password(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/passwords'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9196,7 +9399,7 @@ def change_password(self, model):
"""
def create_users(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9218,7 +9421,7 @@ def create_users(self, accountId, model):
"""
def delete_user(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9241,7 +9444,7 @@ def delete_user(self, id_, accountId):
"""
def get_user(self, id_, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9272,7 +9475,7 @@ def get_user(self, id_, accountId, include=None):
"""
def get_user_entitlements(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/users/{}/entitlements'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9302,7 +9505,7 @@ def get_user_entitlements(self, id_, accountId):
"""
def list_users_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9332,7 +9535,7 @@ def list_users_by_account(self, accountId, include=None):
"""
def query_users(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/users'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9355,7 +9558,7 @@ def query_users(self, include=None):
"""
def update_user(self, id_, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9376,7 +9579,7 @@ def update_user(self, id_, accountId, model):
"""
def get_my_subscription(self, serviceTypeId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/utilities/subscriptions/{}'.format(self.base_url, serviceTypeId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9396,7 +9599,7 @@ def get_my_subscription(self, serviceTypeId):
"""
def list_my_subscriptions(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/utilities/subscriptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9425,7 +9628,7 @@ def list_my_subscriptions(self):
"""
def ping(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/utilities/ping'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9630,5 +9833,63 @@ def verify_shipment(self, companyCode, transactionCode, include=None, x_avalara_
if x_avalara_version:
self.client_header['x-avalara-version']=x_avalara_version;
return requests.get('{}/api/v2/companies/{}/transactions/{}/shipment/verify'.format(self.base_url, companyCode, transactionCode),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxBeverageClient
+
+ Enqueues a batch of AvaTax transactions to be deregistered by ASV
+
+
+
+ :param companyCode [string] The company code of the company that recorded the transaction
+ :param batchCode [string] The batch code of generated by AvaTax batch transaction upload
+ :param api-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2
+ :param x-avalara-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2. Header takes precendence if both header and query parameters are present.
+ :return
+ """
+ def enqueue_batch_deregistration(self, companyCode, batchCode, include=None, x_avalara_version =""):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","")
+ if x_avalara_version:
+ self.client_header['x-avalara-version']=x_avalara_version;
+ return requests.put('{}/api/v2/asv/companies/{}/batches/{}/deregister'.format(self.base_url, companyCode, batchCode),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxBeverageClient
+
+ Enqueues a batch of AvaTax transactions to be registered by ASV
+
+
+
+ :param companyCode [string] The company code of the company that recorded the transaction
+ :param batchCode [string] The batch code generated by AvaTax for batch transaction upload process
+ :param api-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2
+ :param x-avalara-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2. Header takes precendence if both header and query parameters are present.
+ :return
+ """
+ def enqueue_batch_registration(self, companyCode, batchCode, include=None, x_avalara_version =""):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","")
+ if x_avalara_version:
+ self.client_header['x-avalara-version']=x_avalara_version;
+ return requests.put('{}/api/v2/asv/companies/{}/batches/{}/register'.format(self.base_url, companyCode, batchCode),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxBeverageClient
+
+ Gets records for current and previously processed batch registration jobs
+
+
+
+ :param accountId [string] (Optional): For users with access to multiple accounts, filters results to those associated with the specified Account ID. If not specified, the Account ID defaults to the one associated with the account
+ :return GetBatchesResult
+ """
+ def get_batch_registration_data(self, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","")
+ return requests.get('{}/api/v2/asv/batches'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
\ No newline at end of file
diff --git a/src/client_methods.py b/src/client_methods.py
index af726bb..67a6e41 100644
--- a/src/client_methods.py
+++ b/src/client_methods.py
@@ -30,7 +30,7 @@ class Mixin:
"""
def account_reset_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/resetlicensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -55,7 +55,7 @@ def account_reset_license_key(self, id_, model):
"""
def activate_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/activate'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -86,7 +86,7 @@ def activate_account(self, id_, model):
"""
def audit_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/audit'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -111,7 +111,7 @@ def audit_account(self, id_, include=None):
"""
def create_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/licensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -132,7 +132,7 @@ def create_license_key(self, id_, model):
"""
def delete_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -154,7 +154,7 @@ def delete_license_key(self, id_, licensekeyname):
"""
def get_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -180,7 +180,7 @@ def get_account(self, id_, include=None):
"""
def get_account_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -198,7 +198,7 @@ def get_account_configuration(self, id_):
"""
def get_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -216,7 +216,7 @@ def get_license_key(self, id_, licensekeyname):
"""
def get_license_keys(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/licensekeys'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -245,7 +245,7 @@ def get_license_keys(self, id_):
"""
def query_accounts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -272,7 +272,7 @@ def query_accounts(self, include=None):
"""
def set_account_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -307,7 +307,7 @@ def set_account_configuration(self, id_, model):
"""
def resolve_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -331,7 +331,7 @@ def resolve_address(self, include=None):
"""
def resolve_address_post(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -349,7 +349,7 @@ def resolve_address_post(self, model):
"""
def create_company_lookup_file(self, accountId, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -366,7 +366,7 @@ def create_company_lookup_file(self, accountId, companyId, model):
"""
def delete_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -383,7 +383,7 @@ def delete_lookup_file(self, accountId, id_):
"""
def get_company_lookup_files(self, accountId, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -400,7 +400,7 @@ def get_company_lookup_files(self, accountId, companyId):
"""
def get_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -418,13 +418,88 @@ def get_lookup_file(self, accountId, id_):
"""
def update_lookup_file(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
r"""
Swagger Name: AvaTaxClient
+ Create new rule
+
+
+
+ :param companyid [int] The ID of the company that owns this AP Config Setting object
+ :param model [APConfigSettingRequestModel] The AP Config Setting you wish to create.
+ :return APConfigSettingSuccessResponseModel
+ """
+ def create_a_p_config_setting(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.post('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve rule for this company
+
+
+
+ :param companyid [int] The ID of the company that defined this rule
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent
+ :param include [string] A comma separated list of additional data to retrieve.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def get_a_p_config_setting_by_company(self, companyid, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve all rules
+
+
+
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent
+ :param include [string] A comma separated list of additional data to retrieve.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def query_a_p_config_setting(self, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/apconfigsetting'.format(self.base_url),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Update a AP config setting
+
+
+
+ :param companyid [int] The ID of the company that owns this AP config setting object
+ :param model [APConfigSettingRequestModel] The AP config setting object you wish to update.
+ :return APConfigSettingSuccessResponseModel
+ """
+ def update_a_p_config_setting(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.put('{}/api/v2/companies/{}/apconfigsetting'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
Create a new AvaFileForm
Create one or more AvaFileForms
@@ -438,7 +513,7 @@ def update_lookup_file(self, accountId, id_, model):
"""
def create_ava_file_forms(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -457,7 +532,7 @@ def create_ava_file_forms(self, model):
"""
def delete_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -476,7 +551,7 @@ def delete_ava_file_form(self, id_):
"""
def get_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -499,7 +574,7 @@ def get_ava_file_form(self, id_):
"""
def query_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -520,7 +595,7 @@ def query_ava_file_forms(self, include=None):
"""
def update_ava_file_form(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -547,7 +622,7 @@ def update_ava_file_form(self, id_, model):
"""
def cancel_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/batches/{}/cancel'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -580,7 +655,7 @@ def cancel_batch(self, companyId, id_):
"""
def create_batches(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -612,7 +687,7 @@ def create_batches(self, companyId, model):
"""
def create_transaction_batch(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/batches/transactions'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -638,7 +713,7 @@ def create_transaction_batch(self, companyId, model):
"""
def delete_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -658,7 +733,7 @@ def delete_batch(self, companyId, id_):
"""
def download_batch(self, companyId, batchId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/batches/{}/files/{}/attachment'.format(self.base_url, companyId, batchId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -688,7 +763,7 @@ def download_batch(self, companyId, batchId, id_):
"""
def get_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -726,7 +801,7 @@ def get_batch(self, companyId, id_):
"""
def list_batches_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -761,7 +836,7 @@ def list_batches_by_company(self, companyId, include=None):
"""
def query_batches(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/batches'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -793,7 +868,7 @@ def query_batches(self, include=None):
"""
def create_cert_express_invitation(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/{}/certexpressinvites'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -826,7 +901,7 @@ def create_cert_express_invitation(self, companyId, customerCode, model):
"""
def get_cert_express_invitation(self, companyId, customerCode, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/certexpressinvites/{}'.format(self.base_url, companyId, customerCode, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -861,7 +936,7 @@ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None
"""
def list_cert_express_invitations(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certexpressinvites'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -897,7 +972,7 @@ def list_cert_express_invitations(self, companyId, include=None):
"""
def create_certificates(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -926,7 +1001,7 @@ def create_certificates(self, companyId, model, include=None):
"""
def delete_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -958,7 +1033,7 @@ def delete_certificate(self, companyId, id_):
"""
def download_certificate_image(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -991,7 +1066,7 @@ def download_certificate_image(self, companyId, id_, include=None):
"""
def get_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1015,7 +1090,7 @@ def get_certificate(self, companyId, id_, include=None):
"""
def get_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1046,7 +1121,7 @@ def get_certificate_setup(self, companyId):
"""
def link_attributes_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1078,7 +1153,7 @@ def link_attributes_to_certificate(self, companyId, id_, model):
"""
def link_customers_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1108,7 +1183,7 @@ def link_customers_to_certificate(self, companyId, id_, model):
"""
def list_attributes_for_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attributes'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1139,7 +1214,7 @@ def list_attributes_for_certificate(self, companyId, id_):
"""
def list_customers_for_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates/{}/customers'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1175,7 +1250,7 @@ def list_customers_for_certificate(self, companyId, id_, include=None):
"""
def query_certificates(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1200,7 +1275,7 @@ def query_certificates(self, companyId, include=None):
"""
def request_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1231,7 +1306,7 @@ def request_certificate_setup(self, companyId):
"""
def unlink_attributes_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1264,7 +1339,7 @@ def unlink_attributes_from_certificate(self, companyId, id_, model):
"""
def unlink_customers_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1293,7 +1368,7 @@ def unlink_customers_from_certificate(self, companyId, id_, model):
"""
def update_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1324,7 +1399,7 @@ def update_certificate(self, companyId, id_, model):
"""
def upload_certificate_image(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1363,7 +1438,7 @@ def upload_certificate_image(self, companyId, id_):
"""
def certify_integration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/certify'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1390,7 +1465,7 @@ def certify_integration(self, id_):
"""
def change_filing_status(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1417,7 +1492,7 @@ def change_filing_status(self, id_, model):
"""
def company_initialize(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/initialize'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1438,7 +1513,7 @@ def company_initialize(self, model):
"""
def create_companies(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1462,7 +1537,7 @@ def create_companies(self, model):
"""
def create_company_parameters(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1493,7 +1568,7 @@ def create_company_parameters(self, companyId, model):
"""
def create_funding_request(self, id_, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/funding/setup'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1511,7 +1586,7 @@ def create_funding_request(self, id_, model, include=None):
"""
def delete_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1533,7 +1608,7 @@ def delete_company(self, id_):
"""
def delete_company_parameter(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1555,7 +1630,7 @@ def delete_company_parameter(self, companyId, id_):
"""
def funding_configuration_by_company(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/funding/configuration'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1578,7 +1653,7 @@ def funding_configuration_by_company(self, companyId):
"""
def funding_configurations_by_company_and_currency(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/funding/configurations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1608,7 +1683,7 @@ def funding_configurations_by_company_and_currency(self, companyId, include=None
"""
def get_company(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1634,7 +1709,7 @@ def get_company(self, id_, include=None):
"""
def get_company_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1656,7 +1731,7 @@ def get_company_configuration(self, id_):
"""
def get_company_parameter_detail(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1684,7 +1759,7 @@ def get_company_parameter_detail(self, companyId, id_):
"""
def get_filing_status(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1708,7 +1783,7 @@ def get_filing_status(self, id_):
"""
def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/paymentdetails/{}/{}'.format(self.base_url, id_, periodyear, periodmonth),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1735,7 +1810,7 @@ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
"""
def list_company_parameter_details(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1757,7 +1832,7 @@ def list_company_parameter_details(self, companyId, include=None):
"""
def list_funding_requests_by_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/funding'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1775,7 +1850,7 @@ def list_funding_requests_by_company(self, id_):
"""
def list_mrs_companies(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/mrs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1810,7 +1885,7 @@ def list_mrs_companies(self):
"""
def query_companies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1837,7 +1912,7 @@ def query_companies(self, include=None):
"""
def set_company_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1862,7 +1937,7 @@ def set_company_configuration(self, id_, model):
"""
def update_company(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1885,7 +1960,7 @@ def update_company(self, id_, model):
"""
def update_company_parameter_detail(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1906,7 +1981,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def create_contacts(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1925,7 +2000,7 @@ def create_contacts(self, companyId, model):
"""
def delete_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1946,7 +2021,7 @@ def delete_contact(self, companyId, id_):
"""
def get_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1970,7 +2045,7 @@ def get_contact(self, companyId, id_):
"""
def list_contacts_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1995,7 +2070,7 @@ def list_contacts_by_company(self, companyId, include=None):
"""
def query_contacts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/contacts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2019,13 +2094,141 @@ def query_contacts(self, include=None):
"""
def update_contact(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
r"""
Swagger Name: AvaTaxClient
+ Bulk upload cost centers
+
+ Allows bulk upload of cost centers for the specified company. Use the companyId path parameter to identify the company for which the cost centers should be uploaded.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param model [CostCenterBulkUploadInputModel] The cost center bulk upload model.
+ :return CostCenterBulkUploadOutputModel
+ """
+ def bulk_upload_cost_centers(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.post('{}/api/v2/companies/{}/costcenters/$upload'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Create new cost center
+
+ Creates one or more new item objects attached to this company.
+ Costcenter is defined as function or department within a company which is not directly going to generate revenues and profits to the company but is still incurring expenses to the company for its operations.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param model [CostCenterRequestModel] The cost center you wish to create.
+ :return CostCenterSuccessResponseModel
+ """
+ def create_cost_center(self, companyid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.post('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Delete cost center for the given id
+
+ Deletes a cost center with the specified costcenterId that belongs to the company.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param costcenterid [int] The primary key of this cost center
+ :return TaxProfileErrorResponseModel
+ """
+ def delete_cost_center(self, companyid, costcenterid):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.delete('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid),
+ auth=self.auth, headers=self.client_header, params=None,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve a single cost center
+
+ Retrieves details of a single cost center identified by costcenterId, which is owned by the company.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param costcenterid [int] The primary key of this cost center
+ :return CostCenterSuccessResponseModel
+ """
+ def get_cost_center_by_id(self, companyid, costcenterid):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid),
+ auth=self.auth, headers=self.client_header, params=None,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve cost centers for this company
+
+ Retrieves a list of cost centers attached to this company. You can apply filters to retrieve specific records.
+
+ :param companyid [int] The ID of the company that defined these cost centers
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* companyId, meta, defaultItem
+ :param include [string] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def list_cost_centers_by_company(self, companyid, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/companies/{}/costcenters'.format(self.base_url, companyid),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Retrieve all cost centers
+
+ Retrieves all cost centers available. You can apply filters to retrieve specific records.
+
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* companyId, meta, defaultItem
+ :param include [string] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def query_cost_centers(self, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.get('{}/api/v2/costcenters'.format(self.base_url),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
+ Update a single cost center
+
+ Updates a single cost center owned by the company. Use the costcenterId path parameter to identify the cost center to update.
+
+ :param companyid [int] The ID of the company that owns this cost center object
+ :param costcenterid [int] The primary key of this cost center
+ :param model [CostCenterRequestModel] The cost center object you wish to update.
+ :return CostCenterSuccessResponseModel
+ """
+ def update_cost_center(self, companyid, costcenterid, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
+ return requests.put('{}/api/v2/companies/{}/costcenters/{}'.format(self.base_url, companyid, costcenterid),
+ auth=self.auth, headers=self.client_header, json=model,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxClient
+
Create customers for this company
Create one or more customers for this company.
@@ -2050,7 +2253,7 @@ def update_contact(self, companyId, id_, model):
"""
def create_customers(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2079,7 +2282,7 @@ def create_customers(self, companyId, model):
"""
def delete_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2113,7 +2316,7 @@ def delete_customer(self, companyId, customerCode):
"""
def get_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2145,7 +2348,7 @@ def get_customer(self, companyId, customerCode, include=None):
"""
def link_attributes_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2175,7 +2378,7 @@ def link_attributes_to_customer(self, companyId, customerCode, model):
"""
def link_certificates_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2205,7 +2408,7 @@ def link_certificates_to_customer(self, companyId, customerCode, model):
"""
def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/billto/{}/shipto/link'.format(self.base_url, companyId, code),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2236,7 +2439,7 @@ def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
"""
def list_attributes_for_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/attributes'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2270,7 +2473,7 @@ def list_attributes_for_customer(self, companyId, customerCode):
"""
def list_certificates_for_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2303,7 +2506,7 @@ def list_certificates_for_customer(self, companyId, customerCode, include=None):
"""
def list_valid_certificates_for_customer(self, companyId, customerCode, country, region):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates/{}/{}'.format(self.base_url, companyId, customerCode, country, region),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2339,7 +2542,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country,
"""
def query_customers(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2371,7 +2574,7 @@ def query_customers(self, companyId, include=None):
"""
def unlink_attributes_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2401,7 +2604,7 @@ def unlink_attributes_from_customer(self, companyId, customerCode, model):
"""
def unlink_certificates_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2431,7 +2634,7 @@ def unlink_certificates_from_customer(self, companyId, customerCode, model):
"""
def update_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2451,7 +2654,7 @@ def update_customer(self, companyId, customerCode, model):
"""
def create_data_sources(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2471,7 +2674,7 @@ def create_data_sources(self, companyId, model):
"""
def delete_data_source(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2491,7 +2694,7 @@ def delete_data_source(self, companyId, id_):
"""
def get_data_source_by_id(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2514,7 +2717,7 @@ def get_data_source_by_id(self, companyId, id_):
"""
def list_data_sources(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2538,7 +2741,7 @@ def list_data_sources(self, companyId, include=None):
"""
def query_data_sources(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/datasources'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2559,7 +2762,7 @@ def query_data_sources(self, include=None):
"""
def update_data_source(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2584,7 +2787,7 @@ def update_data_source(self, companyId, id_, model):
"""
def get_cross_border_code(self, country, hsCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}/hierarchy'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2605,7 +2808,7 @@ def get_cross_border_code(self, country, hsCode):
"""
def get_login_verifier_by_form(self, form, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers/{}'.format(self.base_url, form),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2624,7 +2827,7 @@ def get_login_verifier_by_form(self, form, include=None):
"""
def list_all_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/listallmarketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2646,7 +2849,7 @@ def list_all_marketplace_locations(self, include=None):
"""
def list_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2670,7 +2873,7 @@ def list_ava_file_forms(self, include=None):
"""
def list_certificate_attributes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/certificateattributes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2693,7 +2896,7 @@ def list_certificate_attributes(self, include=None):
"""
def list_certificate_exempt_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/certificateexemptreasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2716,7 +2919,7 @@ def list_certificate_exempt_reasons(self, include=None):
"""
def list_certificate_exposure_zones(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/certificateexposurezones'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2737,7 +2940,7 @@ def list_certificate_exposure_zones(self, include=None):
"""
def list_classification_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/classification/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2757,7 +2960,7 @@ def list_classification_parameters_usage(self, include=None):
"""
def list_communications_service_types(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/communications/transactiontypes/{}/servicetypes'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2777,7 +2980,7 @@ def list_communications_service_types(self, id_, include=None):
"""
def list_communications_transaction_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/communications/transactiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2797,7 +3000,7 @@ def list_communications_transaction_types(self, include=None):
"""
def list_communications_t_s_pairs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/communications/tspairs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2818,7 +3021,7 @@ def list_communications_t_s_pairs(self, include=None):
"""
def list_countries(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2842,7 +3045,7 @@ def list_countries(self, include=None):
"""
def list_cover_letters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/coverletters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2870,7 +3073,7 @@ def list_cover_letters(self, include=None):
"""
def list_cross_border_codes(self, country, hsCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2891,7 +3094,7 @@ def list_cross_border_codes(self, country, hsCode, include=None):
"""
def list_cross_border_sections(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/crossborder/sections'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2912,7 +3115,7 @@ def list_cross_border_sections(self):
"""
def list_currencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/currencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2935,7 +3138,7 @@ def list_currencies(self, include=None):
"""
def list_entity_use_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/entityusecodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2955,7 +3158,7 @@ def list_entity_use_codes(self, include=None):
"""
def list_filing_frequencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/filingfrequencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2977,7 +3180,7 @@ def list_filing_frequencies(self, include=None):
"""
def list_jurisdictions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3007,7 +3210,7 @@ def list_jurisdictions(self, include=None):
"""
def list_jurisdictions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictionsnearaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3035,7 +3238,7 @@ def list_jurisdictions_by_address(self, include=None):
"""
def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictions/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3054,7 +3257,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t
"""
def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/jurisdictionTypes/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3087,7 +3290,7 @@ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxType
"""
def list_location_questions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/locationquestions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3108,7 +3311,7 @@ def list_location_questions_by_address(self, include=None):
"""
def list_login_verifiers(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3127,7 +3330,7 @@ def list_login_verifiers(self, include=None):
"""
def list_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/marketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3147,7 +3350,7 @@ def list_marketplace_locations(self, include=None):
"""
def list_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3177,7 +3380,7 @@ def list_nexus(self, include=None):
"""
def list_nexus_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3198,7 +3401,7 @@ def list_nexus_by_address(self, include=None):
"""
def list_nexus_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3220,7 +3423,7 @@ def list_nexus_by_country(self, country, include=None):
"""
def list_nexus_by_country_and_region(self, country, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/{}/{}'.format(self.base_url, country, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3245,7 +3448,7 @@ def list_nexus_by_country_and_region(self, country, region, include=None):
"""
def list_nexus_by_form_code(self, formCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/byform/{}'.format(self.base_url, formCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3266,7 +3469,7 @@ def list_nexus_by_form_code(self, formCode):
"""
def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexus/bytaxtypegroup/{}'.format(self.base_url, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3286,7 +3489,7 @@ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
"""
def list_nexus_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/nexustaxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3306,7 +3509,7 @@ def list_nexus_tax_type_groups(self, include=None):
"""
def list_notice_customer_funding_options(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticecustomerfundingoptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3326,7 +3529,7 @@ def list_notice_customer_funding_options(self, include=None):
"""
def list_notice_customer_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticecustomertypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3346,7 +3549,7 @@ def list_notice_customer_types(self, include=None):
"""
def list_notice_filingtypes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticefilingtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3366,7 +3569,7 @@ def list_notice_filingtypes(self, include=None):
"""
def list_notice_priorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticepriorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3386,7 +3589,7 @@ def list_notice_priorities(self, include=None):
"""
def list_notice_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticereasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3406,7 +3609,7 @@ def list_notice_reasons(self, include=None):
"""
def list_notice_responsibilities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticeresponsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3426,7 +3629,7 @@ def list_notice_responsibilities(self, include=None):
"""
def list_notice_root_causes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticerootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3446,7 +3649,7 @@ def list_notice_root_causes(self, include=None):
"""
def list_notice_statuses(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticestatuses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3466,7 +3669,7 @@ def list_notice_statuses(self, include=None):
"""
def list_notice_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/noticetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3487,7 +3690,7 @@ def list_notice_types(self, include=None):
"""
def list_parameters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/parameters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3507,7 +3710,7 @@ def list_parameters(self, include=None):
"""
def list_parameters_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/accounts/{}/parameters'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3541,7 +3744,7 @@ def list_parameters_by_account(self, accountId, include=None):
"""
def list_parameters_by_item(self, companyCode, itemCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/parameters/byitem/{}/{}'.format(self.base_url, companyCode, itemCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3562,7 +3765,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None):
"""
def list_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3580,7 +3783,7 @@ def list_parameters_usage(self, include=None):
"""
def list_permissions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/permissions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3600,7 +3803,7 @@ def list_permissions(self, include=None):
"""
def list_postal_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/postalcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3625,7 +3828,7 @@ def list_postal_codes(self, include=None):
"""
def list_preferred_programs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/preferredprograms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3647,7 +3850,7 @@ def list_preferred_programs(self, include=None):
"""
def list_product_classification_systems(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/productclassificationsystems'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3676,7 +3879,7 @@ def list_product_classification_systems(self, include=None):
"""
def list_product_classification_systems_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/productclassificationsystems/bycompany/{}'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3689,7 +3892,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No
This API is intended to be useful to identify all the different rate types.
:param country [string] The country to examine for rate types
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* country
:param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
:param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
:param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -3697,7 +3900,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No
"""
def list_rate_types_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries/{}/ratetypes'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3720,7 +3923,7 @@ def list_rate_types_by_country(self, country, include=None):
"""
def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries/{}/taxtypes/{}/taxsubtypes/{}/ratetypes'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3741,7 +3944,7 @@ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, t
"""
def list_regions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/regions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3763,7 +3966,7 @@ def list_regions(self, include=None):
"""
def list_regions_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/countries/{}/regions'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3789,7 +3992,7 @@ def list_regions_by_country(self, country, include=None):
"""
def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/companies/{}/countries/{}/regions/taxtypes/{}/taxsubtypes/{}/rateTypeId/{}/jurisdictionTypeId/{}'.format(self.base_url, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3809,7 +4012,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co
"""
def list_resource_file_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/resourcefiletypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3830,7 +4033,7 @@ def list_resource_file_types(self, include=None):
"""
def list_returns_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/returns/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3851,7 +4054,7 @@ def list_returns_parameters_usage(self, include=None):
"""
def list_security_roles(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/securityroles'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3873,7 +4076,7 @@ def list_security_roles(self, include=None):
"""
def list_subscription_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/subscriptiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3892,7 +4095,7 @@ def list_subscription_types(self, include=None):
"""
def list_tags(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/tags'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3912,7 +4115,7 @@ def list_tags(self, include=None):
"""
def list_tax_authorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxauthorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3934,7 +4137,7 @@ def list_tax_authorities(self, include=None):
"""
def list_tax_authority_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxauthorityforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3954,7 +4157,7 @@ def list_tax_authority_forms(self, include=None):
"""
def list_tax_authority_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxauthoritytypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3979,7 +4182,7 @@ def list_tax_authority_types(self, include=None):
"""
def list_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3998,7 +4201,7 @@ def list_tax_codes(self, include=None):
"""
def list_tax_code_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxcodetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4018,7 +4221,7 @@ def list_tax_code_types(self, include=None):
"""
def list_tax_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4038,7 +4241,7 @@ def list_tax_forms(self, include=None):
"""
def list_tax_sub_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxsubtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4061,7 +4264,7 @@ def list_tax_sub_types(self, include=None):
"""
def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxsubtypes/countries/{}/taxtypes/{}'.format(self.base_url, country, taxTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4083,7 +4286,7 @@ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include
"""
def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxsubtypes/{}/{}'.format(self.base_url, jurisdictionCode, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4103,7 +4306,7 @@ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region
"""
def list_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4123,7 +4326,7 @@ def list_tax_type_groups(self, include=None):
"""
def list_tax_types_by_nexus_and_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/taxtypes/countries/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4145,7 +4348,7 @@ def list_tax_types_by_nexus_and_country(self, country, include=None):
"""
def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/unitofbasis/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4165,7 +4368,7 @@ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(se
"""
def list_unit_of_measurement(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/definitions/unitofmeasurements'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4187,7 +4390,7 @@ def list_unit_of_measurement(self, include=None):
"""
def create_distance_threshold(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4209,7 +4412,7 @@ def create_distance_threshold(self, companyId, model):
"""
def delete_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4231,7 +4434,7 @@ def delete_distance_threshold(self, companyId, id_):
"""
def get_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4257,7 +4460,7 @@ def get_distance_threshold(self, companyId, id_):
"""
def list_distance_thresholds(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4284,7 +4487,7 @@ def list_distance_thresholds(self, companyId, include=None):
"""
def query_distance_thresholds(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/distancethresholds'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4309,7 +4512,7 @@ def query_distance_thresholds(self, include=None):
"""
def update_distance_threshold(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4329,7 +4532,7 @@ def update_distance_threshold(self, companyId, id_, model):
"""
def create_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4349,7 +4552,7 @@ def create_e_commerce_token(self, companyId, model):
"""
def refresh_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4367,7 +4570,7 @@ def refresh_e_commerce_token(self, companyId, model):
"""
def approve_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/approve'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4391,7 +4594,7 @@ def approve_firm_client_linkage(self, id_):
"""
def create_and_link_new_firm_client_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/createandlinkclient'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4409,7 +4612,7 @@ def create_and_link_new_firm_client_account(self, model):
"""
def create_firm_client_linkage(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4427,7 +4630,7 @@ def create_firm_client_linkage(self, model):
"""
def delete_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4445,7 +4648,7 @@ def delete_firm_client_linkage(self, id_):
"""
def get_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4463,7 +4666,7 @@ def get_firm_client_linkage(self, id_):
"""
def list_firm_client_linkage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4481,7 +4684,7 @@ def list_firm_client_linkage(self, include=None):
"""
def reject_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/reject'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4499,7 +4702,7 @@ def reject_firm_client_linkage(self, id_):
"""
def reset_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/reset'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4517,7 +4720,7 @@ def reset_firm_client_linkage(self, id_):
"""
def revoke_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/firmclientlinkages/{}/revoke'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4541,7 +4744,7 @@ def revoke_firm_client_linkage(self, id_):
"""
def request_free_trial(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/freetrials/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4573,7 +4776,7 @@ def request_free_trial(self, model):
"""
def activate_funding_request(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/fundingrequests/{}/widget'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4603,7 +4806,7 @@ def activate_funding_request(self, id_, include=None):
"""
def funding_request_status(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/fundingrequests/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4624,7 +4827,7 @@ def funding_request_status(self, id_, include=None):
"""
def batch_delete_item_classifications(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4646,7 +4849,7 @@ def batch_delete_item_classifications(self, companyId, itemId):
"""
def batch_delete_item_parameters(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4671,7 +4874,7 @@ def batch_delete_item_parameters(self, companyId, itemId):
"""
def bulk_upload_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/upload'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4694,7 +4897,7 @@ def bulk_upload_items(self, companyId, model):
"""
def create_item_classifications(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4719,7 +4922,7 @@ def create_item_classifications(self, companyId, itemId, model):
"""
def create_item_parameters(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4744,7 +4947,7 @@ def create_item_parameters(self, companyId, itemId, model):
"""
def create_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4765,7 +4968,7 @@ def create_items(self, companyId, model):
"""
def create_item_tags(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4787,7 +4990,7 @@ def create_item_tags(self, companyId, itemId, model):
"""
def create_tax_code_classification_request(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4817,7 +5020,7 @@ def create_tax_code_classification_request(self, companyId, model):
"""
def delete_catalogue_item(self, companyId, itemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/itemcatalogue/{}'.format(self.base_url, companyId, itemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4842,7 +5045,7 @@ def delete_catalogue_item(self, companyId, itemCode):
"""
def delete_item(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4864,7 +5067,7 @@ def delete_item(self, companyId, id_):
"""
def delete_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4887,7 +5090,7 @@ def delete_item_classification(self, companyId, itemId, id_):
"""
def delete_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4908,7 +5111,7 @@ def delete_item_parameter(self, companyId, itemId, id_):
"""
def delete_item_tag(self, companyId, itemId, itemTagDetailId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags/{}'.format(self.base_url, companyId, itemId, itemTagDetailId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4928,7 +5131,7 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId):
"""
def delete_item_tags(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4955,7 +5158,7 @@ def delete_item_tags(self, companyId, itemId):
"""
def get_classification_status(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4980,7 +5183,7 @@ def get_classification_status(self, companyId, include=None):
"""
def get_item(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5002,7 +5205,7 @@ def get_item(self, companyId, id_, include=None):
"""
def get_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5025,7 +5228,7 @@ def get_item_classification(self, companyId, itemId, id_):
"""
def get_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5048,7 +5251,7 @@ def get_item_parameter(self, companyId, itemId, id_):
"""
def get_item_tags(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5076,7 +5279,7 @@ def get_item_tags(self, companyId, itemId, include=None):
"""
def get_premium_classification(self, companyId, itemCode, systemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/premiumClassification/{}'.format(self.base_url, companyId, itemCode, systemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5102,7 +5305,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
"""
def get_tax_code_recommendations(self, companyId, requestId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode/{}/recommendations'.format(self.base_url, companyId, requestId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5133,7 +5336,7 @@ def get_tax_code_recommendations(self, companyId, requestId, include=None):
"""
def list_import_restrictions(self, companyId, itemCode, countryOfImport, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/restrictions/import/{}'.format(self.base_url, companyId, itemCode, countryOfImport),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5160,7 +5363,7 @@ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include
"""
def list_item_classifications(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5188,7 +5391,7 @@ def list_item_classifications(self, companyId, itemId, include=None):
"""
def list_item_parameters(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5225,7 +5428,7 @@ def list_item_parameters(self, companyId, itemId, include=None):
"""
def list_items_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5254,7 +5457,7 @@ def list_items_by_company(self, companyId, include=None):
"""
def query_items(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/items'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5285,7 +5488,7 @@ def query_items(self, include=None):
"""
def query_items_by_tag(self, companyId, tag, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/items/bytags/{}'.format(self.base_url, companyId, tag),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5308,7 +5511,7 @@ def query_items_by_tag(self, companyId, tag, include=None):
"""
def sync_item_catalogue(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/itemcatalogue'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5335,7 +5538,7 @@ def sync_item_catalogue(self, companyId, model):
"""
def sync_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/items/sync'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5363,7 +5566,7 @@ def sync_items(self, companyId, model):
"""
def update_item(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5387,7 +5590,7 @@ def update_item(self, companyId, id_, model):
"""
def update_item_classification(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5411,7 +5614,7 @@ def update_item_classification(self, companyId, itemId, id_, model):
"""
def update_item_parameter(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5434,7 +5637,7 @@ def update_item_parameter(self, companyId, itemId, id_, model):
"""
def create_jurisdiction_overrides(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5453,7 +5656,7 @@ def create_jurisdiction_overrides(self, accountId, model):
"""
def delete_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5476,7 +5679,7 @@ def delete_jurisdiction_override(self, accountId, id_):
"""
def get_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5505,7 +5708,7 @@ def get_jurisdiction_override(self, accountId, id_):
"""
def list_jurisdiction_overrides_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5533,7 +5736,7 @@ def list_jurisdiction_overrides_by_account(self, accountId, include=None):
"""
def query_jurisdiction_overrides(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/jurisdictionoverrides'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5553,7 +5756,7 @@ def query_jurisdiction_overrides(self, include=None):
"""
def update_jurisdiction_override(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5578,7 +5781,7 @@ def update_jurisdiction_override(self, accountId, id_, model):
"""
def create_location_parameters(self, companyId, locationId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5597,7 +5800,7 @@ def create_location_parameters(self, companyId, locationId, model):
"""
def create_locations(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5616,7 +5819,7 @@ def create_locations(self, companyId, model):
"""
def delete_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5639,7 +5842,7 @@ def delete_location(self, companyId, id_):
"""
def delete_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5666,7 +5869,7 @@ def delete_location_parameter(self, companyId, locationId, id_):
"""
def get_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5689,7 +5892,7 @@ def get_location(self, companyId, id_, include=None):
"""
def get_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5717,7 +5920,7 @@ def get_location_parameter(self, companyId, locationId, id_):
"""
def list_location_parameters(self, companyId, locationId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5749,7 +5952,7 @@ def list_location_parameters(self, companyId, locationId, include=None):
"""
def list_locations_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5780,7 +5983,7 @@ def list_locations_by_company(self, companyId, include=None):
"""
def query_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/locations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5802,7 +6005,7 @@ def query_locations(self, include=None):
"""
def update_location(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5826,7 +6029,7 @@ def update_location(self, companyId, id_, model):
"""
def update_location_parameter(self, companyId, locationId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5847,7 +6050,7 @@ def update_location_parameter(self, companyId, locationId, id_, model):
"""
def validate_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/validate'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5881,7 +6084,7 @@ def validate_location(self, companyId, id_):
"""
def adjust_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/adjust'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5918,7 +6121,7 @@ def adjust_multi_document_transaction(self, code, type, model, include=None):
"""
def audit_multi_document_transaction(self, code, type):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}/audit'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5948,7 +6151,7 @@ def audit_multi_document_transaction(self, code, type):
"""
def commit_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/commit'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5998,7 +6201,7 @@ def commit_multi_document_transaction(self, model):
"""
def create_multi_document_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6034,7 +6237,7 @@ def create_multi_document_transaction(self, model, include=None):
"""
def get_multi_document_transaction_by_code_and_type(self, code, type, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6076,7 +6279,7 @@ def get_multi_document_transaction_by_code_and_type(self, code, type, include=No
"""
def get_multi_document_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6119,7 +6322,7 @@ def get_multi_document_transaction_by_id(self, id_, include=None):
"""
def list_multi_document_transactions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6174,7 +6377,7 @@ def list_multi_document_transactions(self, include=None):
"""
def refund_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/refund'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6203,7 +6406,7 @@ def refund_multi_document_transaction(self, code, type, model, include=None):
"""
def verify_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/verify'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6236,7 +6439,7 @@ def verify_multi_document_transaction(self, model):
"""
def void_multi_document_transaction(self, code, type, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/void'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6268,7 +6471,7 @@ def void_multi_document_transaction(self, code, type, model):
"""
def create_nexus(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6293,7 +6496,7 @@ def create_nexus(self, companyId, model):
"""
def create_nexus_parameters(self, companyId, nexusId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6322,7 +6525,7 @@ def create_nexus_parameters(self, companyId, nexusId, model):
"""
def declare_nexus_by_address(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/nexus/byaddress'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6347,7 +6550,7 @@ def declare_nexus_by_address(self, companyId, model):
"""
def delete_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6370,7 +6573,7 @@ def delete_nexus(self, companyId, id_, include=None):
"""
def delete_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6392,7 +6595,7 @@ def delete_nexus_parameter(self, companyId, nexusId, id_):
"""
def delete_nexus_parameters(self, companyId, nexusId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6417,7 +6620,7 @@ def delete_nexus_parameters(self, companyId, nexusId):
"""
def get_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6445,7 +6648,7 @@ def get_nexus(self, companyId, id_, include=None):
"""
def get_nexus_by_form_code(self, companyId, formCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/byform/{}'.format(self.base_url, companyId, formCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6468,7 +6671,7 @@ def get_nexus_by_form_code(self, companyId, formCode, include=None):
"""
def get_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6498,7 +6701,7 @@ def get_nexus_parameter(self, companyId, nexusId, id_):
"""
def list_nexus_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6529,7 +6732,7 @@ def list_nexus_by_company(self, companyId, include=None):
"""
def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/byTaxTypeGroup/{}'.format(self.base_url, companyId, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6557,7 +6760,7 @@ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, incl
"""
def list_nexus_parameters(self, companyId, nexusId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6586,7 +6789,7 @@ def list_nexus_parameters(self, companyId, nexusId, include=None):
"""
def query_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6619,7 +6822,7 @@ def query_nexus(self, include=None):
"""
def update_nexus(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6643,7 +6846,7 @@ def update_nexus(self, companyId, id_, model):
"""
def update_nexus_parameter(self, companyId, nexusId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6662,7 +6865,7 @@ def update_nexus_parameter(self, companyId, nexusId, id_, model):
"""
def create_notice_responsibility_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/notices/responsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6681,7 +6884,7 @@ def create_notice_responsibility_type(self, model):
"""
def create_notice_root_cause_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/notices/rootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6699,7 +6902,7 @@ def create_notice_root_cause_type(self, model):
"""
def delete_notice_responsibility_type(self, responsibilityId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/notices/responsibilities/{}'.format(self.base_url, responsibilityId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6717,7 +6920,7 @@ def delete_notice_responsibility_type(self, responsibilityId):
"""
def delete_notice_root_cause_type(self, rootCauseId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/notices/rootcauses/{}'.format(self.base_url, rootCauseId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6744,7 +6947,7 @@ def delete_notice_root_cause_type(self, rootCauseId):
"""
def dismiss_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/notifications/{}/dismiss'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6767,7 +6970,7 @@ def dismiss_notification(self, id_):
"""
def get_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6795,7 +6998,7 @@ def get_notification(self, id_):
"""
def list_notifications(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6825,7 +7028,7 @@ def list_notifications(self, include=None):
"""
def request_new_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6847,7 +7050,7 @@ def request_new_account(self, model):
"""
def request_new_entitlement(self, id_, offer):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/entitlements/{}'.format(self.base_url, id_, offer),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6868,7 +7071,7 @@ def request_new_entitlement(self, id_, offer):
"""
def create_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6895,7 +7098,7 @@ def create_account(self, model):
"""
def create_notifications(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6917,7 +7120,7 @@ def create_notifications(self, model):
"""
def create_subscriptions(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6938,7 +7141,7 @@ def create_subscriptions(self, accountId, model):
"""
def delete_account(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6963,7 +7166,7 @@ def delete_account(self, id_):
"""
def delete_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6984,7 +7187,7 @@ def delete_notification(self, id_):
"""
def delete_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7010,7 +7213,7 @@ def delete_subscription(self, accountId, id_):
"""
def list_service_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/servicetypes/servicetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7035,7 +7238,7 @@ def list_service_types(self, include=None):
"""
def reset_password(self, userId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/passwords/{}/reset'.format(self.base_url, userId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7056,7 +7259,7 @@ def reset_password(self, userId, model, include=None):
"""
def update_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7082,7 +7285,7 @@ def update_account(self, id_, model):
"""
def update_notification(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7108,7 +7311,7 @@ def update_notification(self, id_, model):
"""
def update_subscription(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7135,7 +7338,7 @@ def update_subscription(self, accountId, id_, model):
"""
def download_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/reports/{}/attachment'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7158,7 +7361,7 @@ def download_report(self, id_):
"""
def get_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/reports/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7190,7 +7393,7 @@ def get_report(self, id_):
"""
def initiate_export_document_line_report(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/reports/exportdocumentline/initiate'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7218,7 +7421,7 @@ def initiate_export_document_line_report(self, companyId, model):
"""
def list_reports(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/reports'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7247,7 +7450,7 @@ def list_reports(self, include=None):
"""
def create_settings(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7273,7 +7476,7 @@ def create_settings(self, companyId, model):
"""
def delete_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7299,7 +7502,7 @@ def delete_setting(self, companyId, id_):
"""
def get_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7331,7 +7534,7 @@ def get_setting(self, companyId, id_):
"""
def list_settings_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7362,7 +7565,7 @@ def list_settings_by_company(self, companyId, include=None):
"""
def query_settings(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/settings'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7391,7 +7594,7 @@ def query_settings(self, include=None):
"""
def update_setting(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7412,7 +7615,7 @@ def update_setting(self, companyId, id_, model):
"""
def get_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7438,7 +7641,7 @@ def get_subscription(self, accountId, id_):
"""
def list_subscriptions_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7463,7 +7666,7 @@ def list_subscriptions_by_account(self, accountId, include=None):
"""
def query_subscriptions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/subscriptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7486,7 +7689,7 @@ def query_subscriptions(self, include=None):
"""
def create_tax_codes(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7505,7 +7708,7 @@ def create_tax_codes(self, companyId, model):
"""
def delete_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7528,7 +7731,7 @@ def delete_tax_code(self, companyId, id_):
"""
def get_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7557,7 +7760,7 @@ def get_tax_code(self, companyId, id_):
"""
def list_tax_codes_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7585,7 +7788,7 @@ def list_tax_codes_by_company(self, companyId, include=None):
"""
def query_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7611,7 +7814,7 @@ def query_tax_codes(self, include=None):
"""
def update_tax_code(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7646,7 +7849,7 @@ def update_tax_code(self, companyId, id_, model):
"""
def build_tax_content_file(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/pointofsaledata/build'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7686,7 +7889,7 @@ def build_tax_content_file(self, model):
"""
def build_tax_content_file_for_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/locations/{}/pointofsaledata'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7737,7 +7940,7 @@ def build_tax_content_file_for_location(self, companyId, id_, include=None):
"""
def download_tax_rates_by_zip_code(self, date, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxratesbyzipcode/download/{}'.format(self.base_url, date),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7776,7 +7979,7 @@ def download_tax_rates_by_zip_code(self, date, include=None):
"""
def tax_rates_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxrates/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7811,7 +8014,7 @@ def tax_rates_by_address(self, include=None):
"""
def tax_rates_by_postal_code(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxrates/bypostalcode'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7834,7 +8037,7 @@ def tax_rates_by_postal_code(self, include=None):
"""
def create_country_coefficients(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/countryCoefficients'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7862,7 +8065,7 @@ def create_country_coefficients(self, model):
"""
def create_tax_rules(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7890,7 +8093,7 @@ def create_tax_rules(self, companyId, model):
"""
def delete_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7918,7 +8121,7 @@ def delete_tax_rule(self, companyId, id_):
"""
def get_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7941,7 +8144,7 @@ def get_tax_rule(self, companyId, id_):
"""
def list_country_coefficients(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/{}/CountryCoefficients'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7975,7 +8178,7 @@ def list_country_coefficients(self, country, include=None):
"""
def list_tax_rules(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/taxrules'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8008,7 +8211,7 @@ def list_tax_rules(self, companyId, include=None):
"""
def query_tax_rules(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/taxrules'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8037,7 +8240,7 @@ def query_tax_rules(self, include=None):
"""
def update_tax_rule(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/taxrules/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8073,7 +8276,7 @@ def update_tax_rule(self, companyId, id_, model):
"""
def add_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/transactions/lines/add'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8119,7 +8322,7 @@ def add_lines(self, model, include=None):
"""
def adjust_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/adjust'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8156,7 +8359,7 @@ def adjust_transaction(self, companyCode, transactionCode, model, include=None):
"""
def audit_transaction(self, companyCode, transactionCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/audit'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8194,7 +8397,7 @@ def audit_transaction(self, companyCode, transactionCode):
"""
def audit_transaction_with_type(self, companyCode, transactionCode, documentType):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}/audit'.format(self.base_url, companyCode, transactionCode, documentType),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8217,7 +8420,7 @@ def audit_transaction_with_type(self, companyCode, transactionCode, documentType
"""
def bulk_lock_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/lock'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8262,7 +8465,7 @@ def bulk_lock_transaction(self, model):
"""
def change_transaction_code(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/changecode'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8305,7 +8508,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N
"""
def commit_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/commit'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8351,7 +8554,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_or_adjust_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/createoradjust'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8402,7 +8605,7 @@ def create_or_adjust_transaction(self, model, include=None):
"""
def create_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/transactions/create'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8435,7 +8638,7 @@ def create_transaction(self, model, include=None):
"""
def delete_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/transactions/lines/delete'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8453,7 +8656,7 @@ def delete_lines(self, model, include=None):
"""
def get_all_variance_report_by_company_code(self, companyCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/AllVariance'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8495,7 +8698,7 @@ def get_all_variance_report_by_company_code(self, companyCode):
"""
def get_transaction_by_code(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8524,7 +8727,7 @@ def get_transaction_by_code(self, companyCode, transactionCode, include=None):
"""
def get_transaction_by_code_and_type(self, companyCode, transactionCode, documentType, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/types/{}'.format(self.base_url, companyCode, transactionCode, documentType),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8556,7 +8759,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen
"""
def get_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/transactions/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8575,7 +8778,7 @@ def get_transaction_by_id(self, id_, include=None):
"""
def get_variance_report_by_company_code_by_transaction_id(self, companyCode, transactionId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions/{}/variance'.format(self.base_url, companyCode, transactionId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8622,7 +8825,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra
"""
def list_transactions_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/transactions'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8667,7 +8870,7 @@ def list_transactions_by_company(self, companyCode, include=None):
"""
def lock_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/lock'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8722,7 +8925,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None):
"""
def refund_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/refund'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8765,7 +8968,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None):
"""
def settle_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/settle'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8805,7 +9008,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None):
"""
def uncommit_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/uncommit'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8843,7 +9046,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None):
"""
def unvoid_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/unvoid'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8862,7 +9065,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None):
"""
def variance_report(self, companyCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/variance'.format(self.base_url, companyCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8905,7 +9108,7 @@ def variance_report(self, companyCode, model):
"""
def verify_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/verify'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8949,7 +9152,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None):
"""
def void_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/transactions/{}/void'.format(self.base_url, companyCode, transactionCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8970,7 +9173,7 @@ def void_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_u_p_cs(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -8990,7 +9193,7 @@ def create_u_p_cs(self, companyId, model):
"""
def delete_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9011,7 +9214,7 @@ def delete_u_p_c(self, companyId, id_):
"""
def get_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9038,7 +9241,7 @@ def get_u_p_c(self, companyId, id_):
"""
def list_u_p_cs_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/upcs'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9064,7 +9267,7 @@ def list_u_p_cs_by_company(self, companyId, include=None):
"""
def query_u_p_cs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/upcs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9088,7 +9291,7 @@ def query_u_p_cs(self, include=None):
"""
def update_u_p_c(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/companies/{}/upcs/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9108,7 +9311,7 @@ def update_u_p_c(self, companyId, id_, model):
"""
def delete_user_defined_field(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/companies/{}/userdefinedfields/{}'.format(self.base_url, companyId, accountId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9128,7 +9331,7 @@ def delete_user_defined_field(self, companyId, id_):
"""
def list_user_defined_fields_by_company_id(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9149,7 +9352,7 @@ def list_user_defined_fields_by_company_id(self, companyId, include=None):
"""
def update_user_defined_field(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/companies/{}/userdefinedfields'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9171,7 +9374,7 @@ def update_user_defined_field(self, companyId, model, include=None):
"""
def change_password(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/passwords'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9195,7 +9398,7 @@ def change_password(self, model):
"""
def create_users(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.post('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9217,7 +9420,7 @@ def create_users(self, accountId, model):
"""
def delete_user(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.delete('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9240,7 +9443,7 @@ def delete_user(self, id_, accountId):
"""
def get_user(self, id_, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9271,7 +9474,7 @@ def get_user(self, id_, accountId, include=None):
"""
def get_user_entitlements(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/users/{}/entitlements'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9301,7 +9504,7 @@ def get_user_entitlements(self, id_, accountId):
"""
def list_users_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/accounts/{}/users'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9331,7 +9534,7 @@ def list_users_by_account(self, accountId, include=None):
"""
def query_users(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/users'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9354,7 +9557,7 @@ def query_users(self, include=None):
"""
def update_user(self, id_, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.put('{}/api/v2/accounts/{}/users/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9375,7 +9578,7 @@ def update_user(self, id_, accountId, model):
"""
def get_my_subscription(self, serviceTypeId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/utilities/subscriptions/{}'.format(self.base_url, serviceTypeId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9395,7 +9598,7 @@ def get_my_subscription(self, serviceTypeId):
"""
def list_my_subscriptions(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/utilities/subscriptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9424,7 +9627,7 @@ def list_my_subscriptions(self):
"""
def ping(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.8.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.10.1")
return requests.get('{}/api/v2/utilities/ping'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -9629,5 +9832,63 @@ def verify_shipment(self, companyCode, transactionCode, include=None, x_avalara_
if x_avalara_version:
self.client_header['x-avalara-version']=x_avalara_version;
return requests.get('{}/api/v2/companies/{}/transactions/{}/shipment/verify'.format(self.base_url, companyCode, transactionCode),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxBeverageClient
+
+ Enqueues a batch of AvaTax transactions to be deregistered by ASV
+
+
+
+ :param companyCode [string] The company code of the company that recorded the transaction
+ :param batchCode [string] The batch code of generated by AvaTax batch transaction upload
+ :param api-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2
+ :param x-avalara-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2. Header takes precendence if both header and query parameters are present.
+ :return
+ """
+ def enqueue_batch_deregistration(self, companyCode, batchCode, include=None, x_avalara_version =""):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","")
+ if x_avalara_version:
+ self.client_header['x-avalara-version']=x_avalara_version;
+ return requests.put('{}/api/v2/asv/companies/{}/batches/{}/deregister'.format(self.base_url, companyCode, batchCode),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxBeverageClient
+
+ Enqueues a batch of AvaTax transactions to be registered by ASV
+
+
+
+ :param companyCode [string] The company code of the company that recorded the transaction
+ :param batchCode [string] The batch code generated by AvaTax for batch transaction upload process
+ :param api-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2
+ :param x-avalara-version [string] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2. Header takes precendence if both header and query parameters are present.
+ :return
+ """
+ def enqueue_batch_registration(self, companyCode, batchCode, include=None, x_avalara_version =""):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","")
+ if x_avalara_version:
+ self.client_header['x-avalara-version']=x_avalara_version;
+ return requests.put('{}/api/v2/asv/companies/{}/batches/{}/register'.format(self.base_url, companyCode, batchCode),
+ auth=self.auth, headers=self.client_header, params=include,
+ timeout=self.timeout_limit if self.timeout_limit else 1200)
+ r"""
+ Swagger Name: AvaTaxBeverageClient
+
+ Gets records for current and previously processed batch registration jobs
+
+
+
+ :param accountId [string] (Optional): For users with access to multiple accounts, filters results to those associated with the specified Account ID. If not specified, the Account ID defaults to the one associated with the account
+ :return GetBatchesResult
+ """
+ def get_batch_registration_data(self, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","")
+ return requests.get('{}/api/v2/asv/batches'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
\ No newline at end of file