diff --git a/setup.py b/setup.py
index 8e5b0e9..20b96fe 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@
setup(
name='Avalara',
- version='23.1.0',
+ version='23.2.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 6410465..90d9719 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1911,7 +1911,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def query_tax_authority_jurisdiction_rates(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.get('{}/api/v2/compliance/taxauthorityjurisdictionrates'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1932,7 +1932,7 @@ def query_tax_authority_jurisdiction_rates(self, include=None):
"""
def create_contacts(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1951,7 +1951,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1972,7 +1972,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1996,7 +1996,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2021,7 +2021,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2045,7 +2045,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2076,7 +2076,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2105,7 +2105,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2139,7 +2139,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2171,7 +2171,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2201,7 +2201,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2231,7 +2231,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2262,7 +2262,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2296,7 +2296,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2329,7 +2329,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2365,7 +2365,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2397,7 +2397,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2427,7 +2427,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2457,7 +2457,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2477,7 +2477,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2497,7 +2497,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2517,7 +2517,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2540,7 +2540,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2564,7 +2564,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2585,7 +2585,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2610,7 +2610,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2631,7 +2631,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2650,7 +2650,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2672,7 +2672,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2696,7 +2696,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2719,7 +2719,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2742,7 +2742,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2763,7 +2763,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2783,7 +2783,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2803,7 +2803,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2823,7 +2823,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2844,7 +2844,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2868,7 +2868,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2896,7 +2896,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2917,7 +2917,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2938,7 +2938,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2961,7 +2961,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2981,7 +2981,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3003,7 +3003,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3033,7 +3033,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3061,7 +3061,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3080,7 +3080,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3113,7 +3113,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3134,7 +3134,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3153,7 +3153,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3173,7 +3173,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3203,7 +3203,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3224,7 +3224,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3246,7 +3246,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3271,7 +3271,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3292,7 +3292,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3312,7 +3312,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3332,7 +3332,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3352,7 +3352,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3372,7 +3372,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3392,7 +3392,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3412,7 +3412,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3432,7 +3432,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3452,7 +3452,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3472,7 +3472,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3492,7 +3492,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3513,7 +3513,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3547,7 +3547,7 @@ def list_parameters(self, 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3568,7 +3568,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3586,7 +3586,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3605,7 +3605,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3630,7 +3630,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3652,7 +3652,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3681,7 +3681,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3702,7 +3702,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3725,7 +3725,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3746,7 +3746,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3768,25 +3768,25 @@ 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
r"""
Swagger Name: AvaTaxClient
- Retrieve the list of applicable Regions by country tax type, tax sub type, rate type, Nexus Tax type group for given JurisdictionTypeId
+ Retrieve the list of applicable regions by country tax type, tax sub type, and rate type for a given JurisdictionTypeId
- Returns a list of all ISO 3166 region codes for a specific country code, and their US English friendly names.
- This API is intended to be useful when presenting a dropdown box in your website to allow customers to select a region
- within the country for a shipping addresses.
+ Returns a list of all ISO 3166 region codes for a specific country code and their US English friendly names.
+ This API is intended to be used as a way to provide a dropdown box in your website to allow customers to select a region
+ within the country for shipping addresses.
- :param companyId [int] Id of the company the user wish to fetch details
- :param country [string] The country for which you want to retrieve the regions information
- :param taxTypeId [string] The taxtype for which you want to retrieve the regions information
- :param taxSubTypeId [string] The taxsubtype for which you want to retrieve the regions
- :param rateTypeId [int] The ratetype for which you want to retrieve the regions information
- :param jurisdictionTypeId [string] The JurisdictionTypeId for which you want to retrieve the regions information, this is a three character string - CNT, STA, CTY, CIT, or STJ
+ :param companyId [int] The ID of the company for which you want to retrieve the applicable regions
+ :param country [string] The country for which you want to retrieve the regions
+ :param taxTypeId [string] The taxTypeId for which you want to retrieve the regions. Example values include Autimotive, tires, Lodging, S, U, I, O, All, etc. Run the "/api/v2/definitions/taxtypes/countries/{country}?companyId=" endpoint for a list of taxTypeId values.
+ :param taxSubTypeId [string] The taxSubType for which you want to retrieve the regions. Example values include Accommodations, BikeTax, IGST, S, U, All, etc. Run the "api/v2/definitions/taxsubtypes" endpoint for a list of taxSubTypes values.
+ :param rateTypeId [int] The rateTypeId for which you want to retrieve the regions. Note: The rateTypeId is an integer. Run the "/api/v2/definitions/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}/ratetypes" endpoint for a list of rateTypeId values."
+ :param jurisdictionTypeId [string] The JurisdictionTypeId for which you want to retrieve the regions. This is a three-character string. Accepted values are ```CNT``` (country), ```STA``` (state), ```CTY``` (county), ```CIT``` (city), or ```STJ``` (special jurisdiction).
: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`.
@@ -3794,7 +3794,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3814,7 +3814,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3835,7 +3835,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3856,7 +3856,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3878,7 +3878,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3897,7 +3897,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3917,7 +3917,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3939,7 +3939,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3959,7 +3959,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3984,7 +3984,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4003,7 +4003,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4023,7 +4023,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4043,7 +4043,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4066,7 +4066,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4088,7 +4088,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4108,7 +4108,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4128,7 +4128,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4150,7 +4150,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4170,7 +4170,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4192,7 +4192,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4214,7 +4214,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4236,7 +4236,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4262,7 +4262,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4289,7 +4289,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4314,7 +4314,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4334,7 +4334,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4354,7 +4354,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4372,7 +4372,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4396,7 +4396,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4414,7 +4414,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4432,7 +4432,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4450,7 +4450,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4468,7 +4468,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4486,7 +4486,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4504,7 +4504,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4522,7 +4522,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4546,7 +4546,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4578,7 +4578,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4608,7 +4608,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4629,7 +4629,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4651,7 +4651,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4676,7 +4676,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4699,7 +4699,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4724,7 +4724,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4749,7 +4749,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4770,7 +4770,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4781,18 +4781,18 @@ def create_item_tags(self, companyId, itemId, model):
Creates a new tax code classification request.
Avalara AvaTax system tax codes represent various goods and services classified by industry or consumer categories and
- major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes,
- allowing them to take advantage of thousands of tax rules in the AvaTax engine and resulting in accurate taxability determinations.
+ major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes
+ allowing them to take advantage of thousands of tax rules in the AvaTax engine resulting in accurate taxability determinations.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
- :param companyId [int] The ID of the company creating this request.
+ :param companyId [int] The ID of the company that creates this request.
:param model [ItemTaxCodeClassificationRequestInputModel] The request you wish to create.
:return ItemTaxCodeClassificationRequestOutputModel
"""
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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4822,7 +4822,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4847,7 +4847,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4869,7 +4869,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4892,7 +4892,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4913,7 +4913,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4933,26 +4933,26 @@ 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
r"""
Swagger Name: AvaTaxClient
- Get the status of classification requests for a company
+ Get status of classification requests of a company
- Get the status of tax code classification requests for a company.
+ Get status of tax code classification requests of a company.
Avalara AvaTax system tax codes represent various goods and services classified by industry or consumer categories and
- major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes,
- allowing them to take advantage of thousands of tax rules in the AvaTax engine and resulting in accurate taxability determinations.
+ major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes
+ allowing them to take advantage of thousands of tax rules in the AvaTax engine resulting in accurate taxability determinations.
Enable includeClassificationDetails flag to get details of classification request status.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
:param companyId [int] The ID of the company that defined these items
- :param includeClassificationDetails [boolean] A Boolean field that specifies whether to get a detailed classification status.
- :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:* classificationDetails, totalItems, status
+ :param includeClassificationDetails [boolean] A boolean field to get detailed classification status.
+ :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:* classificationDetails, totalItems
: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`.
@@ -4960,7 +4960,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4985,7 +4985,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5007,7 +5007,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5030,7 +5030,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5053,7 +5053,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5081,7 +5081,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5092,8 +5092,8 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
Get tax code recommendations.
Avalara AvaTax system tax codes represent various goods and services classified by industry or consumer categories and
- major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes,
- allowing them to take advantage of thousands of tax rules in the AvaTax engine and resulting in accurate taxability determinations.
+ major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes
+ allowing them to take advantage of thousands of tax rules in the AvaTax engine resulting in accurate taxability determinations.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
@@ -5107,7 +5107,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5138,7 +5138,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5165,7 +5165,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5193,7 +5193,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5220,7 +5220,7 @@ def list_item_parameters(self, companyId, itemId, include=None):
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
:param companyId [int] The ID of the company that defined these items
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, upc, classifications, parameters, tags, properties
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, upc, classifications, parameters, tags, properties
: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.
@@ -5230,7 +5230,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5250,7 +5250,7 @@ def list_items_by_company(self, companyId, include=None):
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, upc, classifications, parameters, tags, properties
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, upc, classifications, parameters, tags, properties
: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.
@@ -5259,7 +5259,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5281,7 +5281,7 @@ def query_items(self, include=None):
:param companyId [int] The ID of the company that defined these items.
:param tag [string] The master tag to be associated with item.
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, upc, classifications, parameters, tags, properties
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, upc, classifications, parameters, tags, properties
: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.
@@ -5290,7 +5290,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5313,7 +5313,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5340,7 +5340,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5368,7 +5368,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5392,7 +5392,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5416,7 +5416,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5439,7 +5439,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5458,7 +5458,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5481,7 +5481,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5510,7 +5510,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5538,7 +5538,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5558,7 +5558,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5583,7 +5583,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5602,7 +5602,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5621,7 +5621,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5644,7 +5644,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5671,7 +5671,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5694,7 +5694,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5722,7 +5722,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5754,7 +5754,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5785,7 +5785,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5807,7 +5807,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5831,7 +5831,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5852,7 +5852,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5886,7 +5886,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5923,7 +5923,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5953,7 +5953,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6003,7 +6003,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6039,7 +6039,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6081,7 +6081,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6124,7 +6124,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6179,7 +6179,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6208,7 +6208,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6241,7 +6241,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6273,7 +6273,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6298,7 +6298,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6327,7 +6327,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6352,7 +6352,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6375,7 +6375,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6397,7 +6397,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6422,7 +6422,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6450,7 +6450,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6473,7 +6473,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6503,7 +6503,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6534,7 +6534,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6562,7 +6562,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6591,7 +6591,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6624,7 +6624,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6648,7 +6648,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6667,7 +6667,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6686,7 +6686,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6704,7 +6704,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6722,7 +6722,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6749,7 +6749,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6772,7 +6772,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6800,7 +6800,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6830,7 +6830,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6852,7 +6852,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6873,7 +6873,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6900,7 +6900,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6923,7 +6923,7 @@ def create_notifications(self, model):
"""
def create_service_types(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.post('{}/api/v2/servicetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6945,7 +6945,7 @@ def create_service_types(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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6966,7 +6966,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6991,7 +6991,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7012,7 +7012,7 @@ def delete_notification(self, id_):
"""
def delete_service_type(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.delete('{}/api/v2/servicetypes/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7033,7 +7033,7 @@ def delete_service_type(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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7059,7 +7059,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7084,7 +7084,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7105,7 +7105,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7131,7 +7131,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7154,7 +7154,7 @@ def update_notification(self, id_, model):
"""
def update_service_type(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.put('{}/api/v2/servicetypes/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7180,7 +7180,7 @@ def update_service_type(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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7207,7 +7207,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7230,7 +7230,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7262,7 +7262,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7290,7 +7290,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7319,7 +7319,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7345,7 +7345,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7371,7 +7371,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7403,7 +7403,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7434,7 +7434,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7463,7 +7463,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7484,7 +7484,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7510,7 +7510,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7535,7 +7535,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7558,7 +7558,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7577,7 +7577,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7600,7 +7600,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7629,7 +7629,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7657,7 +7657,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7683,7 +7683,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7718,7 +7718,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7758,7 +7758,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7809,7 +7809,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7846,7 +7846,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7879,7 +7879,7 @@ def tax_rates_by_address(self, include=None):
"""
def tax_rates_by_postal_code(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7907,7 +7907,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7935,7 +7935,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7963,7 +7963,7 @@ def delete_tax_rule(self, companyId, id_):
"""
def get_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7997,7 +7997,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8030,7 +8030,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8059,7 +8059,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8094,7 +8094,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8139,7 +8139,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8176,7 +8176,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8214,7 +8214,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8237,7 +8237,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8281,7 +8281,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8323,7 +8323,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8367,7 +8367,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8416,7 +8416,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8448,7 +8448,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8466,7 +8466,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8507,7 +8507,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8536,7 +8536,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8567,7 +8567,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8586,7 +8586,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8632,7 +8632,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8676,7 +8676,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8730,7 +8730,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8772,7 +8772,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8811,7 +8811,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8848,7 +8848,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8867,7 +8867,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8909,7 +8909,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8952,7 +8952,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8973,7 +8973,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8993,7 +8993,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9014,7 +9014,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9041,7 +9041,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9067,7 +9067,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9091,7 +9091,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9111,7 +9111,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9131,7 +9131,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9152,7 +9152,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9174,7 +9174,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9198,7 +9198,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9220,7 +9220,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9243,7 +9243,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9274,7 +9274,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9304,7 +9304,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9334,7 +9334,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9357,7 +9357,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9378,7 +9378,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9398,7 +9398,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9427,7 +9427,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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 a1dd65e..094c8ab 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1910,7 +1910,7 @@ def update_company_parameter_detail(self, companyId, id_, model):
"""
def query_tax_authority_jurisdiction_rates(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.get('{}/api/v2/compliance/taxauthorityjurisdictionrates'.format(self.base_url),
auth=self.auth, headers=self.client_header, params=include,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -1931,7 +1931,7 @@ def query_tax_authority_jurisdiction_rates(self, include=None):
"""
def create_contacts(self, companyId, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1950,7 +1950,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1971,7 +1971,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -1995,7 +1995,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2020,7 +2020,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2044,7 +2044,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2075,7 +2075,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2104,7 +2104,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2138,7 +2138,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2170,7 +2170,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2200,7 +2200,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2230,7 +2230,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2261,7 +2261,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2295,7 +2295,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2328,7 +2328,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2364,7 +2364,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2396,7 +2396,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2426,7 +2426,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2456,7 +2456,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2476,7 +2476,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2496,7 +2496,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2516,7 +2516,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2539,7 +2539,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2563,7 +2563,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2584,7 +2584,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2609,7 +2609,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2630,7 +2630,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2649,7 +2649,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2671,7 +2671,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2695,7 +2695,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2718,7 +2718,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2741,7 +2741,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2762,7 +2762,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2782,7 +2782,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2802,7 +2802,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2822,7 +2822,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2843,7 +2843,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2867,7 +2867,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2895,7 +2895,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2916,7 +2916,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2937,7 +2937,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2960,7 +2960,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -2980,7 +2980,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3002,7 +3002,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3032,7 +3032,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3060,7 +3060,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3079,7 +3079,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3112,7 +3112,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3133,7 +3133,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3152,7 +3152,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3172,7 +3172,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3202,7 +3202,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3223,7 +3223,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3245,7 +3245,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3270,7 +3270,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3291,7 +3291,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3311,7 +3311,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3331,7 +3331,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3351,7 +3351,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3371,7 +3371,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3391,7 +3391,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3411,7 +3411,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3431,7 +3431,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3451,7 +3451,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3471,7 +3471,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3491,7 +3491,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3512,7 +3512,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3546,7 +3546,7 @@ def list_parameters(self, 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3567,7 +3567,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3585,7 +3585,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3604,7 +3604,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3629,7 +3629,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3651,7 +3651,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3680,7 +3680,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3701,7 +3701,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3724,7 +3724,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3745,7 +3745,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3767,25 +3767,25 @@ 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
r"""
Swagger Name: AvaTaxClient
- Retrieve the list of applicable Regions by country tax type, tax sub type, rate type, Nexus Tax type group for given JurisdictionTypeId
+ Retrieve the list of applicable regions by country tax type, tax sub type, and rate type for a given JurisdictionTypeId
- Returns a list of all ISO 3166 region codes for a specific country code, and their US English friendly names.
- This API is intended to be useful when presenting a dropdown box in your website to allow customers to select a region
- within the country for a shipping addresses.
+ Returns a list of all ISO 3166 region codes for a specific country code and their US English friendly names.
+ This API is intended to be used as a way to provide a dropdown box in your website to allow customers to select a region
+ within the country for shipping addresses.
- :param companyId [int] Id of the company the user wish to fetch details
- :param country [string] The country for which you want to retrieve the regions information
- :param taxTypeId [string] The taxtype for which you want to retrieve the regions information
- :param taxSubTypeId [string] The taxsubtype for which you want to retrieve the regions
- :param rateTypeId [int] The ratetype for which you want to retrieve the regions information
- :param jurisdictionTypeId [string] The JurisdictionTypeId for which you want to retrieve the regions information, this is a three character string - CNT, STA, CTY, CIT, or STJ
+ :param companyId [int] The ID of the company for which you want to retrieve the applicable regions
+ :param country [string] The country for which you want to retrieve the regions
+ :param taxTypeId [string] The taxTypeId for which you want to retrieve the regions. Example values include Autimotive, tires, Lodging, S, U, I, O, All, etc. Run the "/api/v2/definitions/taxtypes/countries/{country}?companyId=" endpoint for a list of taxTypeId values.
+ :param taxSubTypeId [string] The taxSubType for which you want to retrieve the regions. Example values include Accommodations, BikeTax, IGST, S, U, All, etc. Run the "api/v2/definitions/taxsubtypes" endpoint for a list of taxSubTypes values.
+ :param rateTypeId [int] The rateTypeId for which you want to retrieve the regions. Note: The rateTypeId is an integer. Run the "/api/v2/definitions/countries/{country}/taxtypes/{taxTypeId}/taxsubtypes/{taxSubTypeId}/ratetypes" endpoint for a list of rateTypeId values."
+ :param jurisdictionTypeId [string] The JurisdictionTypeId for which you want to retrieve the regions. This is a three-character string. Accepted values are ```CNT``` (country), ```STA``` (state), ```CTY``` (county), ```CIT``` (city), or ```STJ``` (special jurisdiction).
: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`.
@@ -3793,7 +3793,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3813,7 +3813,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3834,7 +3834,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3855,7 +3855,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3877,7 +3877,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3896,7 +3896,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3916,7 +3916,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3938,7 +3938,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3958,7 +3958,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -3983,7 +3983,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4002,7 +4002,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4022,7 +4022,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4042,7 +4042,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4065,7 +4065,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4087,7 +4087,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4107,7 +4107,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4127,7 +4127,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4149,7 +4149,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4169,7 +4169,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4191,7 +4191,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4213,7 +4213,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4235,7 +4235,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4261,7 +4261,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4288,7 +4288,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4313,7 +4313,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4333,7 +4333,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4353,7 +4353,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4371,7 +4371,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4395,7 +4395,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4413,7 +4413,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4431,7 +4431,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4449,7 +4449,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4467,7 +4467,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4485,7 +4485,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4503,7 +4503,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4521,7 +4521,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4545,7 +4545,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4577,7 +4577,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4607,7 +4607,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4628,7 +4628,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4650,7 +4650,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4675,7 +4675,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4698,7 +4698,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4723,7 +4723,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4748,7 +4748,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4769,7 +4769,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4780,18 +4780,18 @@ def create_item_tags(self, companyId, itemId, model):
Creates a new tax code classification request.
Avalara AvaTax system tax codes represent various goods and services classified by industry or consumer categories and
- major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes,
- allowing them to take advantage of thousands of tax rules in the AvaTax engine and resulting in accurate taxability determinations.
+ major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes
+ allowing them to take advantage of thousands of tax rules in the AvaTax engine resulting in accurate taxability determinations.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, BatchServiceAdmin, CompanyAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
- :param companyId [int] The ID of the company creating this request.
+ :param companyId [int] The ID of the company that creates this request.
:param model [ItemTaxCodeClassificationRequestInputModel] The request you wish to create.
:return ItemTaxCodeClassificationRequestOutputModel
"""
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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4821,7 +4821,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4846,7 +4846,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4868,7 +4868,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4891,7 +4891,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4912,7 +4912,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4932,26 +4932,26 @@ 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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
r"""
Swagger Name: AvaTaxClient
- Get the status of classification requests for a company
+ Get status of classification requests of a company
- Get the status of tax code classification requests for a company.
+ Get status of tax code classification requests of a company.
Avalara AvaTax system tax codes represent various goods and services classified by industry or consumer categories and
- major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes,
- allowing them to take advantage of thousands of tax rules in the AvaTax engine and resulting in accurate taxability determinations.
+ major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes
+ allowing them to take advantage of thousands of tax rules in the AvaTax engine resulting in accurate taxability determinations.
Enable includeClassificationDetails flag to get details of classification request status.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
:param companyId [int] The ID of the company that defined these items
- :param includeClassificationDetails [boolean] A Boolean field that specifies whether to get a detailed classification status.
- :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:* classificationDetails, totalItems, status
+ :param includeClassificationDetails [boolean] A boolean field to get detailed classification status.
+ :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:* classificationDetails, totalItems
: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`.
@@ -4959,7 +4959,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -4984,7 +4984,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5006,7 +5006,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5029,7 +5029,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5052,7 +5052,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5080,7 +5080,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5091,8 +5091,8 @@ def get_premium_classification(self, companyId, itemCode, systemCode):
Get tax code recommendations.
Avalara AvaTax system tax codes represent various goods and services classified by industry or consumer categories and
- major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes,
- allowing them to take advantage of thousands of tax rules in the AvaTax engine and resulting in accurate taxability determinations.
+ major physical similarities. Taxability rules are associated with tax codes. Customers can map their Items to tax codes
+ allowing them to take advantage of thousands of tax rules in the AvaTax engine resulting in accurate taxability determinations.
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
@@ -5106,7 +5106,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5137,7 +5137,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5164,7 +5164,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5192,7 +5192,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5219,7 +5219,7 @@ def list_item_parameters(self, companyId, itemId, include=None):
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
:param companyId [int] The ID of the company that defined these items
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, upc, classifications, parameters, tags, properties
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, upc, classifications, parameters, tags, properties
: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.
@@ -5229,7 +5229,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5249,7 +5249,7 @@ def list_items_by_company(self, companyId, include=None):
### Security Policies
* This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, upc, classifications, parameters, tags, properties
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, upc, classifications, parameters, tags, properties
: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.
@@ -5258,7 +5258,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5280,7 +5280,7 @@ def query_items(self, include=None):
:param companyId [int] The ID of the company that defined these items.
:param tag [string] The master tag to be associated with item.
- :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, upc, classifications, parameters, tags, properties
+ :param filter [string] A filter statement to identify specific records to retrieve. For more information on filtering, see [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/).
*Not filterable:* taxCode, source, sourceEntityId, upc, classifications, parameters, tags, properties
: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.
@@ -5289,7 +5289,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5312,7 +5312,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5339,7 +5339,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5367,7 +5367,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5391,7 +5391,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5415,7 +5415,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5438,7 +5438,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5457,7 +5457,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5480,7 +5480,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5509,7 +5509,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5537,7 +5537,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5557,7 +5557,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5582,7 +5582,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5601,7 +5601,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5620,7 +5620,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5643,7 +5643,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5670,7 +5670,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5693,7 +5693,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5721,7 +5721,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5753,7 +5753,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5784,7 +5784,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5806,7 +5806,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5830,7 +5830,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5851,7 +5851,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5885,7 +5885,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5922,7 +5922,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -5952,7 +5952,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6002,7 +6002,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6038,7 +6038,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6080,7 +6080,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6123,7 +6123,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6178,7 +6178,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6207,7 +6207,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6240,7 +6240,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6272,7 +6272,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6297,7 +6297,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6326,7 +6326,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6351,7 +6351,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6374,7 +6374,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6396,7 +6396,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6421,7 +6421,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6449,7 +6449,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6472,7 +6472,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6502,7 +6502,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6533,7 +6533,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6561,7 +6561,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6590,7 +6590,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6623,7 +6623,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6647,7 +6647,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6666,7 +6666,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6685,7 +6685,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6703,7 +6703,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6721,7 +6721,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6748,7 +6748,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6771,7 +6771,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6799,7 +6799,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6829,7 +6829,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6851,7 +6851,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6872,7 +6872,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6899,7 +6899,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6922,7 +6922,7 @@ def create_notifications(self, model):
"""
def create_service_types(self, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.post('{}/api/v2/servicetypes'.format(self.base_url),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -6944,7 +6944,7 @@ def create_service_types(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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6965,7 +6965,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -6990,7 +6990,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7011,7 +7011,7 @@ def delete_notification(self, id_):
"""
def delete_service_type(self, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.delete('{}/api/v2/servicetypes/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, params=None,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7032,7 +7032,7 @@ def delete_service_type(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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7058,7 +7058,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7083,7 +7083,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7104,7 +7104,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7130,7 +7130,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7153,7 +7153,7 @@ def update_notification(self, id_, model):
"""
def update_service_type(self, id_, model):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.0")
return requests.put('{}/api/v2/servicetypes/{}'.format(self.base_url, id_),
auth=self.auth, headers=self.client_header, json=model,
timeout=self.timeout_limit if self.timeout_limit else 1200)
@@ -7179,7 +7179,7 @@ def update_service_type(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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7206,7 +7206,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7229,7 +7229,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7261,7 +7261,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7289,7 +7289,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7318,7 +7318,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7344,7 +7344,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7370,7 +7370,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7402,7 +7402,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7433,7 +7433,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7462,7 +7462,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7483,7 +7483,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7509,7 +7509,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7534,7 +7534,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7557,7 +7557,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7576,7 +7576,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7599,7 +7599,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7628,7 +7628,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7656,7 +7656,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7682,7 +7682,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7717,7 +7717,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7757,7 +7757,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7808,7 +7808,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7845,7 +7845,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7878,7 +7878,7 @@ def tax_rates_by_address(self, include=None):
"""
def tax_rates_by_postal_code(self, include=None):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7906,7 +7906,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7934,7 +7934,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7962,7 +7962,7 @@ def delete_tax_rule(self, companyId, id_):
"""
def get_tax_rule(self, companyId, id_):
if ('X-Avalara-Client' in self.client_header):
- self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -7996,7 +7996,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8029,7 +8029,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8058,7 +8058,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8093,7 +8093,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8138,7 +8138,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8175,7 +8175,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8213,7 +8213,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8236,7 +8236,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8280,7 +8280,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8322,7 +8322,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8366,7 +8366,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8415,7 +8415,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8447,7 +8447,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8465,7 +8465,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8506,7 +8506,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8535,7 +8535,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8566,7 +8566,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8585,7 +8585,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8631,7 +8631,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8675,7 +8675,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8729,7 +8729,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8771,7 +8771,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8810,7 +8810,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8847,7 +8847,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8866,7 +8866,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8908,7 +8908,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8951,7 +8951,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8972,7 +8972,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -8992,7 +8992,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9013,7 +9013,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9040,7 +9040,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9066,7 +9066,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9090,7 +9090,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9110,7 +9110,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9130,7 +9130,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9151,7 +9151,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9173,7 +9173,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9197,7 +9197,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9219,7 +9219,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9242,7 +9242,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9273,7 +9273,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9303,7 +9303,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9333,7 +9333,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9356,7 +9356,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9377,7 +9377,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9397,7 +9397,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)
@@ -9426,7 +9426,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.1.0")
+ self.client_header['X-Avalara-Client']=self.client_id.replace("API_VERSION","23.2.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)