avatax 23.8.1 → 23.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avatax/client/accounts.rb +14 -0
- data/lib/avatax/client/addresses.rb +15 -11
- data/lib/avatax/client/apconfigsetting.rb +54 -0
- data/lib/avatax/client/costcenter.rb +87 -0
- data/lib/avatax/client/customers.rb +1 -1
- data/lib/avatax/client/definitions.rb +17 -1
- data/lib/avatax/client/domaincontrolverification.rb +34 -0
- data/lib/avatax/client/shippingverificationbatches.rb +44 -0
- data/lib/avatax/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b284a025cf6da4d08e800948c224d4349fd0b135c2bbd93b894a8896db0250b
|
4
|
+
data.tar.gz: 4d5bb87fb862f66cbaabe6dbbb532f3aae5c6934a6ff4dc990152d8a17aefac2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0899840e86762bb4d0d9ab85d08c566ec8ed531c25341b0d7d1382f512ed720fd3523dd9649231289045546c41e038e7606856979280c3c2a2e36ccb0f4ed6c1'
|
7
|
+
data.tar.gz: 73ba848201eaf752af22923a1298a1568d1d2bca65d9b7dc95bfcfb8b75530bb11013c4ef17130727e5a9c29d52c0d2e87b6f66c8e479a4ecba7a754baa283aa
|
@@ -191,6 +191,20 @@ module AvaTax
|
|
191
191
|
def get_license_keys(id) path = "/api/v2/accounts/#{id}/licensekeys"
|
192
192
|
get(path, {}, AvaTax::VERSION) end
|
193
193
|
|
194
|
+
# Retrieve a list of MRS Accounts
|
195
|
+
#
|
196
|
+
# This API is available by invitation only.
|
197
|
+
#
|
198
|
+
# Get a list of accounts with an active MRS service.
|
199
|
+
#
|
200
|
+
# ### Security Policies
|
201
|
+
#
|
202
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
|
203
|
+
# Swagger Name: AvaTaxClient
|
204
|
+
# @return [FetchResult]
|
205
|
+
def list_mrs_accounts() path = "/api/v2/accounts/mrs"
|
206
|
+
get(path, {}, AvaTax::VERSION) end
|
207
|
+
|
194
208
|
# Retrieve all accounts
|
195
209
|
#
|
196
210
|
# List all account objects that can be seen by the current user.
|
@@ -3,12 +3,14 @@ module AvaTax
|
|
3
3
|
module Addresses
|
4
4
|
|
5
5
|
|
6
|
-
# Retrieve geolocation information for a specified address
|
6
|
+
# Retrieve geolocation information for a specified US or Canadian address
|
7
7
|
#
|
8
|
-
# Resolve
|
9
|
-
#
|
10
|
-
#
|
11
|
-
#
|
8
|
+
# Resolve a US or Canadian address against Avalara's address validation system. Note that this API is
|
9
|
+
# valid for US and Canadian addresses only.
|
10
|
+
#
|
11
|
+
# If the address can be resolved, this API provides the latitude and longitude of the resolved location.
|
12
|
+
# The value `resolutionQuality` can be used to identify how closely this address can be located. If the
|
13
|
+
# address cannot be clearly located, use the `messages` structure to learn more about problems with this address.
|
12
14
|
# This is the same API as the POST /api/v2/addresses/resolve endpoint.
|
13
15
|
# Both verbs are supported to provide for flexible implementation.
|
14
16
|
#
|
@@ -34,13 +36,15 @@ module AvaTax
|
|
34
36
|
def resolve_address(options={}) path = "/api/v2/addresses/resolve"
|
35
37
|
get(path, options, AvaTax::VERSION) end
|
36
38
|
|
37
|
-
# Retrieve geolocation information for a specified address
|
39
|
+
# Retrieve geolocation information for a specified US or Canadian address
|
38
40
|
#
|
39
|
-
# Resolve
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
41
|
+
# Resolve a US or Canadian address against Avalara's address validation system. Note that this API is
|
42
|
+
# valid for US and Canadian addresses only.
|
43
|
+
#
|
44
|
+
# If the address can be resolved, this API provides the latitude and longitude of the resolved location.
|
45
|
+
# The value `resolutionQuality` can be used to identify how closely this address can be located. If the
|
46
|
+
# address cannot be clearly located, use the `messages` structure to learn more about problems with this
|
47
|
+
# address. This is the same API as the GET /api/v2/addresses/resolve endpoint.
|
44
48
|
# Both verbs are supported to provide for flexible implementation.
|
45
49
|
#
|
46
50
|
# ### Security Policies
|
@@ -0,0 +1,54 @@
|
|
1
|
+
module AvaTax
|
2
|
+
class Client
|
3
|
+
module APConfigSetting
|
4
|
+
|
5
|
+
|
6
|
+
# Create new rule
|
7
|
+
#
|
8
|
+
#
|
9
|
+
# Swagger Name: AvaTaxClient
|
10
|
+
# @param companyid [Integer] The ID of the company that owns this AP Config Setting object
|
11
|
+
# @param model [Object] The AP Config Setting you wish to create.
|
12
|
+
# @return [Object]
|
13
|
+
def create_a_p_config_setting(companyid, model) path = "/api/v2/companies/#{companyid}/apconfigsetting"
|
14
|
+
post(path, model, {}, AvaTax::VERSION) end
|
15
|
+
|
16
|
+
# Retrieve rule for this company
|
17
|
+
#
|
18
|
+
#
|
19
|
+
# Swagger Name: AvaTaxClient
|
20
|
+
# @param companyid [Integer] The ID of the company that defined this rule
|
21
|
+
# @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/).<br />*Not filterable:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent
|
22
|
+
# @param include [String] A comma separated list of additional data to retrieve.
|
23
|
+
# @param top [Integer] 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.
|
24
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
25
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
26
|
+
# @return [FetchResult]
|
27
|
+
def get_a_p_config_setting_by_company(companyid, options={}) path = "/api/v2/companies/#{companyid}/apconfigsetting"
|
28
|
+
get(path, options, AvaTax::VERSION) end
|
29
|
+
|
30
|
+
# Retrieve all rules
|
31
|
+
#
|
32
|
+
#
|
33
|
+
# Swagger Name: AvaTaxClient
|
34
|
+
# @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/).<br />*Not filterable:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent
|
35
|
+
# @param include [String] A comma separated list of additional data to retrieve.
|
36
|
+
# @param top [Integer] 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.
|
37
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
38
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
39
|
+
# @return [FetchResult]
|
40
|
+
def query_a_p_config_setting(options={}) path = "/api/v2/apconfigsetting"
|
41
|
+
get(path, options, AvaTax::VERSION) end
|
42
|
+
|
43
|
+
# Update a AP config setting
|
44
|
+
#
|
45
|
+
#
|
46
|
+
# Swagger Name: AvaTaxClient
|
47
|
+
# @param companyid [Integer] The ID of the company that owns this AP config setting object
|
48
|
+
# @param model [Object] The AP config setting object you wish to update.
|
49
|
+
# @return [Object]
|
50
|
+
def update_a_p_config_setting(companyid, model) path = "/api/v2/companies/#{companyid}/apconfigsetting"
|
51
|
+
put(path, model, {}, AvaTax::VERSION) end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
module AvaTax
|
2
|
+
class Client
|
3
|
+
module CostCenter
|
4
|
+
|
5
|
+
|
6
|
+
# Bulk upload cost centers
|
7
|
+
#
|
8
|
+
# Allows bulk upload of cost centers for the specified company. Use the companyId path parameter to identify the company for which the cost centers should be uploaded.
|
9
|
+
# Swagger Name: AvaTaxClient
|
10
|
+
# @param companyid [Integer] The ID of the company that owns this cost center object
|
11
|
+
# @param model [Object] The cost center bulk upload model.
|
12
|
+
# @return [Object]
|
13
|
+
def bulk_upload_cost_centers(companyid, model) path = "/api/v2/companies/#{companyid}/costcenters/$upload"
|
14
|
+
post(path, model, {}, AvaTax::VERSION) end
|
15
|
+
|
16
|
+
# Create new cost center
|
17
|
+
#
|
18
|
+
# Creates one or more new item objects attached to this company.
|
19
|
+
#
|
20
|
+
# Costcenter is defined as function or department within a company which is not directly going to generate revenues and profits to the company but is still incurring expenses to the company for its operations.
|
21
|
+
# Swagger Name: AvaTaxClient
|
22
|
+
# @param companyid [Integer] The ID of the company that owns this cost center object
|
23
|
+
# @param model [Object] The cost center you wish to create.
|
24
|
+
# @return [Object]
|
25
|
+
def create_cost_center(companyid, model) path = "/api/v2/companies/#{companyid}/costcenters"
|
26
|
+
post(path, model, {}, AvaTax::VERSION) end
|
27
|
+
|
28
|
+
# Delete cost center for the given id
|
29
|
+
#
|
30
|
+
# Deletes a cost center with the specified costcenterId that belongs to the company.
|
31
|
+
# Swagger Name: AvaTaxClient
|
32
|
+
# @param companyid [Integer] The ID of the company that owns this cost center object
|
33
|
+
# @param costcenterid [Integer] The primary key of this cost center
|
34
|
+
# @return [Object]
|
35
|
+
def delete_cost_center(companyid, costcenterid) path = "/api/v2/companies/#{companyid}/costcenters/#{costcenterid}"
|
36
|
+
delete(path, {}, AvaTax::VERSION) end
|
37
|
+
|
38
|
+
# Retrieve a single cost center
|
39
|
+
#
|
40
|
+
# Retrieves details of a single cost center identified by costcenterId, which is owned by the company.
|
41
|
+
# Swagger Name: AvaTaxClient
|
42
|
+
# @param companyid [Integer] The ID of the company that owns this cost center object
|
43
|
+
# @param costcenterid [Integer] The primary key of this cost center
|
44
|
+
# @return [Object]
|
45
|
+
def get_cost_center_by_id(companyid, costcenterid) path = "/api/v2/companies/#{companyid}/costcenters/#{costcenterid}"
|
46
|
+
get(path, {}, AvaTax::VERSION) end
|
47
|
+
|
48
|
+
# Retrieve cost centers for this company
|
49
|
+
#
|
50
|
+
# Retrieves a list of cost centers attached to this company. You can apply filters to retrieve specific records.
|
51
|
+
# Swagger Name: AvaTaxClient
|
52
|
+
# @param companyid [Integer] The ID of the company that defined these cost centers
|
53
|
+
# @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/).<br />*Not filterable:* companyId, meta, defaultItem
|
54
|
+
# @param include [String] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
|
55
|
+
# @param top [Integer] 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.
|
56
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
57
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
58
|
+
# @return [FetchResult]
|
59
|
+
def list_cost_centers_by_company(companyid, options={}) path = "/api/v2/companies/#{companyid}/costcenters"
|
60
|
+
get(path, options, AvaTax::VERSION) end
|
61
|
+
|
62
|
+
# Retrieve all cost centers
|
63
|
+
#
|
64
|
+
# Retrieves all cost centers available. You can apply filters to retrieve specific records.
|
65
|
+
# Swagger Name: AvaTaxClient
|
66
|
+
# @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/).<br />*Not filterable:* companyId, meta, defaultItem
|
67
|
+
# @param include [String] A comma separated list of objects to fetch underneath this company. Any object with a URL path underneath this company can be fetched by specifying its name.
|
68
|
+
# @param top [Integer] 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.
|
69
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
70
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
71
|
+
# @return [FetchResult]
|
72
|
+
def query_cost_centers(options={}) path = "/api/v2/costcenters"
|
73
|
+
get(path, options, AvaTax::VERSION) end
|
74
|
+
|
75
|
+
# Update a single cost center
|
76
|
+
#
|
77
|
+
# Updates a single cost center owned by the company. Use the costcenterId path parameter to identify the cost center to update.
|
78
|
+
# Swagger Name: AvaTaxClient
|
79
|
+
# @param companyid [Integer] The ID of the company that owns this cost center object
|
80
|
+
# @param costcenterid [Integer] The primary key of this cost center
|
81
|
+
# @param model [Object] The cost center object you wish to update.
|
82
|
+
# @return [Object]
|
83
|
+
def update_cost_center(companyid, costcenterid, model) path = "/api/v2/companies/#{companyid}/costcenters/#{costcenterid}"
|
84
|
+
put(path, model, {}, AvaTax::VERSION) end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -54,7 +54,7 @@ module AvaTax
|
|
54
54
|
# Swagger Name: AvaTaxClient
|
55
55
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
56
56
|
# @param customerCode [String] The unique code representing this customer
|
57
|
-
# @return [
|
57
|
+
# @return []
|
58
58
|
def delete_customer(companyId, customerCode) path = "/api/v2/companies/#{companyId}/customers/#{customerCode}"
|
59
59
|
delete(path, {}, AvaTax::VERSION) end
|
60
60
|
|
@@ -362,6 +362,22 @@ module AvaTax
|
|
362
362
|
def list_jurisdictions_by_rate_type_tax_type_mapping(country, taxTypeId, taxSubTypeId, options={}) path = "/api/v2/definitions/jurisdictions/countries/#{country}/taxtypes/#{taxTypeId}/taxsubtypes/#{taxSubTypeId}"
|
363
363
|
get(path, options, AvaTax::VERSION) end
|
364
364
|
|
365
|
+
# List jurisdictions hierarchy based on the filter provided
|
366
|
+
#
|
367
|
+
# Returns a list of all Avalara-supported taxing jurisdictions hirearchy.
|
368
|
+
#
|
369
|
+
# This API Lists the hierarchical relationship of jurisdictions for US states, identifying the cities and special taxing jurisdictions (STJs) for a given county within a state.
|
370
|
+
#
|
371
|
+
# The rate, salesRate, and useRate fields are not available on the JurisdictionHirearchyModels returned by this API.
|
372
|
+
# Swagger Name: AvaTaxClient
|
373
|
+
# @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/).<br />*Not filterable:* parentId, nexus, rate, salesRate, signatureCode, useRate, isAcm, isSst
|
374
|
+
# @param top [Integer] 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.
|
375
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
376
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
377
|
+
# @return [FetchResult]
|
378
|
+
def list_jurisdictions_hierarchy(options={}) path = "/api/v2/definitions/jurisdictions/hierarchy"
|
379
|
+
get(path, options, AvaTax::VERSION) end
|
380
|
+
|
365
381
|
# List jurisdiction types based on the provided taxTypeId, taxSubTypeId, country, and rateTypeId
|
366
382
|
#
|
367
383
|
# Returns a list of all applicable jurisdiction types based on country, taxTypeId, taxSubTypeId, and rateTypeId
|
@@ -825,7 +841,7 @@ module AvaTax
|
|
825
841
|
# This API is intended to be useful to identify all the different rate types.
|
826
842
|
# Swagger Name: AvaTaxClient
|
827
843
|
# @param country [String] The country to examine for rate types
|
828
|
-
# @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/)
|
844
|
+
# @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/).<br />*Not filterable:* country
|
829
845
|
# @param top [Integer] 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.
|
830
846
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
831
847
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
@@ -0,0 +1,34 @@
|
|
1
|
+
module AvaTax
|
2
|
+
class Client
|
3
|
+
module DomainControlVerification
|
4
|
+
|
5
|
+
|
6
|
+
# Create Domain control verification
|
7
|
+
#
|
8
|
+
#
|
9
|
+
# Swagger Name: AvaTaxClient
|
10
|
+
# @param model [Object]
|
11
|
+
# @return [Object]
|
12
|
+
def create_dcv(model) path = "/api/v2/domain-control-verifications"
|
13
|
+
post(path, model, {}, AvaTax::VERSION) end
|
14
|
+
|
15
|
+
# Get domain control verifications by logged in user/domain name.
|
16
|
+
#
|
17
|
+
#
|
18
|
+
# Swagger Name: AvaTaxClient
|
19
|
+
# @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/).<br />*Not filterable:* Id, Context, Token, Status, EmailId, CreatedOn, CreatedBy, UpdatedOn, UpdatedBy
|
20
|
+
# @return [DcvViewModel[]]
|
21
|
+
def filter_dcv(options={}) path = "/api/v2/domain-control-verifications"
|
22
|
+
get(path, options, AvaTax::VERSION) end
|
23
|
+
|
24
|
+
# Get domain control verification by domainControlVerificationId
|
25
|
+
#
|
26
|
+
#
|
27
|
+
# Swagger Name: AvaTaxClient
|
28
|
+
# @param domainControlVerificationId [String]
|
29
|
+
# @return [Object]
|
30
|
+
def get_dcv_by_id(domainControlVerificationId) path = "/api/v2/domain-control-verifications/#{domainControlVerificationId}"
|
31
|
+
get(path, {}, AvaTax::VERSION) end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
module AvaTax
|
2
|
+
class Client
|
3
|
+
module ShippingVerificationBatches
|
4
|
+
|
5
|
+
|
6
|
+
# Enqueues a batch of AvaTax transactions to be deregistered by ASV
|
7
|
+
#
|
8
|
+
#
|
9
|
+
# Swagger Name: AvaTaxBeverageClient
|
10
|
+
# @param companyCode [String] The company code of the company that recorded the transaction
|
11
|
+
# @param batchCode [String] The batch code of generated by AvaTax batch transaction upload
|
12
|
+
# @param api-version [String] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2
|
13
|
+
# @param x-avalara-version [String] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2. Header takes precendence if both header and query parameters are present.
|
14
|
+
# @return []
|
15
|
+
def enqueue_batch_deregistration(companyCode, batchCode, options={}, x_avalara_version="") path = "/api/v2/asv/companies/#{companyCode}/batches/#{batchCode}/deregister"
|
16
|
+
headers= Hash.new
|
17
|
+
headers["x-avalara-version"]=x_avalara_version if !(x_avalara_version.nil? || x_avalara_version.empty?);
|
18
|
+
put(path, options, AvaTax::VERSION, headers) end
|
19
|
+
|
20
|
+
# Enqueues a batch of AvaTax transactions to be registered by ASV
|
21
|
+
#
|
22
|
+
#
|
23
|
+
# Swagger Name: AvaTaxBeverageClient
|
24
|
+
# @param companyCode [String] The company code of the company that recorded the transaction
|
25
|
+
# @param batchCode [String] The batch code generated by AvaTax for batch transaction upload process
|
26
|
+
# @param api-version [String] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2
|
27
|
+
# @param x-avalara-version [String] (Optional): API version that should satisfy the request. If omitted, defaults to 2.2. Header takes precendence if both header and query parameters are present.
|
28
|
+
# @return []
|
29
|
+
def enqueue_batch_registration(companyCode, batchCode, options={}, x_avalara_version="") path = "/api/v2/asv/companies/#{companyCode}/batches/#{batchCode}/register"
|
30
|
+
headers= Hash.new
|
31
|
+
headers["x-avalara-version"]=x_avalara_version if !(x_avalara_version.nil? || x_avalara_version.empty?);
|
32
|
+
put(path, options, AvaTax::VERSION, headers) end
|
33
|
+
|
34
|
+
# Gets records for current and previously processed batch registration jobs
|
35
|
+
#
|
36
|
+
#
|
37
|
+
# Swagger Name: AvaTaxBeverageClient
|
38
|
+
# @param accountId [String] (Optional): For users with access to multiple accounts, filters results to those associated with the specified Account ID. If not specified, the Account ID defaults to the one associated with the account
|
39
|
+
# @return [Object]
|
40
|
+
def get_batch_registration_data(options={}) path = "/api/v2/asv/batches"
|
41
|
+
get(path, options, AvaTax::VERSION) end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/lib/avatax/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avatax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 23.
|
4
|
+
version: 23.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Vorwaller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -122,6 +122,7 @@ files:
|
|
122
122
|
- lib/avatax/client/addresses.rb
|
123
123
|
- lib/avatax/client/advancedrules.rb
|
124
124
|
- lib/avatax/client/ageverification.rb
|
125
|
+
- lib/avatax/client/apconfigsetting.rb
|
125
126
|
- lib/avatax/client/avafileforms.rb
|
126
127
|
- lib/avatax/client/batches.rb
|
127
128
|
- lib/avatax/client/certexpressinvites.rb
|
@@ -129,10 +130,12 @@ files:
|
|
129
130
|
- lib/avatax/client/companies.rb
|
130
131
|
- lib/avatax/client/compliance.rb
|
131
132
|
- lib/avatax/client/contacts.rb
|
133
|
+
- lib/avatax/client/costcenter.rb
|
132
134
|
- lib/avatax/client/customers.rb
|
133
135
|
- lib/avatax/client/datasources.rb
|
134
136
|
- lib/avatax/client/definitions.rb
|
135
137
|
- lib/avatax/client/distancethresholds.rb
|
138
|
+
- lib/avatax/client/domaincontrolverification.rb
|
136
139
|
- lib/avatax/client/ecms.rb
|
137
140
|
- lib/avatax/client/ecommercetoken.rb
|
138
141
|
- lib/avatax/client/errortransactions.rb
|
@@ -155,6 +158,7 @@ files:
|
|
155
158
|
- lib/avatax/client/reports.rb
|
156
159
|
- lib/avatax/client/settings.rb
|
157
160
|
- lib/avatax/client/shippingverification.rb
|
161
|
+
- lib/avatax/client/shippingverificationbatches.rb
|
158
162
|
- lib/avatax/client/subscriptions.rb
|
159
163
|
- lib/avatax/client/taxContent/README.txt
|
160
164
|
- lib/avatax/client/taxRatesByZip/README.txt
|