diff --git a/setup.py b/setup.py
index 447ea72..8d2b77c 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@
setup(
name='Avalara',
- version='24.6.1',
+ version='24.6.3',
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 c8eff00..df0edcd 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -235,7 +235,7 @@ def get_license_keys(self, id_):
"""
def list_mrs_accounts(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/accounts/mrs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -264,7 +264,7 @@ def list_mrs_accounts(self):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -291,7 +291,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -327,7 +327,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -352,7 +352,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -369,7 +369,7 @@ def resolve_address_post(self, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -390,7 +390,7 @@ def create_a_p_config_setting(self, companyid, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -410,7 +410,7 @@ def get_a_p_config_setting_by_company(self, companyid, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -427,7 +427,7 @@ def query_a_p_config_setting(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -447,7 +447,7 @@ def update_a_p_config_setting(self, companyid, 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -466,7 +466,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -485,7 +485,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -508,7 +508,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -529,7 +529,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -556,7 +556,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -589,7 +589,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -621,7 +621,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -647,7 +647,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -667,7 +667,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -697,7 +697,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -735,7 +735,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -770,7 +770,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -802,7 +802,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -835,7 +835,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -870,7 +870,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -906,7 +906,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -935,7 +935,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -967,7 +967,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1000,7 +1000,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1024,7 +1024,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1055,7 +1055,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1087,7 +1087,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1117,7 +1117,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1148,7 +1148,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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 +1176,7 @@ def list_customers_for_certificate(self, companyId, id_, include=None):
:param companyId [int] The ID number of the company to search
:param include [string] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
- :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:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
+ :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:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
: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`.
@@ -1184,7 +1184,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1209,7 +1209,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1240,7 +1240,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1273,7 +1273,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1302,7 +1302,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1333,7 +1333,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1372,7 +1372,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1399,7 +1399,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1426,7 +1426,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1447,7 +1447,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1471,7 +1471,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1502,7 +1502,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1520,7 +1520,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1542,7 +1542,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1564,7 +1564,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1587,7 +1587,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1617,7 +1617,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1643,7 +1643,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1665,7 +1665,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1693,7 +1693,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1717,7 +1717,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1744,7 +1744,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1766,7 +1766,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1784,7 +1784,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1819,7 +1819,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1846,7 +1846,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1871,7 +1871,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1894,7 +1894,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1918,7 +1918,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def query_juris_names(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/jurisnames/{}/{}'.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)
@@ -1944,7 +1944,7 @@ def query_juris_names(self, country, region, include=None):
"""
def query_rate_options(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/rateOptions/{}/{}'.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)
@@ -1965,7 +1965,7 @@ def query_rate_options(self, country, region, include=None):
"""
def query_state_config(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/stateconfig'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1989,7 +1989,7 @@ def query_state_config(self, include=None):
"""
def query_state_reporting_codes(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/stateReportingCodes/{}/{}'.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)
@@ -2009,7 +2009,7 @@ def query_state_reporting_codes(self, country, region, include=None):
"""
def query_tax_type_mappings(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/taxtypemappings'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2030,7 +2030,7 @@ def query_tax_type_mappings(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2049,7 +2049,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2070,7 +2070,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2094,7 +2094,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2119,7 +2119,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2143,7 +2143,7 @@ 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2160,7 +2160,7 @@ def update_contact(self, companyId, id_, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2178,7 +2178,7 @@ def bulk_upload_cost_centers(self, companyid, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2195,7 +2195,7 @@ def create_cost_center(self, companyid, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2212,7 +2212,7 @@ def delete_cost_center(self, companyid, costcenterid):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2233,7 +2233,7 @@ def get_cost_center_by_id(self, companyid, costcenterid):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2253,7 +2253,7 @@ def list_cost_centers_by_company(self, companyid, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2271,7 +2271,7 @@ def query_cost_centers(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2302,7 +2302,7 @@ def update_cost_center(self, companyid, costcenterid, 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2331,7 +2331,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2365,7 +2365,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2397,7 +2397,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2427,7 +2427,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2457,7 +2457,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2488,7 +2488,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2514,7 +2514,7 @@ def list_attributes_for_customer(self, companyId, customerCode):
:param companyId [int] The unique ID number of the company that recorded this customer
:param customerCode [string] The unique code representing this customer
:param include [string] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
- :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:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
+ :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:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
: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`.
@@ -2522,7 +2522,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2555,7 +2555,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2583,7 +2583,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country,
:param companyId [int] The unique ID number of the company that recorded this customer
:param include [string] OPTIONAL - You can specify the value `certificates` to fetch information about certificates linked to the customer.
- :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:* shipTos
+ :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 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`.
@@ -2591,7 +2591,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2623,7 +2623,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2653,7 +2653,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2683,7 +2683,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2703,7 +2703,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2723,7 +2723,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2743,7 +2743,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2766,7 +2766,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2790,7 +2790,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2811,7 +2811,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2836,7 +2836,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2857,7 +2857,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2876,7 +2876,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2898,7 +2898,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2922,7 +2922,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2945,7 +2945,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2968,7 +2968,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2989,7 +2989,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3009,7 +3009,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3029,7 +3029,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3049,7 +3049,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3070,7 +3070,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3094,7 +3094,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3122,7 +3122,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3143,7 +3143,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3164,7 +3164,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3187,7 +3187,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3207,7 +3207,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3223,7 +3223,7 @@ def list_filing_frequencies(self, include=None):
"""
def list_items_recommendations_status(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/definitions/items/recommendationstatus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3239,7 +3239,7 @@ def list_items_recommendations_status(self):
"""
def list_items_status(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/definitions/items/status'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3261,7 +3261,7 @@ def list_items_status(self):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3291,7 +3291,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3319,7 +3319,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3340,7 +3340,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t
"""
def list_jurisdictions_hierarchy(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/definitions/jurisdictions/hierarchy'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3359,7 +3359,7 @@ def list_jurisdictions_hierarchy(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3392,7 +3392,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3413,7 +3413,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3432,7 +3432,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3452,7 +3452,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3482,7 +3482,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3503,7 +3503,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3525,7 +3525,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3550,7 +3550,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3571,7 +3571,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3591,7 +3591,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3611,7 +3611,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3631,7 +3631,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3651,7 +3651,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3671,7 +3671,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3691,7 +3691,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3711,7 +3711,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3731,7 +3731,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3751,7 +3751,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3771,7 +3771,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3792,7 +3792,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3812,7 +3812,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3846,7 +3846,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3867,7 +3867,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3885,7 +3885,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3905,7 +3905,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3930,7 +3930,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3952,7 +3952,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3981,7 +3981,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4002,7 +4002,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4025,7 +4025,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4046,7 +4046,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4068,7 +4068,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4094,7 +4094,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4115,7 +4115,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4136,7 +4136,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4158,7 +4158,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4177,7 +4177,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4197,7 +4197,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4219,7 +4219,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4239,7 +4239,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4264,7 +4264,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4283,7 +4283,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4303,7 +4303,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4323,7 +4323,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4346,7 +4346,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4368,7 +4368,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4388,7 +4388,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4408,7 +4408,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4430,7 +4430,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4450,7 +4450,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4472,7 +4472,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4494,7 +4494,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4516,7 +4516,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4542,7 +4542,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4569,7 +4569,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4594,7 +4594,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4610,7 +4610,7 @@ def update_distance_threshold(self, companyId, id_, model):
"""
def create_dcv(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/domain-control-verifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4626,7 +4626,7 @@ def create_dcv(self, model):
"""
def filter_dcv(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/domain-control-verifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4642,7 +4642,7 @@ def filter_dcv(self, include=None):
"""
def get_dcv_by_id(self, domainControlVerificationId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/domain-control-verifications/{}'.format(self.base_url, domainControlVerificationId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4662,7 +4662,7 @@ def get_dcv_by_id(self, domainControlVerificationId):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4682,7 +4682,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4700,7 +4700,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4724,7 +4724,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4742,7 +4742,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4760,7 +4760,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4778,7 +4778,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4796,7 +4796,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4814,7 +4814,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4832,7 +4832,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4850,7 +4850,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4882,7 +4882,7 @@ def revoke_firm_client_linkage(self, id_):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4912,7 +4912,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4929,7 +4929,7 @@ def funding_request_status(self, id_, include=None):
"""
def bulk_upload_g_l_accounts(self, companyid, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/glaccounts/$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)
@@ -4947,7 +4947,7 @@ def bulk_upload_g_l_accounts(self, companyid, model):
"""
def create_g_l_account(self, companyid, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4964,7 +4964,7 @@ def create_g_l_account(self, companyid, model):
"""
def delete_g_l_account(self, companyid, glaccountid):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.delete('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4981,7 +4981,7 @@ def delete_g_l_account(self, companyid, glaccountid):
"""
def get_g_l_account_by_id(self, companyid, glaccountid):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5002,7 +5002,7 @@ def get_g_l_account_by_id(self, companyid, glaccountid):
"""
def list_g_l_accounts_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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5020,7 +5020,7 @@ def list_g_l_accounts_by_company(self, companyid, include=None):
"""
def update_g_l_account(self, companyid, glaccountid, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.put('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5037,11 +5037,11 @@ def update_g_l_account(self, companyid, glaccountid, model):
:param companyId [int] The ID of the company that owns this item.
:param itemId [int] The ID of the item you wish to delete the classifications.
- :return ErrorDetail
+ :return AssociatedObjectDeletedErrorDetailsModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5059,11 +5059,11 @@ def batch_delete_item_classifications(self, companyId, itemId):
:param companyId [int] The ID of the company that owns this item.
:param itemId [int] The ID of the item you wish to delete the parameters.
- :return ErrorDetail
+ :return AssociatedObjectDeletedErrorDetailsModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5088,7 +5088,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5111,7 +5111,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5136,7 +5136,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5162,7 +5162,7 @@ def create_item_parameters(self, companyId, itemId, model):
"""
def create_items(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/items'.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)
@@ -5183,7 +5183,7 @@ def create_items(self, companyId, model, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5205,7 +5205,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5231,11 +5231,11 @@ def create_tax_code_classification_request(self, companyId, model):
:param companyId [int] The ID of the company that owns this item.
:param itemCode [string] The code of the item you want to delete.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5256,11 +5256,11 @@ def delete_catalogue_item(self, companyId, itemCode):
:param companyId [int] The ID of the company that owns this item.
:param id_ [int] The ID of the item you wish to delete.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5278,11 +5278,11 @@ def delete_item(self, companyId, id_):
:param companyId [int] The company id.
:param itemId [int] The item id.
:param id_ [int] The item classification id.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5301,11 +5301,11 @@ def delete_item_classification(self, companyId, itemId, id_):
:param companyId [int] The company id
:param itemId [int] The item id
:param id_ [int] The parameter id
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5322,11 +5322,11 @@ def delete_item_parameter(self, companyId, itemId, id_):
:param companyId [int] The ID of the company that defined these items
:param itemId [int] The ID of the item as defined by the company that owns this tag.
:param itemTagDetailId [int] The ID of the item tag detail you wish to delete.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5342,11 +5342,11 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId):
:param companyId [int] The ID of the company that defined these items.
:param itemId [int] The ID of the item as defined by the company that owns this tag.
- :return ErrorDetail
+ :return AssociatedObjectDeletedErrorDetailsModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5371,7 +5371,7 @@ def delete_item_tags(self, companyId, itemId):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5393,7 +5393,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5416,7 +5416,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5439,7 +5439,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5454,11 +5454,11 @@ def get_item_tags(self, companyId, itemId, include=None):
:param companyId [int]
:param itemId [int]
- :return TaxCodeRecommendationsOutputModel
+ :return TaxCodeRecommendationOutputModel
"""
def get_item_tax_code_recommendations(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/companies/{}/items/{}/taxcoderecommendations'.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)
@@ -5486,7 +5486,7 @@ def get_item_tax_code_recommendations(self, companyId, itemId):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5517,7 +5517,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5544,7 +5544,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5572,7 +5572,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5597,11 +5597,12 @@ def list_item_parameters(self, companyId, itemId, include=None):
* Classifications
* Tags
* Properties
+ * TaxCodeRecommendationStatus
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
:param companyId [int] The ID of the company that defined these items
- :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
: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.
@@ -5613,7 +5614,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5633,7 +5634,7 @@ def list_items_by_company(self, companyId, include=None):
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
- :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
: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.
@@ -5642,7 +5643,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5672,7 +5673,7 @@ def query_items(self, include=None):
"""
def query_items_by_system_code(self, companyId, systemCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/items/internal/bySystemCode/{}'.format(self.base_url, companyId, systemCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5694,7 +5695,7 @@ def query_items_by_system_code(self, companyId, systemCode, model, include=None)
:param companyId [int] The ID of the company that defined these items.
:param tag [string] The master tag to be associated with item.
- :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
: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.
@@ -5703,7 +5704,7 @@ def query_items_by_system_code(self, companyId, systemCode, model, 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5726,7 +5727,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5753,7 +5754,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5776,14 +5777,15 @@ def sync_items(self, companyId, model):
:param companyId [int] The ID of the company that this item belongs to.
:param id_ [int] The ID of the item you wish to update
+ :param isRecommendationSelected [boolean] If true then Set recommendation status to RecommendationSelected
:param model [ItemModel] The item object you wish to update.
:return ItemModel
"""
- def update_item(self, companyId, id_, model):
+ def update_item(self, companyId, id_, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
- auth=self.auth, headers=self.client_header, json=model,
+ auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
r"""
Swagger Name: AvaTaxClient
@@ -5805,7 +5807,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5829,7 +5831,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5852,7 +5854,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5871,7 +5873,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5894,7 +5896,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5923,7 +5925,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5951,7 +5953,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5971,7 +5973,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5996,7 +5998,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6015,7 +6017,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6034,7 +6036,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6057,7 +6059,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6084,7 +6086,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6107,7 +6109,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6135,7 +6137,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6167,7 +6169,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6198,7 +6200,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6220,7 +6222,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6244,7 +6246,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6265,7 +6267,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6299,7 +6301,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6336,7 +6338,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6366,7 +6368,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6416,7 +6418,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6452,7 +6454,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6494,7 +6496,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6537,7 +6539,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6592,7 +6594,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6621,7 +6623,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6654,7 +6656,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6686,7 +6688,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6711,7 +6713,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6740,7 +6742,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6765,7 +6767,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6788,7 +6790,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6810,7 +6812,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6835,7 +6837,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6863,7 +6865,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6886,7 +6888,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6916,7 +6918,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6947,7 +6949,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6975,7 +6977,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7004,7 +7006,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7037,7 +7039,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7061,7 +7063,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7080,7 +7082,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7099,7 +7101,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7117,7 +7119,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7135,7 +7137,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7162,7 +7164,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7185,7 +7187,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7213,7 +7215,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7243,7 +7245,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7265,7 +7267,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7286,7 +7288,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7313,7 +7315,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7335,7 +7337,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7356,7 +7358,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7381,7 +7383,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7402,7 +7404,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7428,7 +7430,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7453,7 +7455,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7474,7 +7476,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7500,7 +7502,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7526,7 +7528,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7553,7 +7555,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7576,7 +7578,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7608,7 +7610,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7636,7 +7638,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7665,7 +7667,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7691,7 +7693,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7717,7 +7719,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7749,7 +7751,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7780,7 +7782,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7809,7 +7811,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7830,7 +7832,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7856,7 +7858,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7881,7 +7883,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7904,7 +7906,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7923,7 +7925,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7946,7 +7948,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7975,7 +7977,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8003,7 +8005,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8029,7 +8031,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8064,7 +8066,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8104,7 +8106,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8155,7 +8157,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8194,7 +8196,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8229,7 +8231,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8252,7 +8254,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8280,7 +8282,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8308,7 +8310,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8336,7 +8338,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8359,7 +8361,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8393,7 +8395,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8426,7 +8428,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8455,7 +8457,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8491,7 +8493,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8537,7 +8539,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8574,7 +8576,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8612,7 +8614,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8635,7 +8637,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8680,7 +8682,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8723,7 +8725,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8769,7 +8771,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8820,7 +8822,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8853,7 +8855,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8871,7 +8873,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8913,7 +8915,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8942,7 +8944,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8974,7 +8976,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8993,7 +8995,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9040,7 +9042,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9085,7 +9087,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9140,7 +9142,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9183,7 +9185,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9223,7 +9225,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9261,7 +9263,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9280,7 +9282,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9323,7 +9325,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9367,7 +9369,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9388,7 +9390,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9408,7 +9410,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9429,7 +9431,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9456,7 +9458,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9482,7 +9484,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9506,7 +9508,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9526,7 +9528,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9546,7 +9548,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9567,7 +9569,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9589,7 +9591,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9613,7 +9615,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9635,7 +9637,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9658,7 +9660,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9689,7 +9691,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9719,7 +9721,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9749,7 +9751,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9772,7 +9774,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9793,7 +9795,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9813,7 +9815,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9842,7 +9844,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
diff --git a/src/client_methods.py b/src/client_methods.py
index 785e5fd..6c1f858 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -234,7 +234,7 @@ def get_license_keys(self, id_):
"""
def list_mrs_accounts(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/accounts/mrs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -263,7 +263,7 @@ def list_mrs_accounts(self):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -290,7 +290,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -326,7 +326,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -351,7 +351,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -368,7 +368,7 @@ def resolve_address_post(self, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -389,7 +389,7 @@ def create_a_p_config_setting(self, companyid, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -409,7 +409,7 @@ def get_a_p_config_setting_by_company(self, companyid, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -426,7 +426,7 @@ def query_a_p_config_setting(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -446,7 +446,7 @@ def update_a_p_config_setting(self, companyid, 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -465,7 +465,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -484,7 +484,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -507,7 +507,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -528,7 +528,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -555,7 +555,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -588,7 +588,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -620,7 +620,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -646,7 +646,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -666,7 +666,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -696,7 +696,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -734,7 +734,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -769,7 +769,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -801,7 +801,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -834,7 +834,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -869,7 +869,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -905,7 +905,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -934,7 +934,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -966,7 +966,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -999,7 +999,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1023,7 +1023,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1054,7 +1054,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1086,7 +1086,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1116,7 +1116,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1147,7 +1147,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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 +1175,7 @@ def list_customers_for_certificate(self, companyId, id_, include=None):
:param companyId [int] The ID number of the company to search
:param include [string] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
- :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:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
+ :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:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
: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`.
@@ -1183,7 +1183,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1208,7 +1208,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1239,7 +1239,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1272,7 +1272,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1301,7 +1301,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1332,7 +1332,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1371,7 +1371,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1398,7 +1398,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1425,7 +1425,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1446,7 +1446,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1470,7 +1470,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1501,7 +1501,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1519,7 +1519,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1541,7 +1541,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1563,7 +1563,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1586,7 +1586,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1616,7 +1616,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1642,7 +1642,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1664,7 +1664,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1692,7 +1692,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1716,7 +1716,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1743,7 +1743,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1765,7 +1765,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1783,7 +1783,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1818,7 +1818,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1845,7 +1845,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1870,7 +1870,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1893,7 +1893,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -1917,7 +1917,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def query_juris_names(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/jurisnames/{}/{}'.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)
@@ -1943,7 +1943,7 @@ def query_juris_names(self, country, region, include=None):
"""
def query_rate_options(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/rateOptions/{}/{}'.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)
@@ -1964,7 +1964,7 @@ def query_rate_options(self, country, region, include=None):
"""
def query_state_config(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/stateconfig'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1988,7 +1988,7 @@ def query_state_config(self, include=None):
"""
def query_state_reporting_codes(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/stateReportingCodes/{}/{}'.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)
@@ -2008,7 +2008,7 @@ def query_state_reporting_codes(self, country, region, include=None):
"""
def query_tax_type_mappings(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/compliance/taxtypemappings'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2029,7 +2029,7 @@ def query_tax_type_mappings(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2048,7 +2048,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2069,7 +2069,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2093,7 +2093,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2118,7 +2118,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2142,7 +2142,7 @@ 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2159,7 +2159,7 @@ def update_contact(self, companyId, id_, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2177,7 +2177,7 @@ def bulk_upload_cost_centers(self, companyid, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2194,7 +2194,7 @@ def create_cost_center(self, companyid, model):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2211,7 +2211,7 @@ def delete_cost_center(self, companyid, costcenterid):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2232,7 +2232,7 @@ def get_cost_center_by_id(self, companyid, costcenterid):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2252,7 +2252,7 @@ def list_cost_centers_by_company(self, companyid, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2270,7 +2270,7 @@ def query_cost_centers(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2301,7 +2301,7 @@ def update_cost_center(self, companyid, costcenterid, 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2330,7 +2330,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2364,7 +2364,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2396,7 +2396,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2426,7 +2426,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2456,7 +2456,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2487,7 +2487,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2513,7 +2513,7 @@ def list_attributes_for_customer(self, companyId, customerCode):
:param companyId [int] The unique ID number of the company that recorded this customer
:param customerCode [string] The unique code representing this customer
:param include [string] OPTIONAL: A comma separated list of special fetch options. You can specify one or more of the following: * customers - Retrieves the list of customers linked to the certificate. * po_numbers - Retrieves all PO numbers tied to the certificate. * attributes - Retrieves all attributes applied to the certificate.
- :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:* exemptionNumber, status, ecmsId, ecmsStatus, pdf, pages
+ :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:* exemptionNumber, status, ecmStatus, ecmsId, ecmsStatus, pdf, pages
: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`.
@@ -2521,7 +2521,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2554,7 +2554,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2582,7 +2582,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country,
:param companyId [int] The unique ID number of the company that recorded this customer
:param include [string] OPTIONAL - You can specify the value `certificates` to fetch information about certificates linked to the customer.
- :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:* shipTos
+ :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 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`.
@@ -2590,7 +2590,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2622,7 +2622,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2652,7 +2652,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2682,7 +2682,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2702,7 +2702,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2722,7 +2722,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2742,7 +2742,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2765,7 +2765,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2789,7 +2789,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2810,7 +2810,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2835,7 +2835,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2856,7 +2856,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2875,7 +2875,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2897,7 +2897,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2921,7 +2921,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2944,7 +2944,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2967,7 +2967,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -2988,7 +2988,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3008,7 +3008,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3028,7 +3028,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3048,7 +3048,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3069,7 +3069,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3093,7 +3093,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3121,7 +3121,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3142,7 +3142,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3163,7 +3163,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3186,7 +3186,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3206,7 +3206,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3222,7 +3222,7 @@ def list_filing_frequencies(self, include=None):
"""
def list_items_recommendations_status(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/definitions/items/recommendationstatus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3238,7 +3238,7 @@ def list_items_recommendations_status(self):
"""
def list_items_status(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/definitions/items/status'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3260,7 +3260,7 @@ def list_items_status(self):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3290,7 +3290,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3318,7 +3318,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3339,7 +3339,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t
"""
def list_jurisdictions_hierarchy(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/definitions/jurisdictions/hierarchy'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3358,7 +3358,7 @@ def list_jurisdictions_hierarchy(self, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3391,7 +3391,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3412,7 +3412,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3431,7 +3431,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3451,7 +3451,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3481,7 +3481,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3502,7 +3502,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3524,7 +3524,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3549,7 +3549,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3570,7 +3570,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3590,7 +3590,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3610,7 +3610,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3630,7 +3630,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3650,7 +3650,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3670,7 +3670,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3690,7 +3690,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3710,7 +3710,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3730,7 +3730,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3750,7 +3750,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3770,7 +3770,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3791,7 +3791,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3811,7 +3811,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3845,7 +3845,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3866,7 +3866,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3884,7 +3884,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3904,7 +3904,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3929,7 +3929,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3951,7 +3951,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -3980,7 +3980,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4001,7 +4001,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4024,7 +4024,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4045,7 +4045,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4067,7 +4067,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4093,7 +4093,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4114,7 +4114,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4135,7 +4135,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4157,7 +4157,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4176,7 +4176,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4196,7 +4196,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4218,7 +4218,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4238,7 +4238,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4263,7 +4263,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4282,7 +4282,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4302,7 +4302,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4322,7 +4322,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4345,7 +4345,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4367,7 +4367,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4387,7 +4387,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4407,7 +4407,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4429,7 +4429,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4449,7 +4449,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4471,7 +4471,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4493,7 +4493,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4515,7 +4515,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4541,7 +4541,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4568,7 +4568,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4593,7 +4593,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4609,7 +4609,7 @@ def update_distance_threshold(self, companyId, id_, model):
"""
def create_dcv(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/domain-control-verifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4625,7 +4625,7 @@ def create_dcv(self, model):
"""
def filter_dcv(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/domain-control-verifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4641,7 +4641,7 @@ def filter_dcv(self, include=None):
"""
def get_dcv_by_id(self, domainControlVerificationId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/domain-control-verifications/{}'.format(self.base_url, domainControlVerificationId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4661,7 +4661,7 @@ def get_dcv_by_id(self, domainControlVerificationId):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4681,7 +4681,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4699,7 +4699,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4723,7 +4723,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4741,7 +4741,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4759,7 +4759,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4777,7 +4777,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4795,7 +4795,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4813,7 +4813,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4831,7 +4831,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4849,7 +4849,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4881,7 +4881,7 @@ def revoke_firm_client_linkage(self, id_):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4911,7 +4911,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -4928,7 +4928,7 @@ def funding_request_status(self, id_, include=None):
"""
def bulk_upload_g_l_accounts(self, companyid, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/glaccounts/$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)
@@ -4946,7 +4946,7 @@ def bulk_upload_g_l_accounts(self, companyid, model):
"""
def create_g_l_account(self, companyid, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4963,7 +4963,7 @@ def create_g_l_account(self, companyid, model):
"""
def delete_g_l_account(self, companyid, glaccountid):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.delete('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4980,7 +4980,7 @@ def delete_g_l_account(self, companyid, glaccountid):
"""
def get_g_l_account_by_id(self, companyid, glaccountid):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5001,7 +5001,7 @@ def get_g_l_account_by_id(self, companyid, glaccountid):
"""
def list_g_l_accounts_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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/companies/{}/glaccounts'.format(self.base_url, companyid),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5019,7 +5019,7 @@ def list_g_l_accounts_by_company(self, companyid, include=None):
"""
def update_g_l_account(self, companyid, glaccountid, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.put('{}/api/v2/companies/{}/glaccounts/{}'.format(self.base_url, companyid, glaccountid),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5036,11 +5036,11 @@ def update_g_l_account(self, companyid, glaccountid, model):
:param companyId [int] The ID of the company that owns this item.
:param itemId [int] The ID of the item you wish to delete the classifications.
- :return ErrorDetail
+ :return AssociatedObjectDeletedErrorDetailsModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5058,11 +5058,11 @@ def batch_delete_item_classifications(self, companyId, itemId):
:param companyId [int] The ID of the company that owns this item.
:param itemId [int] The ID of the item you wish to delete the parameters.
- :return ErrorDetail
+ :return AssociatedObjectDeletedErrorDetailsModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5087,7 +5087,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5110,7 +5110,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5135,7 +5135,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5161,7 +5161,7 @@ def create_item_parameters(self, companyId, itemId, model):
"""
def create_items(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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/items'.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)
@@ -5182,7 +5182,7 @@ def create_items(self, companyId, model, include=None):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5204,7 +5204,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5230,11 +5230,11 @@ def create_tax_code_classification_request(self, companyId, model):
:param companyId [int] The ID of the company that owns this item.
:param itemCode [string] The code of the item you want to delete.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5255,11 +5255,11 @@ def delete_catalogue_item(self, companyId, itemCode):
:param companyId [int] The ID of the company that owns this item.
:param id_ [int] The ID of the item you wish to delete.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5277,11 +5277,11 @@ def delete_item(self, companyId, id_):
:param companyId [int] The company id.
:param itemId [int] The item id.
:param id_ [int] The item classification id.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5300,11 +5300,11 @@ def delete_item_classification(self, companyId, itemId, id_):
:param companyId [int] The company id
:param itemId [int] The item id
:param id_ [int] The parameter id
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5321,11 +5321,11 @@ def delete_item_parameter(self, companyId, itemId, id_):
:param companyId [int] The ID of the company that defined these items
:param itemId [int] The ID of the item as defined by the company that owns this tag.
:param itemTagDetailId [int] The ID of the item tag detail you wish to delete.
- :return ErrorDetail
+ :return ObjectDeletedErrorModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5341,11 +5341,11 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId):
:param companyId [int] The ID of the company that defined these items.
:param itemId [int] The ID of the item as defined by the company that owns this tag.
- :return ErrorDetail
+ :return AssociatedObjectDeletedErrorDetailsModel
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5370,7 +5370,7 @@ def delete_item_tags(self, companyId, itemId):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5392,7 +5392,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5415,7 +5415,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5438,7 +5438,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5453,11 +5453,11 @@ def get_item_tags(self, companyId, itemId, include=None):
:param companyId [int]
:param itemId [int]
- :return TaxCodeRecommendationsOutputModel
+ :return TaxCodeRecommendationOutputModel
"""
def get_item_tax_code_recommendations(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.get('{}/api/v2/companies/{}/items/{}/taxcoderecommendations'.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)
@@ -5485,7 +5485,7 @@ def get_item_tax_code_recommendations(self, companyId, itemId):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5516,7 +5516,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
"""
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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5543,7 +5543,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5571,7 +5571,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5596,11 +5596,12 @@ def list_item_parameters(self, companyId, itemId, include=None):
* Classifications
* Tags
* Properties
+ * TaxCodeRecommendationStatus
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
:param companyId [int] The ID of the company that defined these items
- :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
: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.
@@ -5612,7 +5613,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5632,7 +5633,7 @@ def list_items_by_company(self, companyId, include=None):
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
- :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
: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.
@@ -5641,7 +5642,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5671,7 +5672,7 @@ def query_items(self, include=None):
"""
def query_items_by_system_code(self, companyId, systemCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.post('{}/api/v2/companies/{}/items/internal/bySystemCode/{}'.format(self.base_url, companyId, systemCode),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5693,7 +5694,7 @@ def query_items_by_system_code(self, companyId, systemCode, model, include=None)
:param companyId [int] The ID of the company that defined these items.
:param tag [string] The master tag to be associated with item.
- :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus
+ :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:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations
: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.
@@ -5702,7 +5703,7 @@ def query_items_by_system_code(self, companyId, systemCode, model, 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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5725,7 +5726,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5752,7 +5753,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5775,14 +5776,15 @@ def sync_items(self, companyId, model):
:param companyId [int] The ID of the company that this item belongs to.
:param id_ [int] The ID of the item you wish to update
+ :param isRecommendationSelected [boolean] If true then Set recommendation status to RecommendationSelected
:param model [ItemModel] The item object you wish to update.
:return ItemModel
"""
- def update_item(self, companyId, id_, model):
+ def update_item(self, companyId, id_, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
- auth=self.auth, headers=self.client_header, json=model,
+ auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
r"""
Swagger Name: AvaTaxClient
@@ -5804,7 +5806,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5828,7 +5830,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5851,7 +5853,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5870,7 +5872,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5893,7 +5895,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5922,7 +5924,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5950,7 +5952,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5970,7 +5972,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -5995,7 +5997,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6014,7 +6016,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6033,7 +6035,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6056,7 +6058,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6083,7 +6085,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6106,7 +6108,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6134,7 +6136,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6166,7 +6168,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6197,7 +6199,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6219,7 +6221,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6243,7 +6245,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6264,7 +6266,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6298,7 +6300,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6335,7 +6337,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6365,7 +6367,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6415,7 +6417,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6451,7 +6453,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6493,7 +6495,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6536,7 +6538,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6591,7 +6593,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6620,7 +6622,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6653,7 +6655,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6685,7 +6687,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6710,7 +6712,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6739,7 +6741,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6764,7 +6766,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6787,7 +6789,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6809,7 +6811,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6834,7 +6836,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6862,7 +6864,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6885,7 +6887,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6915,7 +6917,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6946,7 +6948,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -6974,7 +6976,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7003,7 +7005,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7036,7 +7038,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7060,7 +7062,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7079,7 +7081,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7098,7 +7100,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7116,7 +7118,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7134,7 +7136,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7161,7 +7163,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7184,7 +7186,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7212,7 +7214,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7242,7 +7244,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7264,7 +7266,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7285,7 +7287,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7312,7 +7314,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7334,7 +7336,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7355,7 +7357,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7380,7 +7382,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7401,7 +7403,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7427,7 +7429,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7452,7 +7454,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7473,7 +7475,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7499,7 +7501,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7525,7 +7527,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7552,7 +7554,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7575,7 +7577,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7607,7 +7609,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7635,7 +7637,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7664,7 +7666,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7690,7 +7692,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7716,7 +7718,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7748,7 +7750,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7779,7 +7781,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7808,7 +7810,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7829,7 +7831,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7855,7 +7857,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7880,7 +7882,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7903,7 +7905,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7922,7 +7924,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7945,7 +7947,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -7974,7 +7976,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8002,7 +8004,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8028,7 +8030,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8063,7 +8065,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8103,7 +8105,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8154,7 +8156,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8193,7 +8195,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8228,7 +8230,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8251,7 +8253,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8279,7 +8281,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8307,7 +8309,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8335,7 +8337,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8358,7 +8360,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8392,7 +8394,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8425,7 +8427,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8454,7 +8456,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8490,7 +8492,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8536,7 +8538,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8573,7 +8575,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8611,7 +8613,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8634,7 +8636,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8679,7 +8681,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8722,7 +8724,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8768,7 +8770,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8819,7 +8821,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8852,7 +8854,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8870,7 +8872,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8912,7 +8914,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8941,7 +8943,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8973,7 +8975,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -8992,7 +8994,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9039,7 +9041,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9084,7 +9086,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9139,7 +9141,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9182,7 +9184,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9222,7 +9224,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9260,7 +9262,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9279,7 +9281,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9322,7 +9324,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9366,7 +9368,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9387,7 +9389,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9407,7 +9409,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9428,7 +9430,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9455,7 +9457,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9481,7 +9483,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9505,7 +9507,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9525,7 +9527,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9545,7 +9547,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9566,7 +9568,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9588,7 +9590,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9612,7 +9614,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9634,7 +9636,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9657,7 +9659,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9688,7 +9690,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9718,7 +9720,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9748,7 +9750,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9771,7 +9773,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9792,7 +9794,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9812,7 +9814,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)
@@ -9841,7 +9843,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","24.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","24.6.3")
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)