diff --git a/setup.py b/setup.py
index 43d75e4..02540e9 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@
setup(
name='Avalara',
- version='23.6.1',
+ version='23.7.0',
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 afa855b..d866127 100644
--- a/src/avalara/client_methods.py
+++ b/src/avalara/client_methods.py
@@ -31,7 +31,7 @@ class Mixin:
"""
def account_reset_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/resetlicensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -56,7 +56,7 @@ def account_reset_license_key(self, id_, model):
"""
def activate_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/activate'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -87,7 +87,7 @@ def activate_account(self, id_, model):
"""
def audit_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/audit'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -112,7 +112,7 @@ def audit_account(self, id_, include=None):
"""
def create_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/licensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -133,7 +133,7 @@ def create_license_key(self, id_, model):
"""
def delete_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -155,7 +155,7 @@ def delete_license_key(self, id_, licensekeyname):
"""
def get_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -181,7 +181,7 @@ def get_account(self, id_, include=None):
"""
def get_account_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -199,7 +199,7 @@ def get_account_configuration(self, id_):
"""
def get_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -217,7 +217,7 @@ def get_license_key(self, id_, licensekeyname):
"""
def get_license_keys(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/licensekeys'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -246,7 +246,7 @@ def get_license_keys(self, id_):
"""
def query_accounts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -273,7 +273,7 @@ def query_accounts(self, include=None):
"""
def set_account_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -308,7 +308,7 @@ def set_account_configuration(self, id_, model):
"""
def resolve_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -332,7 +332,7 @@ def resolve_address(self, include=None):
"""
def resolve_address_post(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -350,7 +350,7 @@ def resolve_address_post(self, model):
"""
def create_company_lookup_file(self, accountId, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -367,7 +367,7 @@ def create_company_lookup_file(self, accountId, companyId, model):
"""
def delete_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -384,7 +384,7 @@ def delete_lookup_file(self, accountId, id_):
"""
def get_company_lookup_files(self, accountId, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -401,7 +401,7 @@ def get_company_lookup_files(self, accountId, companyId):
"""
def get_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -419,7 +419,7 @@ def get_lookup_file(self, accountId, id_):
"""
def update_lookup_file(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -439,7 +439,7 @@ def update_lookup_file(self, accountId, id_, model):
"""
def create_ava_file_forms(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -458,7 +458,7 @@ def create_ava_file_forms(self, model):
"""
def delete_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -477,7 +477,7 @@ def delete_ava_file_form(self, id_):
"""
def get_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -500,7 +500,7 @@ def get_ava_file_form(self, id_):
"""
def query_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -521,7 +521,7 @@ def query_ava_file_forms(self, include=None):
"""
def update_ava_file_form(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -548,7 +548,7 @@ def update_ava_file_form(self, id_, model):
"""
def cancel_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/batches/{}/cancel'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -581,7 +581,7 @@ def cancel_batch(self, companyId, id_):
"""
def create_batches(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -613,7 +613,7 @@ def create_batches(self, companyId, model):
"""
def create_transaction_batch(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/batches/transactions'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -639,7 +639,7 @@ def create_transaction_batch(self, companyId, model):
"""
def delete_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -659,7 +659,7 @@ def delete_batch(self, companyId, id_):
"""
def download_batch(self, companyId, batchId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/batches/{}/files/{}/attachment'.format(self.base_url, companyId, batchId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -689,7 +689,7 @@ def download_batch(self, companyId, batchId, id_):
"""
def get_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -727,7 +727,7 @@ def get_batch(self, companyId, id_):
"""
def list_batches_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -762,7 +762,7 @@ def list_batches_by_company(self, companyId, include=None):
"""
def query_batches(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/batches'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -794,7 +794,7 @@ def query_batches(self, include=None):
"""
def create_cert_express_invitation(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/{}/certexpressinvites'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -827,7 +827,7 @@ def create_cert_express_invitation(self, companyId, customerCode, model):
"""
def get_cert_express_invitation(self, companyId, customerCode, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/certexpressinvites/{}'.format(self.base_url, companyId, customerCode, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -862,7 +862,7 @@ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None
"""
def list_cert_express_invitations(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certexpressinvites'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -898,7 +898,7 @@ def list_cert_express_invitations(self, companyId, include=None):
"""
def create_certificates(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -927,7 +927,7 @@ def create_certificates(self, companyId, model, include=None):
"""
def delete_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -959,7 +959,7 @@ def delete_certificate(self, companyId, id_):
"""
def download_certificate_image(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -992,7 +992,7 @@ def download_certificate_image(self, companyId, id_, include=None):
"""
def get_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1016,7 +1016,7 @@ def get_certificate(self, companyId, id_, include=None):
"""
def get_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1047,7 +1047,7 @@ def get_certificate_setup(self, companyId):
"""
def link_attributes_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1079,7 +1079,7 @@ def link_attributes_to_certificate(self, companyId, id_, model):
"""
def link_customers_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1109,7 +1109,7 @@ def link_customers_to_certificate(self, companyId, id_, model):
"""
def list_attributes_for_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attributes'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1140,7 +1140,7 @@ def list_attributes_for_certificate(self, companyId, id_):
"""
def list_customers_for_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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):
"""
def query_certificates(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1201,7 +1201,7 @@ def query_certificates(self, companyId, include=None):
"""
def request_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1232,7 +1232,7 @@ def request_certificate_setup(self, companyId):
"""
def unlink_attributes_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1265,7 +1265,7 @@ def unlink_attributes_from_certificate(self, companyId, id_, model):
"""
def unlink_customers_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1294,7 +1294,7 @@ def unlink_customers_from_certificate(self, companyId, id_, model):
"""
def update_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1325,7 +1325,7 @@ def update_certificate(self, companyId, id_, model):
"""
def upload_certificate_image(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1364,7 +1364,7 @@ def upload_certificate_image(self, companyId, id_):
"""
def certify_integration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certify'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1391,7 +1391,7 @@ def certify_integration(self, id_):
"""
def change_filing_status(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1418,7 +1418,7 @@ def change_filing_status(self, id_, model):
"""
def company_initialize(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/initialize'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1439,7 +1439,7 @@ def company_initialize(self, model):
"""
def create_companies(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1463,7 +1463,7 @@ def create_companies(self, model):
"""
def create_company_parameters(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1494,7 +1494,7 @@ def create_company_parameters(self, companyId, model):
"""
def create_funding_request(self, id_, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/funding/setup'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1512,7 +1512,7 @@ def create_funding_request(self, id_, model, include=None):
"""
def delete_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1534,7 +1534,7 @@ def delete_company(self, id_):
"""
def delete_company_parameter(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1556,7 +1556,7 @@ def delete_company_parameter(self, companyId, id_):
"""
def funding_configuration_by_company(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/funding/configuration'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1579,7 +1579,7 @@ def funding_configuration_by_company(self, companyId):
"""
def funding_configurations_by_company_and_currency(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/funding/configurations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1609,7 +1609,7 @@ def funding_configurations_by_company_and_currency(self, companyId, include=None
"""
def get_company(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1635,7 +1635,7 @@ def get_company(self, id_, include=None):
"""
def get_company_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1657,7 +1657,7 @@ def get_company_configuration(self, id_):
"""
def get_company_parameter_detail(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1685,7 +1685,7 @@ def get_company_parameter_detail(self, companyId, id_):
"""
def get_filing_status(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1709,7 +1709,7 @@ def get_filing_status(self, id_):
"""
def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/paymentdetails/{}/{}'.format(self.base_url, id_, periodyear, periodmonth),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1736,7 +1736,7 @@ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
"""
def list_company_parameter_details(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1758,7 +1758,7 @@ def list_company_parameter_details(self, companyId, include=None):
"""
def list_funding_requests_by_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/funding'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1776,7 +1776,7 @@ def list_funding_requests_by_company(self, id_):
"""
def list_mrs_companies(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/mrs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1811,7 +1811,7 @@ def list_mrs_companies(self):
"""
def query_companies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1838,7 +1838,7 @@ def query_companies(self, include=None):
"""
def set_company_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1863,7 +1863,7 @@ def set_company_configuration(self, id_, model):
"""
def update_company(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1886,7 +1886,7 @@ def update_company(self, id_, model):
"""
def update_company_parameter_detail(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1907,7 +1907,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def create_contacts(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1926,7 +1926,7 @@ def create_contacts(self, companyId, model):
"""
def delete_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1947,7 +1947,7 @@ def delete_contact(self, companyId, id_):
"""
def get_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1971,7 +1971,7 @@ def get_contact(self, companyId, id_):
"""
def list_contacts_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1996,7 +1996,7 @@ def list_contacts_by_company(self, companyId, include=None):
"""
def query_contacts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/contacts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2020,7 +2020,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","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -2051,7 +2051,7 @@ def update_contact(self, companyId, id_, model):
"""
def create_customers(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2080,7 +2080,7 @@ def create_customers(self, companyId, model):
"""
def delete_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2114,7 +2114,7 @@ def delete_customer(self, companyId, customerCode):
"""
def get_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2146,7 +2146,7 @@ def get_customer(self, companyId, customerCode, include=None):
"""
def link_attributes_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2176,7 +2176,7 @@ def link_attributes_to_customer(self, companyId, customerCode, model):
"""
def link_certificates_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2206,7 +2206,7 @@ def link_certificates_to_customer(self, companyId, customerCode, model):
"""
def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/billto/{}/shipto/link'.format(self.base_url, companyId, code),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2237,7 +2237,7 @@ def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
"""
def list_attributes_for_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/attributes'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2271,7 +2271,7 @@ def list_attributes_for_customer(self, companyId, customerCode):
"""
def list_certificates_for_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2304,7 +2304,7 @@ def list_certificates_for_customer(self, companyId, customerCode, include=None):
"""
def list_valid_certificates_for_customer(self, companyId, customerCode, country, region):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates/{}/{}'.format(self.base_url, companyId, customerCode, country, region),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2340,7 +2340,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country,
"""
def query_customers(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2372,7 +2372,7 @@ def query_customers(self, companyId, include=None):
"""
def unlink_attributes_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2402,7 +2402,7 @@ def unlink_attributes_from_customer(self, companyId, customerCode, model):
"""
def unlink_certificates_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2432,7 +2432,7 @@ def unlink_certificates_from_customer(self, companyId, customerCode, model):
"""
def update_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2452,7 +2452,7 @@ def update_customer(self, companyId, customerCode, model):
"""
def create_data_sources(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2472,7 +2472,7 @@ def create_data_sources(self, companyId, model):
"""
def delete_data_source(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2492,7 +2492,7 @@ def delete_data_source(self, companyId, id_):
"""
def get_data_source_by_id(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2515,7 +2515,7 @@ def get_data_source_by_id(self, companyId, id_):
"""
def list_data_sources(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2539,7 +2539,7 @@ def list_data_sources(self, companyId, include=None):
"""
def query_data_sources(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/datasources'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2560,7 +2560,7 @@ def query_data_sources(self, include=None):
"""
def update_data_source(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2585,7 +2585,7 @@ def update_data_source(self, companyId, id_, model):
"""
def get_cross_border_code(self, country, hsCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}/hierarchy'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2606,7 +2606,7 @@ def get_cross_border_code(self, country, hsCode):
"""
def get_login_verifier_by_form(self, form, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers/{}'.format(self.base_url, form),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2625,7 +2625,7 @@ def get_login_verifier_by_form(self, form, include=None):
"""
def list_all_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/listallmarketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2647,7 +2647,7 @@ def list_all_marketplace_locations(self, include=None):
"""
def list_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2671,7 +2671,7 @@ def list_ava_file_forms(self, include=None):
"""
def list_certificate_attributes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/certificateattributes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2694,7 +2694,7 @@ def list_certificate_attributes(self, include=None):
"""
def list_certificate_exempt_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/certificateexemptreasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2717,7 +2717,7 @@ def list_certificate_exempt_reasons(self, include=None):
"""
def list_certificate_exposure_zones(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/certificateexposurezones'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2738,7 +2738,7 @@ def list_certificate_exposure_zones(self, include=None):
"""
def list_classification_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/classification/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2758,7 +2758,7 @@ def list_classification_parameters_usage(self, include=None):
"""
def list_communications_service_types(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/communications/transactiontypes/{}/servicetypes'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2778,7 +2778,7 @@ def list_communications_service_types(self, id_, include=None):
"""
def list_communications_transaction_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/communications/transactiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2798,7 +2798,7 @@ def list_communications_transaction_types(self, include=None):
"""
def list_communications_t_s_pairs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/communications/tspairs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2819,7 +2819,7 @@ def list_communications_t_s_pairs(self, include=None):
"""
def list_countries(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2843,7 +2843,7 @@ def list_countries(self, include=None):
"""
def list_cover_letters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/coverletters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2871,7 +2871,7 @@ def list_cover_letters(self, include=None):
"""
def list_cross_border_codes(self, country, hsCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2892,7 +2892,7 @@ def list_cross_border_codes(self, country, hsCode, include=None):
"""
def list_cross_border_sections(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/crossborder/sections'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2913,7 +2913,7 @@ def list_cross_border_sections(self):
"""
def list_currencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/currencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2936,7 +2936,7 @@ def list_currencies(self, include=None):
"""
def list_entity_use_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/entityusecodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2956,7 +2956,7 @@ def list_entity_use_codes(self, include=None):
"""
def list_filing_frequencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/filingfrequencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2978,7 +2978,7 @@ def list_filing_frequencies(self, include=None):
"""
def list_jurisdictions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3008,7 +3008,7 @@ def list_jurisdictions(self, include=None):
"""
def list_jurisdictions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictionsnearaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3036,7 +3036,7 @@ def list_jurisdictions_by_address(self, include=None):
"""
def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictions/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3055,7 +3055,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t
"""
def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictionTypes/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3088,7 +3088,7 @@ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxType
"""
def list_location_questions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/locationquestions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3109,7 +3109,7 @@ def list_location_questions_by_address(self, include=None):
"""
def list_login_verifiers(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3128,7 +3128,7 @@ def list_login_verifiers(self, include=None):
"""
def list_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/marketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3148,7 +3148,7 @@ def list_marketplace_locations(self, include=None):
"""
def list_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3178,7 +3178,7 @@ def list_nexus(self, include=None):
"""
def list_nexus_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3199,7 +3199,7 @@ def list_nexus_by_address(self, include=None):
"""
def list_nexus_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3221,7 +3221,7 @@ def list_nexus_by_country(self, country, include=None):
"""
def list_nexus_by_country_and_region(self, country, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/{}/{}'.format(self.base_url, country, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3246,7 +3246,7 @@ def list_nexus_by_country_and_region(self, country, region, include=None):
"""
def list_nexus_by_form_code(self, formCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/byform/{}'.format(self.base_url, formCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3267,7 +3267,7 @@ def list_nexus_by_form_code(self, formCode):
"""
def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/bytaxtypegroup/{}'.format(self.base_url, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3287,7 +3287,7 @@ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
"""
def list_nexus_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexustaxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3307,7 +3307,7 @@ def list_nexus_tax_type_groups(self, include=None):
"""
def list_notice_customer_funding_options(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticecustomerfundingoptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3327,7 +3327,7 @@ def list_notice_customer_funding_options(self, include=None):
"""
def list_notice_customer_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticecustomertypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3347,7 +3347,7 @@ def list_notice_customer_types(self, include=None):
"""
def list_notice_filingtypes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticefilingtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3367,7 +3367,7 @@ def list_notice_filingtypes(self, include=None):
"""
def list_notice_priorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticepriorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3387,7 +3387,7 @@ def list_notice_priorities(self, include=None):
"""
def list_notice_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticereasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3407,7 +3407,7 @@ def list_notice_reasons(self, include=None):
"""
def list_notice_responsibilities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticeresponsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3427,7 +3427,7 @@ def list_notice_responsibilities(self, include=None):
"""
def list_notice_root_causes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticerootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3447,7 +3447,7 @@ def list_notice_root_causes(self, include=None):
"""
def list_notice_statuses(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticestatuses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3467,7 +3467,7 @@ def list_notice_statuses(self, include=None):
"""
def list_notice_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3488,7 +3488,7 @@ def list_notice_types(self, include=None):
"""
def list_parameters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/parameters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3508,7 +3508,7 @@ def list_parameters(self, include=None):
"""
def list_parameters_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/accounts/{}/parameters'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3542,7 +3542,7 @@ def list_parameters_by_account(self, accountId, include=None):
"""
def list_parameters_by_item(self, companyCode, itemCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -3555,7 +3555,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None):
This list of parameters is available for use when configuring your transaction.
Some parameters are only available for use if you have subscribed to certain features of AvaTax.
- :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:* values
+ :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:* values, valueDescriptions
: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`.
@@ -3563,7 +3563,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None):
"""
def list_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3581,7 +3581,7 @@ def list_parameters_usage(self, include=None):
"""
def list_permissions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/permissions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3601,7 +3601,7 @@ def list_permissions(self, include=None):
"""
def list_postal_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/postalcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3626,7 +3626,7 @@ def list_postal_codes(self, include=None):
"""
def list_preferred_programs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/preferredprograms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3648,7 +3648,7 @@ def list_preferred_programs(self, include=None):
"""
def list_product_classification_systems(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/productclassificationsystems'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3677,7 +3677,7 @@ def list_product_classification_systems(self, include=None):
"""
def list_product_classification_systems_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -3698,7 +3698,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No
"""
def list_rate_types_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries/{}/ratetypes'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3721,7 +3721,7 @@ def list_rate_types_by_country(self, country, include=None):
"""
def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries/{}/taxtypes/{}/taxsubtypes/{}/ratetypes'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3742,7 +3742,7 @@ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, t
"""
def list_regions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/regions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3764,7 +3764,7 @@ def list_regions(self, include=None):
"""
def list_regions_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries/{}/regions'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3790,7 +3790,7 @@ def list_regions_by_country(self, country, include=None):
"""
def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/companies/{}/countries/{}/regions/taxtypes/{}/taxsubtypes/{}/rateTypeId/{}/jurisdictionTypeId/{}'.format(self.base_url, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3810,7 +3810,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co
"""
def list_resource_file_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/resourcefiletypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3831,7 +3831,7 @@ def list_resource_file_types(self, include=None):
"""
def list_returns_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/returns/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3852,7 +3852,7 @@ def list_returns_parameters_usage(self, include=None):
"""
def list_security_roles(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/securityroles'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3874,7 +3874,7 @@ def list_security_roles(self, include=None):
"""
def list_subscription_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/subscriptiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3893,7 +3893,7 @@ def list_subscription_types(self, include=None):
"""
def list_tags(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/tags'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3913,7 +3913,7 @@ def list_tags(self, include=None):
"""
def list_tax_authorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxauthorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3935,7 +3935,7 @@ def list_tax_authorities(self, include=None):
"""
def list_tax_authority_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxauthorityforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3955,7 +3955,7 @@ def list_tax_authority_forms(self, include=None):
"""
def list_tax_authority_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxauthoritytypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3980,7 +3980,7 @@ def list_tax_authority_types(self, include=None):
"""
def list_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3999,7 +3999,7 @@ def list_tax_codes(self, include=None):
"""
def list_tax_code_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxcodetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4019,7 +4019,7 @@ def list_tax_code_types(self, include=None):
"""
def list_tax_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4039,7 +4039,7 @@ def list_tax_forms(self, include=None):
"""
def list_tax_sub_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxsubtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4062,7 +4062,7 @@ def list_tax_sub_types(self, include=None):
"""
def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxsubtypes/countries/{}/taxtypes/{}'.format(self.base_url, country, taxTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4084,7 +4084,7 @@ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include
"""
def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxsubtypes/{}/{}'.format(self.base_url, jurisdictionCode, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4104,7 +4104,7 @@ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region
"""
def list_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4124,7 +4124,7 @@ def list_tax_type_groups(self, include=None):
"""
def list_tax_types_by_nexus_and_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxtypes/countries/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4146,7 +4146,7 @@ def list_tax_types_by_nexus_and_country(self, country, include=None):
"""
def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/unitofbasis/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4166,7 +4166,7 @@ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(se
"""
def list_unit_of_measurement(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/unitofmeasurements'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4188,7 +4188,7 @@ def list_unit_of_measurement(self, include=None):
"""
def create_distance_threshold(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4210,7 +4210,7 @@ def create_distance_threshold(self, companyId, model):
"""
def delete_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4232,7 +4232,7 @@ def delete_distance_threshold(self, companyId, id_):
"""
def get_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4258,7 +4258,7 @@ def get_distance_threshold(self, companyId, id_):
"""
def list_distance_thresholds(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4285,7 +4285,7 @@ def list_distance_thresholds(self, companyId, include=None):
"""
def query_distance_thresholds(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/distancethresholds'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4310,7 +4310,7 @@ def query_distance_thresholds(self, include=None):
"""
def update_distance_threshold(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4330,7 +4330,7 @@ def update_distance_threshold(self, companyId, id_, model):
"""
def create_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4350,7 +4350,7 @@ def create_e_commerce_token(self, companyId, model):
"""
def refresh_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4368,7 +4368,7 @@ def refresh_e_commerce_token(self, companyId, model):
"""
def approve_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/approve'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4392,7 +4392,7 @@ def approve_firm_client_linkage(self, id_):
"""
def create_and_link_new_firm_client_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/createandlinkclient'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4410,7 +4410,7 @@ def create_and_link_new_firm_client_account(self, model):
"""
def create_firm_client_linkage(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4428,7 +4428,7 @@ def create_firm_client_linkage(self, model):
"""
def delete_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4446,7 +4446,7 @@ def delete_firm_client_linkage(self, id_):
"""
def get_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4464,7 +4464,7 @@ def get_firm_client_linkage(self, id_):
"""
def list_firm_client_linkage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4482,7 +4482,7 @@ def list_firm_client_linkage(self, include=None):
"""
def reject_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/reject'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4500,7 +4500,7 @@ def reject_firm_client_linkage(self, id_):
"""
def reset_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/reset'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4518,7 +4518,7 @@ def reset_firm_client_linkage(self, id_):
"""
def revoke_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/revoke'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4542,7 +4542,7 @@ def revoke_firm_client_linkage(self, id_):
"""
def request_free_trial(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/freetrials/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4574,7 +4574,7 @@ def request_free_trial(self, model):
"""
def activate_funding_request(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/fundingrequests/{}/widget'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4604,7 +4604,7 @@ def activate_funding_request(self, id_, include=None):
"""
def funding_request_status(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/fundingrequests/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4625,7 +4625,7 @@ def funding_request_status(self, id_, include=None):
"""
def batch_delete_item_classifications(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4647,7 +4647,7 @@ def batch_delete_item_classifications(self, companyId, itemId):
"""
def batch_delete_item_parameters(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4672,7 +4672,7 @@ def batch_delete_item_parameters(self, companyId, itemId):
"""
def bulk_upload_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/upload'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4695,7 +4695,7 @@ def bulk_upload_items(self, companyId, model):
"""
def create_item_classifications(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4720,7 +4720,7 @@ def create_item_classifications(self, companyId, itemId, model):
"""
def create_item_parameters(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4745,7 +4745,7 @@ def create_item_parameters(self, companyId, itemId, model):
"""
def create_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4766,7 +4766,7 @@ def create_items(self, companyId, model):
"""
def create_item_tags(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4788,7 +4788,7 @@ def create_item_tags(self, companyId, itemId, model):
"""
def create_tax_code_classification_request(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4818,7 +4818,7 @@ def create_tax_code_classification_request(self, companyId, model):
"""
def delete_catalogue_item(self, companyId, itemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/itemcatalogue/{}'.format(self.base_url, companyId, itemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4843,7 +4843,7 @@ def delete_catalogue_item(self, companyId, itemCode):
"""
def delete_item(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4865,7 +4865,7 @@ def delete_item(self, companyId, id_):
"""
def delete_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4888,7 +4888,7 @@ def delete_item_classification(self, companyId, itemId, id_):
"""
def delete_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4909,7 +4909,7 @@ def delete_item_parameter(self, companyId, itemId, id_):
"""
def delete_item_tag(self, companyId, itemId, itemTagDetailId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags/{}'.format(self.base_url, companyId, itemId, itemTagDetailId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4929,7 +4929,7 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId):
"""
def delete_item_tags(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4956,7 +4956,7 @@ def delete_item_tags(self, companyId, itemId):
"""
def get_classification_status(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4981,7 +4981,7 @@ def get_classification_status(self, companyId, include=None):
"""
def get_item(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5003,7 +5003,7 @@ def get_item(self, companyId, id_, include=None):
"""
def get_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5026,7 +5026,7 @@ def get_item_classification(self, companyId, itemId, id_):
"""
def get_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5049,7 +5049,7 @@ def get_item_parameter(self, companyId, itemId, id_):
"""
def get_item_tags(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5077,7 +5077,7 @@ def get_item_tags(self, companyId, itemId, include=None):
"""
def get_premium_classification(self, companyId, itemCode, systemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/premiumClassification/{}'.format(self.base_url, companyId, itemCode, systemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5103,7 +5103,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
"""
def get_tax_code_recommendations(self, companyId, requestId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode/{}/recommendations'.format(self.base_url, companyId, requestId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5134,7 +5134,7 @@ def get_tax_code_recommendations(self, companyId, requestId, include=None):
"""
def list_import_restrictions(self, companyId, itemCode, countryOfImport, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/restrictions/import/{}'.format(self.base_url, companyId, itemCode, countryOfImport),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5161,7 +5161,7 @@ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include
"""
def list_item_classifications(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5189,7 +5189,7 @@ def list_item_classifications(self, companyId, itemId, include=None):
"""
def list_item_parameters(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5226,7 +5226,7 @@ def list_item_parameters(self, companyId, itemId, include=None):
"""
def list_items_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5255,7 +5255,7 @@ def list_items_by_company(self, companyId, include=None):
"""
def query_items(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/items'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5286,7 +5286,7 @@ def query_items(self, include=None):
"""
def query_items_by_tag(self, companyId, tag, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/bytags/{}'.format(self.base_url, companyId, tag),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5309,7 +5309,7 @@ def query_items_by_tag(self, companyId, tag, include=None):
"""
def sync_item_catalogue(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/itemcatalogue'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5336,7 +5336,7 @@ def sync_item_catalogue(self, companyId, model):
"""
def sync_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/sync'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5364,7 +5364,7 @@ def sync_items(self, companyId, model):
"""
def update_item(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5388,7 +5388,7 @@ def update_item(self, companyId, id_, model):
"""
def update_item_classification(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5412,7 +5412,7 @@ def update_item_classification(self, companyId, itemId, id_, model):
"""
def update_item_parameter(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5435,7 +5435,7 @@ def update_item_parameter(self, companyId, itemId, id_, model):
"""
def create_jurisdiction_overrides(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5454,7 +5454,7 @@ def create_jurisdiction_overrides(self, accountId, model):
"""
def delete_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5477,7 +5477,7 @@ def delete_jurisdiction_override(self, accountId, id_):
"""
def get_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5506,7 +5506,7 @@ def get_jurisdiction_override(self, accountId, id_):
"""
def list_jurisdiction_overrides_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5534,7 +5534,7 @@ def list_jurisdiction_overrides_by_account(self, accountId, include=None):
"""
def query_jurisdiction_overrides(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/jurisdictionoverrides'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5554,7 +5554,7 @@ def query_jurisdiction_overrides(self, include=None):
"""
def update_jurisdiction_override(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5579,7 +5579,7 @@ def update_jurisdiction_override(self, accountId, id_, model):
"""
def create_location_parameters(self, companyId, locationId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5598,7 +5598,7 @@ def create_location_parameters(self, companyId, locationId, model):
"""
def create_locations(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5617,7 +5617,7 @@ def create_locations(self, companyId, model):
"""
def delete_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5640,7 +5640,7 @@ def delete_location(self, companyId, id_):
"""
def delete_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5667,7 +5667,7 @@ def delete_location_parameter(self, companyId, locationId, id_):
"""
def get_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5690,7 +5690,7 @@ def get_location(self, companyId, id_, include=None):
"""
def get_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5718,7 +5718,7 @@ def get_location_parameter(self, companyId, locationId, id_):
"""
def list_location_parameters(self, companyId, locationId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5750,7 +5750,7 @@ def list_location_parameters(self, companyId, locationId, include=None):
"""
def list_locations_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5781,7 +5781,7 @@ def list_locations_by_company(self, companyId, include=None):
"""
def query_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/locations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5803,7 +5803,7 @@ def query_locations(self, include=None):
"""
def update_location(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5827,7 +5827,7 @@ def update_location(self, companyId, id_, model):
"""
def update_location_parameter(self, companyId, locationId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5848,7 +5848,7 @@ def update_location_parameter(self, companyId, locationId, id_, model):
"""
def validate_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/validate'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5882,7 +5882,7 @@ def validate_location(self, companyId, id_):
"""
def adjust_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/adjust'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5919,7 +5919,7 @@ def adjust_multi_document_transaction(self, code, type, model, include=None):
"""
def audit_multi_document_transaction(self, code, type):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}/audit'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5949,7 +5949,7 @@ def audit_multi_document_transaction(self, code, type):
"""
def commit_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/commit'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5999,7 +5999,7 @@ def commit_multi_document_transaction(self, model):
"""
def create_multi_document_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6035,7 +6035,7 @@ def create_multi_document_transaction(self, model, include=None):
"""
def get_multi_document_transaction_by_code_and_type(self, code, type, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6077,7 +6077,7 @@ def get_multi_document_transaction_by_code_and_type(self, code, type, include=No
"""
def get_multi_document_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6120,7 +6120,7 @@ def get_multi_document_transaction_by_id(self, id_, include=None):
"""
def list_multi_document_transactions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6175,7 +6175,7 @@ def list_multi_document_transactions(self, include=None):
"""
def refund_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/refund'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6204,7 +6204,7 @@ def refund_multi_document_transaction(self, code, type, model, include=None):
"""
def verify_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/verify'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6237,7 +6237,7 @@ def verify_multi_document_transaction(self, model):
"""
def void_multi_document_transaction(self, code, type, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/void'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6269,7 +6269,7 @@ def void_multi_document_transaction(self, code, type, model):
"""
def create_nexus(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6294,7 +6294,7 @@ def create_nexus(self, companyId, model):
"""
def create_nexus_parameters(self, companyId, nexusId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6323,7 +6323,7 @@ def create_nexus_parameters(self, companyId, nexusId, model):
"""
def declare_nexus_by_address(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/nexus/byaddress'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6348,7 +6348,7 @@ def declare_nexus_by_address(self, companyId, model):
"""
def delete_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6371,7 +6371,7 @@ def delete_nexus(self, companyId, id_, include=None):
"""
def delete_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6393,7 +6393,7 @@ def delete_nexus_parameter(self, companyId, nexusId, id_):
"""
def delete_nexus_parameters(self, companyId, nexusId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6418,7 +6418,7 @@ def delete_nexus_parameters(self, companyId, nexusId):
"""
def get_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6446,7 +6446,7 @@ def get_nexus(self, companyId, id_, include=None):
"""
def get_nexus_by_form_code(self, companyId, formCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/byform/{}'.format(self.base_url, companyId, formCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6469,7 +6469,7 @@ def get_nexus_by_form_code(self, companyId, formCode, include=None):
"""
def get_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6499,7 +6499,7 @@ def get_nexus_parameter(self, companyId, nexusId, id_):
"""
def list_nexus_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6530,7 +6530,7 @@ def list_nexus_by_company(self, companyId, include=None):
"""
def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/byTaxTypeGroup/{}'.format(self.base_url, companyId, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6558,7 +6558,7 @@ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, incl
"""
def list_nexus_parameters(self, companyId, nexusId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6587,7 +6587,7 @@ def list_nexus_parameters(self, companyId, nexusId, include=None):
"""
def query_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6620,7 +6620,7 @@ def query_nexus(self, include=None):
"""
def update_nexus(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6644,7 +6644,7 @@ def update_nexus(self, companyId, id_, model):
"""
def update_nexus_parameter(self, companyId, nexusId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6663,7 +6663,7 @@ def update_nexus_parameter(self, companyId, nexusId, id_, model):
"""
def create_notice_responsibility_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/notices/responsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6682,7 +6682,7 @@ def create_notice_responsibility_type(self, model):
"""
def create_notice_root_cause_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/notices/rootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6700,7 +6700,7 @@ def create_notice_root_cause_type(self, model):
"""
def delete_notice_responsibility_type(self, responsibilityId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/notices/responsibilities/{}'.format(self.base_url, responsibilityId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6718,7 +6718,7 @@ def delete_notice_responsibility_type(self, responsibilityId):
"""
def delete_notice_root_cause_type(self, rootCauseId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/notices/rootcauses/{}'.format(self.base_url, rootCauseId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6745,7 +6745,7 @@ def delete_notice_root_cause_type(self, rootCauseId):
"""
def dismiss_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/notifications/{}/dismiss'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6768,7 +6768,7 @@ def dismiss_notification(self, id_):
"""
def get_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6796,7 +6796,7 @@ def get_notification(self, id_):
"""
def list_notifications(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6826,7 +6826,7 @@ def list_notifications(self, include=None):
"""
def request_new_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6848,7 +6848,7 @@ def request_new_account(self, model):
"""
def request_new_entitlement(self, id_, offer):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/entitlements/{}'.format(self.base_url, id_, offer),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6869,7 +6869,7 @@ def request_new_entitlement(self, id_, offer):
"""
def create_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6896,7 +6896,7 @@ def create_account(self, model):
"""
def create_notifications(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6918,7 +6918,7 @@ def create_notifications(self, model):
"""
def create_subscriptions(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6939,7 +6939,7 @@ def create_subscriptions(self, accountId, model):
"""
def delete_account(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6964,7 +6964,7 @@ def delete_account(self, id_):
"""
def delete_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6985,7 +6985,7 @@ def delete_notification(self, id_):
"""
def delete_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7011,7 +7011,7 @@ def delete_subscription(self, accountId, id_):
"""
def list_service_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/servicetypes/servicetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7036,7 +7036,7 @@ def list_service_types(self, include=None):
"""
def reset_password(self, userId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/passwords/{}/reset'.format(self.base_url, userId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7057,7 +7057,7 @@ def reset_password(self, userId, model, include=None):
"""
def update_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7083,7 +7083,7 @@ def update_account(self, id_, model):
"""
def update_notification(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7109,7 +7109,7 @@ def update_notification(self, id_, model):
"""
def update_subscription(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7136,7 +7136,7 @@ def update_subscription(self, accountId, id_, model):
"""
def download_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/reports/{}/attachment'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7159,7 +7159,7 @@ def download_report(self, id_):
"""
def get_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/reports/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7191,7 +7191,7 @@ def get_report(self, id_):
"""
def initiate_export_document_line_report(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/reports/exportdocumentline/initiate'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7219,7 +7219,7 @@ def initiate_export_document_line_report(self, companyId, model):
"""
def list_reports(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/reports'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7248,7 +7248,7 @@ def list_reports(self, include=None):
"""
def create_settings(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7274,7 +7274,7 @@ def create_settings(self, companyId, model):
"""
def delete_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7300,7 +7300,7 @@ def delete_setting(self, companyId, id_):
"""
def get_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7332,7 +7332,7 @@ def get_setting(self, companyId, id_):
"""
def list_settings_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7363,7 +7363,7 @@ def list_settings_by_company(self, companyId, include=None):
"""
def query_settings(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/settings'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7392,7 +7392,7 @@ def query_settings(self, include=None):
"""
def update_setting(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7413,7 +7413,7 @@ def update_setting(self, companyId, id_, model):
"""
def get_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7439,7 +7439,7 @@ def get_subscription(self, accountId, id_):
"""
def list_subscriptions_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7464,7 +7464,7 @@ def list_subscriptions_by_account(self, accountId, include=None):
"""
def query_subscriptions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/subscriptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7487,7 +7487,7 @@ def query_subscriptions(self, include=None):
"""
def create_tax_codes(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7506,7 +7506,7 @@ def create_tax_codes(self, companyId, model):
"""
def delete_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7529,7 +7529,7 @@ def delete_tax_code(self, companyId, id_):
"""
def get_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7558,7 +7558,7 @@ def get_tax_code(self, companyId, id_):
"""
def list_tax_codes_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7586,7 +7586,7 @@ def list_tax_codes_by_company(self, companyId, include=None):
"""
def query_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7612,7 +7612,7 @@ def query_tax_codes(self, include=None):
"""
def update_tax_code(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7647,7 +7647,7 @@ def update_tax_code(self, companyId, id_, model):
"""
def build_tax_content_file(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/pointofsaledata/build'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7687,7 +7687,7 @@ def build_tax_content_file(self, model):
"""
def build_tax_content_file_for_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/pointofsaledata'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7738,7 +7738,7 @@ def build_tax_content_file_for_location(self, companyId, id_, include=None):
"""
def download_tax_rates_by_zip_code(self, date, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/taxratesbyzipcode/download/{}'.format(self.base_url, date),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7777,7 +7777,7 @@ def download_tax_rates_by_zip_code(self, date, include=None):
"""
def tax_rates_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/taxrates/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7812,13 +7812,36 @@ def tax_rates_by_address(self, include=None):
"""
def tax_rates_by_postal_code(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
r"""
Swagger Name: AvaTaxClient
+ Create new Country Coefficients. If already exist update them.
+
+ Create one or more Country Coefficients for particular country.
+ We would like to use country coefficients during Cross-Border calculations to slightly increase or decrease
+ a calculation for a line based on the tax-subtype and Country of destination for a transaction.
+ This will allow AvaTax to minimize the variance caused between actual transaction taken place on ground Vs Tax
+ Calculated by AvaTax.
+ Make sure to use the same API to update the country coefficients that is already present in the database.
+ This will make existing entry for specific country as ineffective for that date. And new entry created will get applicable
+ to the newer transactions.
+
+ :param model [CountryCoefficientsRequestEntity] The Country Coefficients for specific country you wish to create.
+ :return CountryCoefficientsResponseModel
+ """
+ def create_country_coefficients(self, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
+ 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)
+ r"""
+ Swagger Name: AvaTaxClient
+
Create a new tax rule
Create one or more custom tax rules attached to this company.
@@ -7840,7 +7863,7 @@ def tax_rates_by_postal_code(self, include=None):
"""
def create_tax_rules(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7868,7 +7891,7 @@ def create_tax_rules(self, companyId, model):
"""
def delete_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7896,13 +7919,36 @@ def delete_tax_rule(self, companyId, id_):
"""
def get_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
r"""
Swagger Name: AvaTaxClient
+ Retrieve country coefficients for specific country
+
+ Retrieve all or any specific records of Country Coefficients based on the filters(optional) for specific country.
+ Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .
+ Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.
+
+ :param country [string] Country for which data need to be pulled for.
+ :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:* CoefficientsId, AccountId, ModifiedUserId, CreatedUserId
+ :param include [string] A comma separated list of additional data to retrieve.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def list_country_coefficients(self, country, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
+ 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)
+ r"""
+ Swagger Name: AvaTaxClient
+
Retrieve tax rules for this company
List all taxrule objects attached to this company.
@@ -7930,7 +7976,7 @@ def get_tax_rule(self, companyId, id_):
"""
def list_tax_rules(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7963,7 +8009,7 @@ def list_tax_rules(self, companyId, include=None):
"""
def query_tax_rules(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7992,7 +8038,7 @@ def query_tax_rules(self, include=None):
"""
def update_tax_rule(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8012,6 +8058,7 @@ def update_tax_rule(self, companyId, id_, model):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8027,7 +8074,7 @@ def update_tax_rule(self, companyId, id_, model):
"""
def add_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8047,6 +8094,7 @@ def add_lines(self, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8072,7 +8120,7 @@ def add_lines(self, model, include=None):
"""
def adjust_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8109,7 +8157,7 @@ def adjust_transaction(self, companyCode, transactionCode, model, include=None):
"""
def audit_transaction(self, companyCode, transactionCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8147,7 +8195,7 @@ def audit_transaction(self, companyCode, transactionCode):
"""
def audit_transaction_with_type(self, companyCode, transactionCode, documentType):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8170,7 +8218,7 @@ def audit_transaction_with_type(self, companyCode, transactionCode, documentType
"""
def bulk_lock_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8189,6 +8237,7 @@ def bulk_lock_transaction(self, model):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8214,7 +8263,7 @@ def bulk_lock_transaction(self, model):
"""
def change_transaction_code(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8232,6 +8281,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8256,7 +8306,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N
"""
def commit_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8281,6 +8331,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8301,7 +8352,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_or_adjust_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8330,6 +8381,7 @@ def create_or_adjust_transaction(self, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8351,7 +8403,7 @@ def create_or_adjust_transaction(self, model, include=None):
"""
def create_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8368,6 +8420,7 @@ def create_transaction(self, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8383,7 +8436,7 @@ def create_transaction(self, model, include=None):
"""
def delete_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8401,7 +8454,7 @@ def delete_lines(self, model, include=None):
"""
def get_all_variance_report_by_company_code(self, companyCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8419,6 +8472,7 @@ def get_all_variance_report_by_company_code(self, companyCode):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8442,7 +8496,7 @@ def get_all_variance_report_by_company_code(self, companyCode):
"""
def get_transaction_by_code(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8471,7 +8525,7 @@ def get_transaction_by_code(self, companyCode, transactionCode, include=None):
"""
def get_transaction_by_code_and_type(self, companyCode, transactionCode, documentType, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8487,6 +8541,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8502,7 +8557,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen
"""
def get_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8521,7 +8576,7 @@ def get_transaction_by_id(self, id_, include=None):
"""
def get_variance_report_by_company_code_by_transaction_id(self, companyCode, transactionId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8541,6 +8596,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8567,7 +8623,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra
"""
def list_transactions_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8586,6 +8642,7 @@ def list_transactions_by_company(self, companyCode, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8611,7 +8668,7 @@ def list_transactions_by_company(self, companyCode, include=None):
"""
def lock_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8638,6 +8695,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8665,7 +8723,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None):
"""
def refund_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8683,6 +8741,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8707,7 +8766,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None):
"""
def settle_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8722,6 +8781,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8746,7 +8806,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None):
"""
def uncommit_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8759,6 +8819,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8783,7 +8844,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None):
"""
def unvoid_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8802,7 +8863,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None):
"""
def variance_report(self, companyCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8819,6 +8880,7 @@ def variance_report(self, companyCode, model):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8844,7 +8906,7 @@ def variance_report(self, companyCode, model):
"""
def verify_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8862,6 +8924,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8887,7 +8950,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None):
"""
def void_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8908,7 +8971,7 @@ def void_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_u_p_cs(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8928,7 +8991,7 @@ def create_u_p_cs(self, companyId, model):
"""
def delete_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8949,7 +9012,7 @@ def delete_u_p_c(self, companyId, id_):
"""
def get_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8976,7 +9039,7 @@ def get_u_p_c(self, companyId, id_):
"""
def list_u_p_cs_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9002,7 +9065,7 @@ def list_u_p_cs_by_company(self, companyId, include=None):
"""
def query_u_p_cs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9026,7 +9089,7 @@ def query_u_p_cs(self, include=None):
"""
def update_u_p_c(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9046,7 +9109,7 @@ def update_u_p_c(self, companyId, id_, model):
"""
def delete_user_defined_field(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9066,7 +9129,7 @@ def delete_user_defined_field(self, companyId, id_):
"""
def list_user_defined_fields_by_company_id(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9087,7 +9150,7 @@ def list_user_defined_fields_by_company_id(self, companyId, include=None):
"""
def update_user_defined_field(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9109,7 +9172,7 @@ def update_user_defined_field(self, companyId, model, include=None):
"""
def change_password(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9133,7 +9196,7 @@ def change_password(self, model):
"""
def create_users(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9155,7 +9218,7 @@ def create_users(self, accountId, model):
"""
def delete_user(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9178,7 +9241,7 @@ def delete_user(self, id_, accountId):
"""
def get_user(self, id_, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9209,7 +9272,7 @@ def get_user(self, id_, accountId, include=None):
"""
def get_user_entitlements(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9239,7 +9302,7 @@ def get_user_entitlements(self, id_, accountId):
"""
def list_users_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9269,7 +9332,7 @@ def list_users_by_account(self, accountId, include=None):
"""
def query_users(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9292,7 +9355,7 @@ def query_users(self, include=None):
"""
def update_user(self, id_, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9313,7 +9376,7 @@ def update_user(self, id_, accountId, model):
"""
def get_my_subscription(self, serviceTypeId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9333,7 +9396,7 @@ def get_my_subscription(self, serviceTypeId):
"""
def list_my_subscriptions(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9362,7 +9425,7 @@ def list_my_subscriptions(self):
"""
def ping(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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 c23098a..24d60a9 100644
--- a/src/client_methods.py
+++ b/src/client_methods.py
@@ -30,7 +30,7 @@ class Mixin:
"""
def account_reset_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/resetlicensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -55,7 +55,7 @@ def account_reset_license_key(self, id_, model):
"""
def activate_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/activate'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -86,7 +86,7 @@ def activate_account(self, id_, model):
"""
def audit_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/audit'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -111,7 +111,7 @@ def audit_account(self, id_, include=None):
"""
def create_license_key(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/licensekey'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -132,7 +132,7 @@ def create_license_key(self, id_, model):
"""
def delete_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -154,7 +154,7 @@ def delete_license_key(self, id_, licensekeyname):
"""
def get_account(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -180,7 +180,7 @@ def get_account(self, id_, include=None):
"""
def get_account_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -198,7 +198,7 @@ def get_account_configuration(self, id_):
"""
def get_license_key(self, id_, licensekeyname):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/licensekey/{}'.format(self.base_url, id_, licensekeyname),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -216,7 +216,7 @@ def get_license_key(self, id_, licensekeyname):
"""
def get_license_keys(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/licensekeys'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -245,7 +245,7 @@ def get_license_keys(self, id_):
"""
def query_accounts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -272,7 +272,7 @@ def query_accounts(self, include=None):
"""
def set_account_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -307,7 +307,7 @@ def set_account_configuration(self, id_, model):
"""
def resolve_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -331,7 +331,7 @@ def resolve_address(self, include=None):
"""
def resolve_address_post(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/addresses/resolve'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -349,7 +349,7 @@ def resolve_address_post(self, model):
"""
def create_company_lookup_file(self, accountId, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -366,7 +366,7 @@ def create_company_lookup_file(self, accountId, companyId, model):
"""
def delete_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -383,7 +383,7 @@ def delete_lookup_file(self, accountId, id_):
"""
def get_company_lookup_files(self, accountId, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/advancedrules/accounts/{}/companies/{}/lookupFiles'.format(self.base_url, accountId, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -400,7 +400,7 @@ def get_company_lookup_files(self, accountId, companyId):
"""
def get_lookup_file(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -418,7 +418,7 @@ def get_lookup_file(self, accountId, id_):
"""
def update_lookup_file(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/advancedrules/accounts/{}/lookupFiles/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -438,7 +438,7 @@ def update_lookup_file(self, accountId, id_, model):
"""
def create_ava_file_forms(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -457,7 +457,7 @@ def create_ava_file_forms(self, model):
"""
def delete_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -476,7 +476,7 @@ def delete_ava_file_form(self, id_):
"""
def get_ava_file_form(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -499,7 +499,7 @@ def get_ava_file_form(self, id_):
"""
def query_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -520,7 +520,7 @@ def query_ava_file_forms(self, include=None):
"""
def update_ava_file_form(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/avafileforms/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -547,7 +547,7 @@ def update_ava_file_form(self, id_, model):
"""
def cancel_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/batches/{}/cancel'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -580,7 +580,7 @@ def cancel_batch(self, companyId, id_):
"""
def create_batches(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -612,7 +612,7 @@ def create_batches(self, companyId, model):
"""
def create_transaction_batch(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/batches/transactions'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -638,7 +638,7 @@ def create_transaction_batch(self, companyId, model):
"""
def delete_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -658,7 +658,7 @@ def delete_batch(self, companyId, id_):
"""
def download_batch(self, companyId, batchId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/batches/{}/files/{}/attachment'.format(self.base_url, companyId, batchId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -688,7 +688,7 @@ def download_batch(self, companyId, batchId, id_):
"""
def get_batch(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/batches/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -726,7 +726,7 @@ def get_batch(self, companyId, id_):
"""
def list_batches_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/batches'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -761,7 +761,7 @@ def list_batches_by_company(self, companyId, include=None):
"""
def query_batches(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/batches'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -793,7 +793,7 @@ def query_batches(self, include=None):
"""
def create_cert_express_invitation(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/{}/certexpressinvites'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -826,7 +826,7 @@ def create_cert_express_invitation(self, companyId, customerCode, model):
"""
def get_cert_express_invitation(self, companyId, customerCode, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/certexpressinvites/{}'.format(self.base_url, companyId, customerCode, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -861,7 +861,7 @@ def get_cert_express_invitation(self, companyId, customerCode, id_, include=None
"""
def list_cert_express_invitations(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certexpressinvites'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -897,7 +897,7 @@ def list_cert_express_invitations(self, companyId, include=None):
"""
def create_certificates(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -926,7 +926,7 @@ def create_certificates(self, companyId, model, include=None):
"""
def delete_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -958,7 +958,7 @@ def delete_certificate(self, companyId, id_):
"""
def download_certificate_image(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -991,7 +991,7 @@ def download_certificate_image(self, companyId, id_, include=None):
"""
def get_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1015,7 +1015,7 @@ def get_certificate(self, companyId, id_, include=None):
"""
def get_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1046,7 +1046,7 @@ def get_certificate_setup(self, companyId):
"""
def link_attributes_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1078,7 +1078,7 @@ def link_attributes_to_certificate(self, companyId, id_, model):
"""
def link_customers_to_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/link'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1108,7 +1108,7 @@ def link_customers_to_certificate(self, companyId, id_, model):
"""
def list_attributes_for_certificate(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates/{}/attributes'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1139,7 +1139,7 @@ def list_attributes_for_certificate(self, companyId, id_):
"""
def list_customers_for_certificate(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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):
"""
def query_certificates(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certificates'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1200,7 +1200,7 @@ def query_certificates(self, companyId, include=None):
"""
def request_certificate_setup(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/setup'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1231,7 +1231,7 @@ def request_certificate_setup(self, companyId):
"""
def unlink_attributes_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attributes/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1264,7 +1264,7 @@ def unlink_attributes_from_certificate(self, companyId, id_, model):
"""
def unlink_customers_from_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/customers/unlink'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1293,7 +1293,7 @@ def unlink_customers_from_certificate(self, companyId, id_, model):
"""
def update_certificate(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/certificates/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1324,7 +1324,7 @@ def update_certificate(self, companyId, id_, model):
"""
def upload_certificate_image(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/certificates/{}/attachment'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1363,7 +1363,7 @@ def upload_certificate_image(self, companyId, id_):
"""
def certify_integration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/certify'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1390,7 +1390,7 @@ def certify_integration(self, id_):
"""
def change_filing_status(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1417,7 +1417,7 @@ def change_filing_status(self, id_, model):
"""
def company_initialize(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/initialize'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1438,7 +1438,7 @@ def company_initialize(self, model):
"""
def create_companies(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1462,7 +1462,7 @@ def create_companies(self, model):
"""
def create_company_parameters(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1493,7 +1493,7 @@ def create_company_parameters(self, companyId, model):
"""
def create_funding_request(self, id_, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/funding/setup'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1511,7 +1511,7 @@ def create_funding_request(self, id_, model, include=None):
"""
def delete_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1533,7 +1533,7 @@ def delete_company(self, id_):
"""
def delete_company_parameter(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1555,7 +1555,7 @@ def delete_company_parameter(self, companyId, id_):
"""
def funding_configuration_by_company(self, companyId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/funding/configuration'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1578,7 +1578,7 @@ def funding_configuration_by_company(self, companyId):
"""
def funding_configurations_by_company_and_currency(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/funding/configurations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1608,7 +1608,7 @@ def funding_configurations_by_company_and_currency(self, companyId, include=None
"""
def get_company(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1634,7 +1634,7 @@ def get_company(self, id_, include=None):
"""
def get_company_configuration(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1656,7 +1656,7 @@ def get_company_configuration(self, id_):
"""
def get_company_parameter_detail(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1684,7 +1684,7 @@ def get_company_parameter_detail(self, companyId, id_):
"""
def get_filing_status(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/filingstatus'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1708,7 +1708,7 @@ def get_filing_status(self, id_):
"""
def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/paymentdetails/{}/{}'.format(self.base_url, id_, periodyear, periodmonth),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1735,7 +1735,7 @@ def list_a_c_h_entry_details_for_company(self, id_, periodyear, periodmonth):
"""
def list_company_parameter_details(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/parameters'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1757,7 +1757,7 @@ def list_company_parameter_details(self, companyId, include=None):
"""
def list_funding_requests_by_company(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/funding'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1775,7 +1775,7 @@ def list_funding_requests_by_company(self, id_):
"""
def list_mrs_companies(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/mrs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1810,7 +1810,7 @@ def list_mrs_companies(self):
"""
def query_companies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1837,7 +1837,7 @@ def query_companies(self, include=None):
"""
def set_company_configuration(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/configuration'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1862,7 +1862,7 @@ def set_company_configuration(self, id_, model):
"""
def update_company(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1885,7 +1885,7 @@ def update_company(self, id_, model):
"""
def update_company_parameter_detail(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/parameters/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1906,7 +1906,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def create_contacts(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1925,7 +1925,7 @@ def create_contacts(self, companyId, model):
"""
def delete_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1946,7 +1946,7 @@ def delete_contact(self, companyId, id_):
"""
def get_contact(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/contacts/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1970,7 +1970,7 @@ def get_contact(self, companyId, id_):
"""
def list_contacts_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/contacts'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1995,7 +1995,7 @@ def list_contacts_by_company(self, companyId, include=None):
"""
def query_contacts(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/contacts'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2019,7 +2019,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","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -2050,7 +2050,7 @@ def update_contact(self, companyId, id_, model):
"""
def create_customers(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2079,7 +2079,7 @@ def create_customers(self, companyId, model):
"""
def delete_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2113,7 +2113,7 @@ def delete_customer(self, companyId, customerCode):
"""
def get_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2145,7 +2145,7 @@ def get_customer(self, companyId, customerCode, include=None):
"""
def link_attributes_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2175,7 +2175,7 @@ def link_attributes_to_customer(self, companyId, customerCode, model):
"""
def link_certificates_to_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/link'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2205,7 +2205,7 @@ def link_certificates_to_customer(self, companyId, customerCode, model):
"""
def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/billto/{}/shipto/link'.format(self.base_url, companyId, code),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2236,7 +2236,7 @@ def link_ship_to_customers_to_bill_customer(self, companyId, code, model):
"""
def list_attributes_for_customer(self, companyId, customerCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/attributes'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2270,7 +2270,7 @@ def list_attributes_for_customer(self, companyId, customerCode):
"""
def list_certificates_for_customer(self, companyId, customerCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2303,7 +2303,7 @@ def list_certificates_for_customer(self, companyId, customerCode, include=None):
"""
def list_valid_certificates_for_customer(self, companyId, customerCode, country, region):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers/{}/certificates/{}/{}'.format(self.base_url, companyId, customerCode, country, region),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2339,7 +2339,7 @@ def list_valid_certificates_for_customer(self, companyId, customerCode, country,
"""
def query_customers(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/customers'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2371,7 +2371,7 @@ def query_customers(self, companyId, include=None):
"""
def unlink_attributes_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/customers/{}/attributes/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2401,7 +2401,7 @@ def unlink_attributes_from_customer(self, companyId, customerCode, model):
"""
def unlink_certificates_from_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/customers/{}/certificates/unlink'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2431,7 +2431,7 @@ def unlink_certificates_from_customer(self, companyId, customerCode, model):
"""
def update_customer(self, companyId, customerCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/customers/{}'.format(self.base_url, companyId, customerCode),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2451,7 +2451,7 @@ def update_customer(self, companyId, customerCode, model):
"""
def create_data_sources(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2471,7 +2471,7 @@ def create_data_sources(self, companyId, model):
"""
def delete_data_source(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2491,7 +2491,7 @@ def delete_data_source(self, companyId, id_):
"""
def get_data_source_by_id(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2514,7 +2514,7 @@ def get_data_source_by_id(self, companyId, id_):
"""
def list_data_sources(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/datasources'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2538,7 +2538,7 @@ def list_data_sources(self, companyId, include=None):
"""
def query_data_sources(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/datasources'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2559,7 +2559,7 @@ def query_data_sources(self, include=None):
"""
def update_data_source(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/datasources/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2584,7 +2584,7 @@ def update_data_source(self, companyId, id_, model):
"""
def get_cross_border_code(self, country, hsCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}/hierarchy'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2605,7 +2605,7 @@ def get_cross_border_code(self, country, hsCode):
"""
def get_login_verifier_by_form(self, form, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers/{}'.format(self.base_url, form),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2624,7 +2624,7 @@ def get_login_verifier_by_form(self, form, include=None):
"""
def list_all_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/listallmarketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2646,7 +2646,7 @@ def list_all_marketplace_locations(self, include=None):
"""
def list_ava_file_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/avafileforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2670,7 +2670,7 @@ def list_ava_file_forms(self, include=None):
"""
def list_certificate_attributes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/certificateattributes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2693,7 +2693,7 @@ def list_certificate_attributes(self, include=None):
"""
def list_certificate_exempt_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/certificateexemptreasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2716,7 +2716,7 @@ def list_certificate_exempt_reasons(self, include=None):
"""
def list_certificate_exposure_zones(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/certificateexposurezones'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2737,7 +2737,7 @@ def list_certificate_exposure_zones(self, include=None):
"""
def list_classification_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/classification/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2757,7 +2757,7 @@ def list_classification_parameters_usage(self, include=None):
"""
def list_communications_service_types(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/communications/transactiontypes/{}/servicetypes'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2777,7 +2777,7 @@ def list_communications_service_types(self, id_, include=None):
"""
def list_communications_transaction_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/communications/transactiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2797,7 +2797,7 @@ def list_communications_transaction_types(self, include=None):
"""
def list_communications_t_s_pairs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/communications/tspairs'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2818,7 +2818,7 @@ def list_communications_t_s_pairs(self, include=None):
"""
def list_countries(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2842,7 +2842,7 @@ def list_countries(self, include=None):
"""
def list_cover_letters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/coverletters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2870,7 +2870,7 @@ def list_cover_letters(self, include=None):
"""
def list_cross_border_codes(self, country, hsCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/crossborder/{}/{}'.format(self.base_url, country, hsCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2891,7 +2891,7 @@ def list_cross_border_codes(self, country, hsCode, include=None):
"""
def list_cross_border_sections(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/crossborder/sections'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2912,7 +2912,7 @@ def list_cross_border_sections(self):
"""
def list_currencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/currencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2935,7 +2935,7 @@ def list_currencies(self, include=None):
"""
def list_entity_use_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/entityusecodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2955,7 +2955,7 @@ def list_entity_use_codes(self, include=None):
"""
def list_filing_frequencies(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/filingfrequencies'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -2977,7 +2977,7 @@ def list_filing_frequencies(self, include=None):
"""
def list_jurisdictions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3007,7 +3007,7 @@ def list_jurisdictions(self, include=None):
"""
def list_jurisdictions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictionsnearaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3035,7 +3035,7 @@ def list_jurisdictions_by_address(self, include=None):
"""
def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictions/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3054,7 +3054,7 @@ def list_jurisdictions_by_rate_type_tax_type_mapping(self, country, taxTypeId, t
"""
def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/jurisdictionTypes/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3087,7 +3087,7 @@ def list_jurisdiction_types_by_rate_type_tax_type_mapping(self, country, taxType
"""
def list_location_questions_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/locationquestions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3108,7 +3108,7 @@ def list_location_questions_by_address(self, include=None):
"""
def list_login_verifiers(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/filingcalendars/loginverifiers'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3127,7 +3127,7 @@ def list_login_verifiers(self, include=None):
"""
def list_marketplace_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/marketplacelocations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3147,7 +3147,7 @@ def list_marketplace_locations(self, include=None):
"""
def list_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3177,7 +3177,7 @@ def list_nexus(self, include=None):
"""
def list_nexus_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3198,7 +3198,7 @@ def list_nexus_by_address(self, include=None):
"""
def list_nexus_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3220,7 +3220,7 @@ def list_nexus_by_country(self, country, include=None):
"""
def list_nexus_by_country_and_region(self, country, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/{}/{}'.format(self.base_url, country, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3245,7 +3245,7 @@ def list_nexus_by_country_and_region(self, country, region, include=None):
"""
def list_nexus_by_form_code(self, formCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/byform/{}'.format(self.base_url, formCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3266,7 +3266,7 @@ def list_nexus_by_form_code(self, formCode):
"""
def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexus/bytaxtypegroup/{}'.format(self.base_url, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3286,7 +3286,7 @@ def list_nexus_by_tax_type_group(self, taxTypeGroup, include=None):
"""
def list_nexus_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/nexustaxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3306,7 +3306,7 @@ def list_nexus_tax_type_groups(self, include=None):
"""
def list_notice_customer_funding_options(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticecustomerfundingoptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3326,7 +3326,7 @@ def list_notice_customer_funding_options(self, include=None):
"""
def list_notice_customer_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticecustomertypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3346,7 +3346,7 @@ def list_notice_customer_types(self, include=None):
"""
def list_notice_filingtypes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticefilingtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3366,7 +3366,7 @@ def list_notice_filingtypes(self, include=None):
"""
def list_notice_priorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticepriorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3386,7 +3386,7 @@ def list_notice_priorities(self, include=None):
"""
def list_notice_reasons(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticereasons'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3406,7 +3406,7 @@ def list_notice_reasons(self, include=None):
"""
def list_notice_responsibilities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticeresponsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3426,7 +3426,7 @@ def list_notice_responsibilities(self, include=None):
"""
def list_notice_root_causes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticerootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3446,7 +3446,7 @@ def list_notice_root_causes(self, include=None):
"""
def list_notice_statuses(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticestatuses'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3466,7 +3466,7 @@ def list_notice_statuses(self, include=None):
"""
def list_notice_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/noticetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3487,7 +3487,7 @@ def list_notice_types(self, include=None):
"""
def list_parameters(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/parameters'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3507,7 +3507,7 @@ def list_parameters(self, include=None):
"""
def list_parameters_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/accounts/{}/parameters'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3541,7 +3541,7 @@ def list_parameters_by_account(self, accountId, include=None):
"""
def list_parameters_by_item(self, companyCode, itemCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -3554,7 +3554,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None):
This list of parameters is available for use when configuring your transaction.
Some parameters are only available for use if you have subscribed to certain features of AvaTax.
- :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:* values
+ :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:* values, valueDescriptions
: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`.
@@ -3562,7 +3562,7 @@ def list_parameters_by_item(self, companyCode, itemCode, include=None):
"""
def list_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3580,7 +3580,7 @@ def list_parameters_usage(self, include=None):
"""
def list_permissions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/permissions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3600,7 +3600,7 @@ def list_permissions(self, include=None):
"""
def list_postal_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/postalcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3625,7 +3625,7 @@ def list_postal_codes(self, include=None):
"""
def list_preferred_programs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/preferredprograms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3647,7 +3647,7 @@ def list_preferred_programs(self, include=None):
"""
def list_product_classification_systems(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/productclassificationsystems'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3676,7 +3676,7 @@ def list_product_classification_systems(self, include=None):
"""
def list_product_classification_systems_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -3697,7 +3697,7 @@ def list_product_classification_systems_by_company(self, companyCode, include=No
"""
def list_rate_types_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries/{}/ratetypes'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3720,7 +3720,7 @@ def list_rate_types_by_country(self, country, include=None):
"""
def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries/{}/taxtypes/{}/taxsubtypes/{}/ratetypes'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3741,7 +3741,7 @@ def list_rate_types_by_country_tax_type_tax_sub_type(self, country, taxTypeId, t
"""
def list_regions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/regions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3763,7 +3763,7 @@ def list_regions(self, include=None):
"""
def list_regions_by_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/countries/{}/regions'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3789,7 +3789,7 @@ def list_regions_by_country(self, country, include=None):
"""
def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/companies/{}/countries/{}/regions/taxtypes/{}/taxsubtypes/{}/rateTypeId/{}/jurisdictionTypeId/{}'.format(self.base_url, companyId, country, taxTypeId, taxSubTypeId, rateTypeId, jurisdictionTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3809,7 +3809,7 @@ def list_regions_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, co
"""
def list_resource_file_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/resourcefiletypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3830,7 +3830,7 @@ def list_resource_file_types(self, include=None):
"""
def list_returns_parameters_usage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/returns/parametersusage'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3851,7 +3851,7 @@ def list_returns_parameters_usage(self, include=None):
"""
def list_security_roles(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/securityroles'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3873,7 +3873,7 @@ def list_security_roles(self, include=None):
"""
def list_subscription_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/subscriptiontypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3892,7 +3892,7 @@ def list_subscription_types(self, include=None):
"""
def list_tags(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/tags'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3912,7 +3912,7 @@ def list_tags(self, include=None):
"""
def list_tax_authorities(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxauthorities'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3934,7 +3934,7 @@ def list_tax_authorities(self, include=None):
"""
def list_tax_authority_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxauthorityforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3954,7 +3954,7 @@ def list_tax_authority_forms(self, include=None):
"""
def list_tax_authority_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxauthoritytypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3979,7 +3979,7 @@ def list_tax_authority_types(self, include=None):
"""
def list_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -3998,7 +3998,7 @@ def list_tax_codes(self, include=None):
"""
def list_tax_code_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxcodetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4018,7 +4018,7 @@ def list_tax_code_types(self, include=None):
"""
def list_tax_forms(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxforms'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4038,7 +4038,7 @@ def list_tax_forms(self, include=None):
"""
def list_tax_sub_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxsubtypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4061,7 +4061,7 @@ def list_tax_sub_types(self, include=None):
"""
def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxsubtypes/countries/{}/taxtypes/{}'.format(self.base_url, country, taxTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4083,7 +4083,7 @@ def list_tax_sub_types_by_country_and_tax_type(self, country, taxTypeId, include
"""
def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxsubtypes/{}/{}'.format(self.base_url, jurisdictionCode, region),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4103,7 +4103,7 @@ def list_tax_sub_types_by_jurisdiction_and_region(self, jurisdictionCode, region
"""
def list_tax_type_groups(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxtypegroups'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4123,7 +4123,7 @@ def list_tax_type_groups(self, include=None):
"""
def list_tax_types_by_nexus_and_country(self, country, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/taxtypes/countries/{}'.format(self.base_url, country),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4145,7 +4145,7 @@ def list_tax_types_by_nexus_and_country(self, country, include=None):
"""
def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(self, country, taxTypeId, taxSubTypeId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/unitofbasis/countries/{}/taxtypes/{}/taxsubtypes/{}'.format(self.base_url, country, taxTypeId, taxSubTypeId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4165,7 +4165,7 @@ def list_unit_of_basis_by_country_and_tax_type_and_tax_sub_type_and_rate_type(se
"""
def list_unit_of_measurement(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/definitions/unitofmeasurements'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4187,7 +4187,7 @@ def list_unit_of_measurement(self, include=None):
"""
def create_distance_threshold(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4209,7 +4209,7 @@ def create_distance_threshold(self, companyId, model):
"""
def delete_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4231,7 +4231,7 @@ def delete_distance_threshold(self, companyId, id_):
"""
def get_distance_threshold(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4257,7 +4257,7 @@ def get_distance_threshold(self, companyId, id_):
"""
def list_distance_thresholds(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/distancethresholds'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4284,7 +4284,7 @@ def list_distance_thresholds(self, companyId, include=None):
"""
def query_distance_thresholds(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/distancethresholds'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4309,7 +4309,7 @@ def query_distance_thresholds(self, include=None):
"""
def update_distance_threshold(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/distancethresholds/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4329,7 +4329,7 @@ def update_distance_threshold(self, companyId, id_, model):
"""
def create_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4349,7 +4349,7 @@ def create_e_commerce_token(self, companyId, model):
"""
def refresh_e_commerce_token(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/ecommercetokens'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4367,7 +4367,7 @@ def refresh_e_commerce_token(self, companyId, model):
"""
def approve_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/approve'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4391,7 +4391,7 @@ def approve_firm_client_linkage(self, id_):
"""
def create_and_link_new_firm_client_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/createandlinkclient'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4409,7 +4409,7 @@ def create_and_link_new_firm_client_account(self, model):
"""
def create_firm_client_linkage(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4427,7 +4427,7 @@ def create_firm_client_linkage(self, model):
"""
def delete_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4445,7 +4445,7 @@ def delete_firm_client_linkage(self, id_):
"""
def get_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/firmclientlinkages/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4463,7 +4463,7 @@ def get_firm_client_linkage(self, id_):
"""
def list_firm_client_linkage(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/firmclientlinkages'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4481,7 +4481,7 @@ def list_firm_client_linkage(self, include=None):
"""
def reject_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/reject'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4499,7 +4499,7 @@ def reject_firm_client_linkage(self, id_):
"""
def reset_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/reset'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4517,7 +4517,7 @@ def reset_firm_client_linkage(self, id_):
"""
def revoke_firm_client_linkage(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/firmclientlinkages/{}/revoke'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4541,7 +4541,7 @@ def revoke_firm_client_linkage(self, id_):
"""
def request_free_trial(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/freetrials/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4573,7 +4573,7 @@ def request_free_trial(self, model):
"""
def activate_funding_request(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/fundingrequests/{}/widget'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4603,7 +4603,7 @@ def activate_funding_request(self, id_, include=None):
"""
def funding_request_status(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/fundingrequests/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4624,7 +4624,7 @@ def funding_request_status(self, id_, include=None):
"""
def batch_delete_item_classifications(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4646,7 +4646,7 @@ def batch_delete_item_classifications(self, companyId, itemId):
"""
def batch_delete_item_parameters(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4671,7 +4671,7 @@ def batch_delete_item_parameters(self, companyId, itemId):
"""
def bulk_upload_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/upload'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4694,7 +4694,7 @@ def bulk_upload_items(self, companyId, model):
"""
def create_item_classifications(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4719,7 +4719,7 @@ def create_item_classifications(self, companyId, itemId, model):
"""
def create_item_parameters(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4744,7 +4744,7 @@ def create_item_parameters(self, companyId, itemId, model):
"""
def create_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4765,7 +4765,7 @@ def create_items(self, companyId, model):
"""
def create_item_tags(self, companyId, itemId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4787,7 +4787,7 @@ def create_item_tags(self, companyId, itemId, model):
"""
def create_tax_code_classification_request(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4817,7 +4817,7 @@ def create_tax_code_classification_request(self, companyId, model):
"""
def delete_catalogue_item(self, companyId, itemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/itemcatalogue/{}'.format(self.base_url, companyId, itemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4842,7 +4842,7 @@ def delete_catalogue_item(self, companyId, itemCode):
"""
def delete_item(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4864,7 +4864,7 @@ def delete_item(self, companyId, id_):
"""
def delete_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4887,7 +4887,7 @@ def delete_item_classification(self, companyId, itemId, id_):
"""
def delete_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4908,7 +4908,7 @@ def delete_item_parameter(self, companyId, itemId, id_):
"""
def delete_item_tag(self, companyId, itemId, itemTagDetailId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags/{}'.format(self.base_url, companyId, itemId, itemTagDetailId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4928,7 +4928,7 @@ def delete_item_tag(self, companyId, itemId, itemTagDetailId):
"""
def delete_item_tags(self, companyId, itemId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4955,7 +4955,7 @@ def delete_item_tags(self, companyId, itemId):
"""
def get_classification_status(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -4980,7 +4980,7 @@ def get_classification_status(self, companyId, include=None):
"""
def get_item(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5002,7 +5002,7 @@ def get_item(self, companyId, id_, include=None):
"""
def get_item_classification(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5025,7 +5025,7 @@ def get_item_classification(self, companyId, itemId, id_):
"""
def get_item_parameter(self, companyId, itemId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5048,7 +5048,7 @@ def get_item_parameter(self, companyId, itemId, id_):
"""
def get_item_tags(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/tags'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5076,7 +5076,7 @@ def get_item_tags(self, companyId, itemId, include=None):
"""
def get_premium_classification(self, companyId, itemCode, systemCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/premiumClassification/{}'.format(self.base_url, companyId, itemCode, systemCode),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5102,7 +5102,7 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
"""
def get_tax_code_recommendations(self, companyId, requestId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/classificationrequests/taxcode/{}/recommendations'.format(self.base_url, companyId, requestId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5133,7 +5133,7 @@ def get_tax_code_recommendations(self, companyId, requestId, include=None):
"""
def list_import_restrictions(self, companyId, itemCode, countryOfImport, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/restrictions/import/{}'.format(self.base_url, companyId, itemCode, countryOfImport),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5160,7 +5160,7 @@ def list_import_restrictions(self, companyId, itemCode, countryOfImport, include
"""
def list_item_classifications(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/classifications'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5188,7 +5188,7 @@ def list_item_classifications(self, companyId, itemId, include=None):
"""
def list_item_parameters(self, companyId, itemId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/{}/parameters'.format(self.base_url, companyId, itemId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5225,7 +5225,7 @@ def list_item_parameters(self, companyId, itemId, include=None):
"""
def list_items_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5254,7 +5254,7 @@ def list_items_by_company(self, companyId, include=None):
"""
def query_items(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/items'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5285,7 +5285,7 @@ def query_items(self, include=None):
"""
def query_items_by_tag(self, companyId, tag, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/items/bytags/{}'.format(self.base_url, companyId, tag),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5308,7 +5308,7 @@ def query_items_by_tag(self, companyId, tag, include=None):
"""
def sync_item_catalogue(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/itemcatalogue'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5335,7 +5335,7 @@ def sync_item_catalogue(self, companyId, model):
"""
def sync_items(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/items/sync'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5363,7 +5363,7 @@ def sync_items(self, companyId, model):
"""
def update_item(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/items/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5387,7 +5387,7 @@ def update_item(self, companyId, id_, model):
"""
def update_item_classification(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/items/{}/classifications/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5411,7 +5411,7 @@ def update_item_classification(self, companyId, itemId, id_, model):
"""
def update_item_parameter(self, companyId, itemId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/items/{}/parameters/{}'.format(self.base_url, companyId, itemId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5434,7 +5434,7 @@ def update_item_parameter(self, companyId, itemId, id_, model):
"""
def create_jurisdiction_overrides(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5453,7 +5453,7 @@ def create_jurisdiction_overrides(self, accountId, model):
"""
def delete_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5476,7 +5476,7 @@ def delete_jurisdiction_override(self, accountId, id_):
"""
def get_jurisdiction_override(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5505,7 +5505,7 @@ def get_jurisdiction_override(self, accountId, id_):
"""
def list_jurisdiction_overrides_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/jurisdictionoverrides'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5533,7 +5533,7 @@ def list_jurisdiction_overrides_by_account(self, accountId, include=None):
"""
def query_jurisdiction_overrides(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/jurisdictionoverrides'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5553,7 +5553,7 @@ def query_jurisdiction_overrides(self, include=None):
"""
def update_jurisdiction_override(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/accounts/{}/jurisdictionoverrides/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5578,7 +5578,7 @@ def update_jurisdiction_override(self, accountId, id_, model):
"""
def create_location_parameters(self, companyId, locationId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5597,7 +5597,7 @@ def create_location_parameters(self, companyId, locationId, model):
"""
def create_locations(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5616,7 +5616,7 @@ def create_locations(self, companyId, model):
"""
def delete_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5639,7 +5639,7 @@ def delete_location(self, companyId, id_):
"""
def delete_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5666,7 +5666,7 @@ def delete_location_parameter(self, companyId, locationId, id_):
"""
def get_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5689,7 +5689,7 @@ def get_location(self, companyId, id_, include=None):
"""
def get_location_parameter(self, companyId, locationId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5717,7 +5717,7 @@ def get_location_parameter(self, companyId, locationId, id_):
"""
def list_location_parameters(self, companyId, locationId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/parameters'.format(self.base_url, companyId, locationId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5749,7 +5749,7 @@ def list_location_parameters(self, companyId, locationId, include=None):
"""
def list_locations_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5780,7 +5780,7 @@ def list_locations_by_company(self, companyId, include=None):
"""
def query_locations(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/locations'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5802,7 +5802,7 @@ def query_locations(self, include=None):
"""
def update_location(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/locations/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5826,7 +5826,7 @@ def update_location(self, companyId, id_, model):
"""
def update_location_parameter(self, companyId, locationId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/locations/{}/parameters/{}'.format(self.base_url, companyId, locationId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5847,7 +5847,7 @@ def update_location_parameter(self, companyId, locationId, id_, model):
"""
def validate_location(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/validate'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5881,7 +5881,7 @@ def validate_location(self, companyId, id_):
"""
def adjust_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/adjust'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5918,7 +5918,7 @@ def adjust_multi_document_transaction(self, code, type, model, include=None):
"""
def audit_multi_document_transaction(self, code, type):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}/audit'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5948,7 +5948,7 @@ def audit_multi_document_transaction(self, code, type):
"""
def commit_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/commit'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -5998,7 +5998,7 @@ def commit_multi_document_transaction(self, model):
"""
def create_multi_document_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6034,7 +6034,7 @@ def create_multi_document_transaction(self, model, include=None):
"""
def get_multi_document_transaction_by_code_and_type(self, code, type, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument/{}/type/{}'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6076,7 +6076,7 @@ def get_multi_document_transaction_by_code_and_type(self, code, type, include=No
"""
def get_multi_document_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6119,7 +6119,7 @@ def get_multi_document_transaction_by_id(self, id_, include=None):
"""
def list_multi_document_transactions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/transactions/multidocument'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6174,7 +6174,7 @@ def list_multi_document_transactions(self, include=None):
"""
def refund_multi_document_transaction(self, code, type, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/refund'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6203,7 +6203,7 @@ def refund_multi_document_transaction(self, code, type, model, include=None):
"""
def verify_multi_document_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/verify'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6236,7 +6236,7 @@ def verify_multi_document_transaction(self, model):
"""
def void_multi_document_transaction(self, code, type, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/transactions/multidocument/{}/type/{}/void'.format(self.base_url, code, type),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6268,7 +6268,7 @@ def void_multi_document_transaction(self, code, type, model):
"""
def create_nexus(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6293,7 +6293,7 @@ def create_nexus(self, companyId, model):
"""
def create_nexus_parameters(self, companyId, nexusId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6322,7 +6322,7 @@ def create_nexus_parameters(self, companyId, nexusId, model):
"""
def declare_nexus_by_address(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/nexus/byaddress'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6347,7 +6347,7 @@ def declare_nexus_by_address(self, companyId, model):
"""
def delete_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6370,7 +6370,7 @@ def delete_nexus(self, companyId, id_, include=None):
"""
def delete_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6392,7 +6392,7 @@ def delete_nexus_parameter(self, companyId, nexusId, id_):
"""
def delete_nexus_parameters(self, companyId, nexusId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6417,7 +6417,7 @@ def delete_nexus_parameters(self, companyId, nexusId):
"""
def get_nexus(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6445,7 +6445,7 @@ def get_nexus(self, companyId, id_, include=None):
"""
def get_nexus_by_form_code(self, companyId, formCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/byform/{}'.format(self.base_url, companyId, formCode),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6468,7 +6468,7 @@ def get_nexus_by_form_code(self, companyId, formCode, include=None):
"""
def get_nexus_parameter(self, companyId, nexusId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6498,7 +6498,7 @@ def get_nexus_parameter(self, companyId, nexusId, id_):
"""
def list_nexus_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6529,7 +6529,7 @@ def list_nexus_by_company(self, companyId, include=None):
"""
def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/byTaxTypeGroup/{}'.format(self.base_url, companyId, taxTypeGroup),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6557,7 +6557,7 @@ def list_nexus_by_company_and_tax_type_group(self, companyId, taxTypeGroup, incl
"""
def list_nexus_parameters(self, companyId, nexusId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/nexus/{}/parameters'.format(self.base_url, companyId, nexusId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6586,7 +6586,7 @@ def list_nexus_parameters(self, companyId, nexusId, include=None):
"""
def query_nexus(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/nexus'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6619,7 +6619,7 @@ def query_nexus(self, include=None):
"""
def update_nexus(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/nexus/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6643,7 +6643,7 @@ def update_nexus(self, companyId, id_, model):
"""
def update_nexus_parameter(self, companyId, nexusId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/nexus/{}/parameters/{}'.format(self.base_url, companyId, nexusId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6662,7 +6662,7 @@ def update_nexus_parameter(self, companyId, nexusId, id_, model):
"""
def create_notice_responsibility_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/notices/responsibilities'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6681,7 +6681,7 @@ def create_notice_responsibility_type(self, model):
"""
def create_notice_root_cause_type(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/notices/rootcauses'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6699,7 +6699,7 @@ def create_notice_root_cause_type(self, model):
"""
def delete_notice_responsibility_type(self, responsibilityId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/notices/responsibilities/{}'.format(self.base_url, responsibilityId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6717,7 +6717,7 @@ def delete_notice_responsibility_type(self, responsibilityId):
"""
def delete_notice_root_cause_type(self, rootCauseId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/notices/rootcauses/{}'.format(self.base_url, rootCauseId),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6744,7 +6744,7 @@ def delete_notice_root_cause_type(self, rootCauseId):
"""
def dismiss_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/notifications/{}/dismiss'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6767,7 +6767,7 @@ def dismiss_notification(self, id_):
"""
def get_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6795,7 +6795,7 @@ def get_notification(self, id_):
"""
def list_notifications(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6825,7 +6825,7 @@ def list_notifications(self, include=None):
"""
def request_new_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/request'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6847,7 +6847,7 @@ def request_new_account(self, model):
"""
def request_new_entitlement(self, id_, offer):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/entitlements/{}'.format(self.base_url, id_, offer),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6868,7 +6868,7 @@ def request_new_entitlement(self, id_, offer):
"""
def create_account(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6895,7 +6895,7 @@ def create_account(self, model):
"""
def create_notifications(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/notifications'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6917,7 +6917,7 @@ def create_notifications(self, model):
"""
def create_subscriptions(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6938,7 +6938,7 @@ def create_subscriptions(self, accountId, model):
"""
def delete_account(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6963,7 +6963,7 @@ def delete_account(self, id_):
"""
def delete_notification(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6984,7 +6984,7 @@ def delete_notification(self, id_):
"""
def delete_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7010,7 +7010,7 @@ def delete_subscription(self, accountId, id_):
"""
def list_service_types(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/servicetypes/servicetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7035,7 +7035,7 @@ def list_service_types(self, include=None):
"""
def reset_password(self, userId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/passwords/{}/reset'.format(self.base_url, userId),
auth=self.auth, headers=self.client_header, params=include, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7056,7 +7056,7 @@ def reset_password(self, userId, model, include=None):
"""
def update_account(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/accounts/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7082,7 +7082,7 @@ def update_account(self, id_, model):
"""
def update_notification(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/notifications/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7108,7 +7108,7 @@ def update_notification(self, id_, model):
"""
def update_subscription(self, accountId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7135,7 +7135,7 @@ def update_subscription(self, accountId, id_, model):
"""
def download_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/reports/{}/attachment'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7158,7 +7158,7 @@ def download_report(self, id_):
"""
def get_report(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/reports/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7190,7 +7190,7 @@ def get_report(self, id_):
"""
def initiate_export_document_line_report(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/reports/exportdocumentline/initiate'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7218,7 +7218,7 @@ def initiate_export_document_line_report(self, companyId, model):
"""
def list_reports(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/reports'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7247,7 +7247,7 @@ def list_reports(self, include=None):
"""
def create_settings(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7273,7 +7273,7 @@ def create_settings(self, companyId, model):
"""
def delete_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7299,7 +7299,7 @@ def delete_setting(self, companyId, id_):
"""
def get_setting(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7331,7 +7331,7 @@ def get_setting(self, companyId, id_):
"""
def list_settings_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/settings'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7362,7 +7362,7 @@ def list_settings_by_company(self, companyId, include=None):
"""
def query_settings(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/settings'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7391,7 +7391,7 @@ def query_settings(self, include=None):
"""
def update_setting(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/settings/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7412,7 +7412,7 @@ def update_setting(self, companyId, id_, model):
"""
def get_subscription(self, accountId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/subscriptions/{}'.format(self.base_url, accountId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7438,7 +7438,7 @@ def get_subscription(self, accountId, id_):
"""
def list_subscriptions_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/accounts/{}/subscriptions'.format(self.base_url, accountId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7463,7 +7463,7 @@ def list_subscriptions_by_account(self, accountId, include=None):
"""
def query_subscriptions(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/subscriptions'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7486,7 +7486,7 @@ def query_subscriptions(self, include=None):
"""
def create_tax_codes(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7505,7 +7505,7 @@ def create_tax_codes(self, companyId, model):
"""
def delete_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.delete('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7528,7 +7528,7 @@ def delete_tax_code(self, companyId, id_):
"""
def get_tax_code(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7557,7 +7557,7 @@ def get_tax_code(self, companyId, id_):
"""
def list_tax_codes_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/taxcodes'.format(self.base_url, companyId),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7585,7 +7585,7 @@ def list_tax_codes_by_company(self, companyId, include=None):
"""
def query_tax_codes(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/taxcodes'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7611,7 +7611,7 @@ def query_tax_codes(self, include=None):
"""
def update_tax_code(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.put('{}/api/v2/companies/{}/taxcodes/{}'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7646,7 +7646,7 @@ def update_tax_code(self, companyId, id_, model):
"""
def build_tax_content_file(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.post('{}/api/v2/pointofsaledata/build'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7686,7 +7686,7 @@ def build_tax_content_file(self, model):
"""
def build_tax_content_file_for_location(self, companyId, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/companies/{}/locations/{}/pointofsaledata'.format(self.base_url, companyId, id_),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7737,7 +7737,7 @@ def build_tax_content_file_for_location(self, companyId, id_, include=None):
"""
def download_tax_rates_by_zip_code(self, date, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/taxratesbyzipcode/download/{}'.format(self.base_url, date),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7776,7 +7776,7 @@ def download_tax_rates_by_zip_code(self, date, include=None):
"""
def tax_rates_by_address(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
return requests.get('{}/api/v2/taxrates/byaddress'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7811,13 +7811,36 @@ def tax_rates_by_address(self, include=None):
"""
def tax_rates_by_postal_code(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
r"""
Swagger Name: AvaTaxClient
+ Create new Country Coefficients. If already exist update them.
+
+ Create one or more Country Coefficients for particular country.
+ We would like to use country coefficients during Cross-Border calculations to slightly increase or decrease
+ a calculation for a line based on the tax-subtype and Country of destination for a transaction.
+ This will allow AvaTax to minimize the variance caused between actual transaction taken place on ground Vs Tax
+ Calculated by AvaTax.
+ Make sure to use the same API to update the country coefficients that is already present in the database.
+ This will make existing entry for specific country as ineffective for that date. And new entry created will get applicable
+ to the newer transactions.
+
+ :param model [CountryCoefficientsRequestEntity] The Country Coefficients for specific country you wish to create.
+ :return CountryCoefficientsResponseModel
+ """
+ def create_country_coefficients(self, model):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
+ 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)
+ r"""
+ Swagger Name: AvaTaxClient
+
Create a new tax rule
Create one or more custom tax rules attached to this company.
@@ -7839,7 +7862,7 @@ def tax_rates_by_postal_code(self, include=None):
"""
def create_tax_rules(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7867,7 +7890,7 @@ def create_tax_rules(self, companyId, model):
"""
def delete_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7895,13 +7918,36 @@ def delete_tax_rule(self, companyId, id_):
"""
def get_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
r"""
Swagger Name: AvaTaxClient
+ Retrieve country coefficients for specific country
+
+ Retrieve all or any specific records of Country Coefficients based on the filters(optional) for specific country.
+ Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .
+ Paginate your results using the `$top`, `$skip`, and `$orderby` parameters.
+
+ :param country [string] Country for which data need to be pulled for.
+ :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:* CoefficientsId, AccountId, ModifiedUserId, CreatedUserId
+ :param include [string] A comma separated list of additional data to retrieve.
+ :param top [int] If nonzero, return no more than this number of results. Used with `$skip` to provide pagination for large datasets. Unless otherwise specified, the maximum number of records that can be returned from an API call is 1,000 records.
+ :param skip [int] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
+ :param orderBy [string] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
+ :return FetchResult
+ """
+ def list_country_coefficients(self, country, include=None):
+ if ('X-Avalara-Client' in self.client_header):
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
+ 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)
+ r"""
+ Swagger Name: AvaTaxClient
+
Retrieve tax rules for this company
List all taxrule objects attached to this company.
@@ -7929,7 +7975,7 @@ def get_tax_rule(self, companyId, id_):
"""
def list_tax_rules(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7962,7 +8008,7 @@ def list_tax_rules(self, companyId, include=None):
"""
def query_tax_rules(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -7991,7 +8037,7 @@ def query_tax_rules(self, include=None):
"""
def update_tax_rule(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8011,6 +8057,7 @@ def update_tax_rule(self, companyId, id_, model):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8026,7 +8073,7 @@ def update_tax_rule(self, companyId, id_, model):
"""
def add_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8046,6 +8093,7 @@ def add_lines(self, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8071,7 +8119,7 @@ def add_lines(self, model, include=None):
"""
def adjust_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8108,7 +8156,7 @@ def adjust_transaction(self, companyCode, transactionCode, model, include=None):
"""
def audit_transaction(self, companyCode, transactionCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8146,7 +8194,7 @@ def audit_transaction(self, companyCode, transactionCode):
"""
def audit_transaction_with_type(self, companyCode, transactionCode, documentType):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8169,7 +8217,7 @@ def audit_transaction_with_type(self, companyCode, transactionCode, documentType
"""
def bulk_lock_transaction(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8188,6 +8236,7 @@ def bulk_lock_transaction(self, model):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8213,7 +8262,7 @@ def bulk_lock_transaction(self, model):
"""
def change_transaction_code(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8231,6 +8280,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8255,7 +8305,7 @@ def change_transaction_code(self, companyCode, transactionCode, model, include=N
"""
def commit_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8280,6 +8330,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8300,7 +8351,7 @@ def commit_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_or_adjust_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8329,6 +8380,7 @@ def create_or_adjust_transaction(self, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8350,7 +8402,7 @@ def create_or_adjust_transaction(self, model, include=None):
"""
def create_transaction(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8367,6 +8419,7 @@ def create_transaction(self, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8382,7 +8435,7 @@ def create_transaction(self, model, include=None):
"""
def delete_lines(self, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8400,7 +8453,7 @@ def delete_lines(self, model, include=None):
"""
def get_all_variance_report_by_company_code(self, companyCode):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8418,6 +8471,7 @@ def get_all_variance_report_by_company_code(self, companyCode):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8441,7 +8495,7 @@ def get_all_variance_report_by_company_code(self, companyCode):
"""
def get_transaction_by_code(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8470,7 +8524,7 @@ def get_transaction_by_code(self, companyCode, transactionCode, include=None):
"""
def get_transaction_by_code_and_type(self, companyCode, transactionCode, documentType, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8486,6 +8540,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8501,7 +8556,7 @@ def get_transaction_by_code_and_type(self, companyCode, transactionCode, documen
"""
def get_transaction_by_id(self, id_, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8520,7 +8575,7 @@ def get_transaction_by_id(self, id_, include=None):
"""
def get_variance_report_by_company_code_by_transaction_id(self, companyCode, transactionId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8540,6 +8595,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8566,7 +8622,7 @@ def get_variance_report_by_company_code_by_transaction_id(self, companyCode, tra
"""
def list_transactions_by_company(self, companyCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8585,6 +8641,7 @@ def list_transactions_by_company(self, companyCode, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8610,7 +8667,7 @@ def list_transactions_by_company(self, companyCode, include=None):
"""
def lock_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8637,6 +8694,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8664,7 +8722,7 @@ def lock_transaction(self, companyCode, transactionCode, model, include=None):
"""
def refund_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8682,6 +8740,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8706,7 +8765,7 @@ def refund_transaction(self, companyCode, transactionCode, model, include=None):
"""
def settle_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8721,6 +8780,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8745,7 +8805,7 @@ def settle_transaction(self, companyCode, transactionCode, model, include=None):
"""
def uncommit_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8758,6 +8818,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8782,7 +8843,7 @@ def uncommit_transaction(self, companyCode, transactionCode, include=None):
"""
def unvoid_transaction(self, companyCode, transactionCode, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8801,7 +8862,7 @@ def unvoid_transaction(self, companyCode, transactionCode, include=None):
"""
def variance_report(self, companyCode, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8818,6 +8879,7 @@ def variance_report(self, companyCode, model):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8843,7 +8905,7 @@ def variance_report(self, companyCode, model):
"""
def verify_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8861,6 +8923,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None):
You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
* Lines
* Details (implies lines)
+ * AccountPayableSalesTaxDetails (implies lines - only for Account Payable transaction)
* Summary (implies details)
* Addresses
* SummaryOnly (omit lines and details - reduces API response size)
@@ -8886,7 +8949,7 @@ def verify_transaction(self, companyCode, transactionCode, model, include=None):
"""
def void_transaction(self, companyCode, transactionCode, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8907,7 +8970,7 @@ def void_transaction(self, companyCode, transactionCode, model, include=None):
"""
def create_u_p_cs(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8927,7 +8990,7 @@ def create_u_p_cs(self, companyId, model):
"""
def delete_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8948,7 +9011,7 @@ def delete_u_p_c(self, companyId, id_):
"""
def get_u_p_c(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -8975,7 +9038,7 @@ def get_u_p_c(self, companyId, id_):
"""
def list_u_p_cs_by_company(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9001,7 +9064,7 @@ def list_u_p_cs_by_company(self, companyId, include=None):
"""
def query_u_p_cs(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9025,7 +9088,7 @@ def query_u_p_cs(self, include=None):
"""
def update_u_p_c(self, companyId, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9045,7 +9108,7 @@ def update_u_p_c(self, companyId, id_, model):
"""
def delete_user_defined_field(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9065,7 +9128,7 @@ def delete_user_defined_field(self, companyId, id_):
"""
def list_user_defined_fields_by_company_id(self, companyId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9086,7 +9149,7 @@ def list_user_defined_fields_by_company_id(self, companyId, include=None):
"""
def update_user_defined_field(self, companyId, model, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9108,7 +9171,7 @@ def update_user_defined_field(self, companyId, model, include=None):
"""
def change_password(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9132,7 +9195,7 @@ def change_password(self, model):
"""
def create_users(self, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9154,7 +9217,7 @@ def create_users(self, accountId, model):
"""
def delete_user(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9177,7 +9240,7 @@ def delete_user(self, id_, accountId):
"""
def get_user(self, id_, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9208,7 +9271,7 @@ def get_user(self, id_, accountId, include=None):
"""
def get_user_entitlements(self, id_, accountId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9238,7 +9301,7 @@ def get_user_entitlements(self, id_, accountId):
"""
def list_users_by_account(self, accountId, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9268,7 +9331,7 @@ def list_users_by_account(self, accountId, include=None):
"""
def query_users(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9291,7 +9354,7 @@ def query_users(self, include=None):
"""
def update_user(self, id_, accountId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9312,7 +9375,7 @@ def update_user(self, id_, accountId, model):
"""
def get_my_subscription(self, serviceTypeId):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9332,7 +9395,7 @@ def get_my_subscription(self, serviceTypeId):
"""
def list_my_subscriptions(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)
@@ -9361,7 +9424,7 @@ def list_my_subscriptions(self):
"""
def ping(self):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.6.1")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.7.0")
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)