avatax 26.7.3 → 26.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/avatax/client/batches.rb +4 -0
- data/lib/avatax/client/currencyroundingrules.rb +103 -0
- data/lib/avatax/client/definitions.rb +24 -2
- data/lib/avatax/client/econexusthreshold.rb +15 -15
- data/lib/avatax/client/items.rb +8 -7
- data/lib/avatax/client/reports.rb +2 -1
- data/lib/avatax/client/transactions.rb +1 -1
- data/lib/avatax/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3e1472788c94b587248cf0936bd15f9a5dce475f72f8f3917612403e8b7b087
|
|
4
|
+
data.tar.gz: 717b166329c75462d34f9e47f852955980f1d51c4bfead90510d54edb03cf62c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05725ffcfaf3235c09db4cce6b5d1e7a29c8ba67ecdcd64f847aadf047de8a1e733f6725249205bd794a4b5eb69c99fcf64953e5311962b8defee288b4fc724f
|
|
7
|
+
data.tar.gz: b0af7834d8f9b22a7bfac90edbbd81a7d48aa620366985c4c7da6b0c85a949166e0fe214146077b9c4adf237acdfebb986182a64692959a87cb22e9e2ef6dfa0
|
|
@@ -69,6 +69,10 @@ module AvaTax
|
|
|
69
69
|
# required, please use the
|
|
70
70
|
# [CreateTransaction API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/).
|
|
71
71
|
#
|
|
72
|
+
# Set `skipTransactionValidation` to true to defer transaction type, company code, and
|
|
73
|
+
# nested model validation until BatchV2 processes each transaction. Per-transaction
|
|
74
|
+
# validation failures are then written to the batch error file without blocking upload.
|
|
75
|
+
#
|
|
72
76
|
# The maximum content length of the request body is limited to 28.6 MB. If this limit
|
|
73
77
|
# is exceeded, a 404 Not Found status will be returned (possibly with a CORS error if
|
|
74
78
|
# the API is called from a browser). In this situation, please split the request into
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
module AvaTax
|
|
2
|
+
class Client
|
|
3
|
+
module CurrencyRoundingRules
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Create one or more currency rounding rules
|
|
7
|
+
#
|
|
8
|
+
# Create one or more currency rounding rules for this account. Each rule sets the rounding
|
|
9
|
+
# precision for a currency over an effective-date window.
|
|
10
|
+
#
|
|
11
|
+
# Windows for the same currency may overlap - for a given tax date the rule with the latest
|
|
12
|
+
# `effDate` whose window contains that date applies. Two rules that share a `currencyCode`
|
|
13
|
+
# and `effDate` are ambiguous and are rejected, whether the duplicate is against an existing
|
|
14
|
+
# rule or against another rule in the same request.
|
|
15
|
+
#
|
|
16
|
+
# A rule can only be created for a currency that already has an Avalara system default (see
|
|
17
|
+
# `GET api/v2/definitions/currencyroundingrules`).
|
|
18
|
+
#
|
|
19
|
+
# ### Security Policies
|
|
20
|
+
#
|
|
21
|
+
# * This API requires one of the following user roles: AccountAdmin, AvaTaxOnlyAccountAdmin, BatchServiceAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
|
22
|
+
# Swagger Name: AvaTaxClient
|
|
23
|
+
# @param accountId [Integer] The unique ID number of the account that owns these currency rounding rules.
|
|
24
|
+
# @param model [AccountCurrencyRoundingRuleModel[]] The currency rounding rule object or objects you wish to create.
|
|
25
|
+
# @return [AccountCurrencyRoundingRuleModel[]]
|
|
26
|
+
def create_currency_rounding_rules(accountId, model) path = "/api/v2/accounts/#{accountId}/currencyroundingrules"
|
|
27
|
+
post(path, model, {}, AvaTax::VERSION) end
|
|
28
|
+
|
|
29
|
+
# Delete a single currency rounding rule
|
|
30
|
+
#
|
|
31
|
+
# Deletes the currency rounding rule identified by this URL. After deletion, calculation for
|
|
32
|
+
# that currency falls back to the Avalara default rule (or standard decimal precision if none).
|
|
33
|
+
#
|
|
34
|
+
# ### Security Policies
|
|
35
|
+
#
|
|
36
|
+
# * This API requires one of the following user roles: AccountAdmin, AvaTaxOnlyAccountAdmin, BatchServiceAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
|
37
|
+
# Swagger Name: AvaTaxClient
|
|
38
|
+
# @param accountId [Integer] The unique ID number of the account that owns this currency rounding rule.
|
|
39
|
+
# @param id [Integer] The unique ID number of the currency rounding rule to delete.
|
|
40
|
+
# @return [ErrorDetail[]]
|
|
41
|
+
def delete_currency_rounding_rule(accountId, id) path = "/api/v2/accounts/#{accountId}/currencyroundingrules/#{id}"
|
|
42
|
+
delete(path, {}, AvaTax::VERSION) end
|
|
43
|
+
|
|
44
|
+
# Retrieve a single currency rounding rule
|
|
45
|
+
#
|
|
46
|
+
# Retrieves a single currency rounding rule identified by this URL.
|
|
47
|
+
#
|
|
48
|
+
# ### Security Policies
|
|
49
|
+
#
|
|
50
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
51
|
+
# Swagger Name: AvaTaxClient
|
|
52
|
+
# @param accountId [Integer] The ID of the account that owns this currency rounding rule.
|
|
53
|
+
# @param id [Integer] The unique ID number of the currency rounding rule to retrieve.
|
|
54
|
+
# @return [Object]
|
|
55
|
+
def get_currency_rounding_rule(accountId, id) path = "/api/v2/accounts/#{accountId}/currencyroundingrules/#{id}"
|
|
56
|
+
get(path, {}, AvaTax::VERSION) end
|
|
57
|
+
|
|
58
|
+
# Retrieve all currency rounding rules for this account.
|
|
59
|
+
#
|
|
60
|
+
# Lists all account-specific currency rounding rules for this account.
|
|
61
|
+
#
|
|
62
|
+
# Only rules created for this account are returned. When no rule exists for a currency on a
|
|
63
|
+
# transaction's tax date, the tax engine automatically applies the Avalara system default for
|
|
64
|
+
# that currency; if no system default exists, standard decimal precision is used (no rounding).
|
|
65
|
+
#
|
|
66
|
+
# Each rule's `precision` is `0` (whole currency unit) or `2` (standard decimal cents).
|
|
67
|
+
#
|
|
68
|
+
# Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .
|
|
69
|
+
# Paginate your results using the `$top`, `$skip`, and `$orderBy` parameters.
|
|
70
|
+
#
|
|
71
|
+
# ### Security Policies
|
|
72
|
+
#
|
|
73
|
+
# * This API requires one of the following user roles: AccountAdmin, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
74
|
+
# Swagger Name: AvaTaxClient
|
|
75
|
+
# @param accountId [Integer] The ID of the account whose currency rounding rules you wish to list.
|
|
76
|
+
# @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:* createdDate, createdUserId, modifiedUserId
|
|
77
|
+
# @param include [String] A comma separated list of additional data to retrieve.
|
|
78
|
+
# @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.
|
|
79
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
80
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
81
|
+
# @return [FetchResult]
|
|
82
|
+
def list_currency_rounding_rules(accountId, options={}) path = "/api/v2/accounts/#{accountId}/currencyroundingrules"
|
|
83
|
+
get(path, options, AvaTax::VERSION) end
|
|
84
|
+
|
|
85
|
+
# Update a currency rounding rule
|
|
86
|
+
#
|
|
87
|
+
# Replace the existing currency rounding rule at this URL with an updated object.
|
|
88
|
+
#
|
|
89
|
+
# All data from the existing object will be replaced with data in the object you PUT.
|
|
90
|
+
#
|
|
91
|
+
# ### Security Policies
|
|
92
|
+
#
|
|
93
|
+
# * This API requires one of the following user roles: AccountAdmin, AvaTaxOnlyAccountAdmin, BatchServiceAdmin, CSPTester, SSTAdmin, TechnicalSupportAdmin.
|
|
94
|
+
# Swagger Name: AvaTaxClient
|
|
95
|
+
# @param accountId [Integer] The unique ID number of the account that owns this currency rounding rule.
|
|
96
|
+
# @param id [Integer] The unique ID number of the currency rounding rule to replace.
|
|
97
|
+
# @param model [Object] The new currency rounding rule object to store.
|
|
98
|
+
# @return [Object]
|
|
99
|
+
def update_currency_rounding_rule(accountId, id, model) path = "/api/v2/accounts/#{accountId}/currencyroundingrules/#{id}"
|
|
100
|
+
put(path, model, {}, AvaTax::VERSION) end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
@@ -42,7 +42,7 @@ module AvaTax
|
|
|
42
42
|
#
|
|
43
43
|
#
|
|
44
44
|
# Swagger Name: AvaTaxClient
|
|
45
|
-
# @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:* attributesUsed
|
|
45
|
+
# @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:* attributesUsed, parameterMetadata
|
|
46
46
|
# @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.
|
|
47
47
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
48
48
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -114,7 +114,7 @@ module AvaTax
|
|
|
114
114
|
# If you see the 'CertCaptureNotConfiguredError', please use CheckProvision and RequestProvision endpoints to
|
|
115
115
|
# check and provision account.
|
|
116
116
|
# Swagger Name: AvaTaxClient
|
|
117
|
-
# @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, companyId,
|
|
117
|
+
# @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, companyId, tag, description, created, modified, region, country
|
|
118
118
|
# @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.
|
|
119
119
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
120
120
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -270,6 +270,25 @@ module AvaTax
|
|
|
270
270
|
def list_currencies(options={}) path = "/api/v2/definitions/currencies"
|
|
271
271
|
get(path, options, AvaTax::VERSION) end
|
|
272
272
|
|
|
273
|
+
# List the Avalara system default currency rounding rules.
|
|
274
|
+
#
|
|
275
|
+
# Lists the Avalara system default currency rounding rules - the rounding Avalara applies to
|
|
276
|
+
# a currency when an account has no rule of its own.
|
|
277
|
+
#
|
|
278
|
+
# Only currencies in this list may have an account-specific
|
|
279
|
+
# `AccountCurrencyRoundingRuleModel` created for them.
|
|
280
|
+
#
|
|
281
|
+
# Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) .
|
|
282
|
+
# Paginate your results using the `$top`, `$skip`, and `$orderBy` parameters.
|
|
283
|
+
# Swagger Name: AvaTaxClient
|
|
284
|
+
# @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/).
|
|
285
|
+
# @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.
|
|
286
|
+
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
287
|
+
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
288
|
+
# @return [FetchResult]
|
|
289
|
+
def list_currency_rounding_rule_defaults(options={}) path = "/api/v2/definitions/currencyroundingrules"
|
|
290
|
+
get(path, options, AvaTax::VERSION) end
|
|
291
|
+
|
|
273
292
|
# Retrieve the full list of Avalara-supported entity use codes
|
|
274
293
|
#
|
|
275
294
|
# Returns the full list of Avalara-supported entity use codes.
|
|
@@ -1200,6 +1219,9 @@ module AvaTax
|
|
|
1200
1219
|
# @param taxTypeId [String] The taxtype for which you want to retrieve the unitofbasis information
|
|
1201
1220
|
# @param taxSubTypeId [String] The taxsubtype for which you want to retrieve the unitofbasis information
|
|
1202
1221
|
# @param rateTypeId [String] The ratetype for which you want to retrieve the unitofbasis information
|
|
1222
|
+
# @param state [String] Optional. The State/region (e.g. ```CO```) to narrow the unitofbasis results to a specific jurisdiction. When omitted, results are not narrowed by state.
|
|
1223
|
+
# @param jurisTypeId [String] Optional. The jurisdiction type to filter by. Accepted values are ```STA``` (state), ```CTY``` (county), ```CIT``` (city), or ```STJ``` (special jurisdiction). When omitted, results are not narrowed by jurisdiction type.
|
|
1224
|
+
# @param jurisCode [String] Optional. The local jurisdiction code to filter by (used together with state/jurisTypeId). When omitted, results are not narrowed by jurisdiction code.
|
|
1203
1225
|
# @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.
|
|
1204
1226
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
1205
1227
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
|
@@ -3,31 +3,31 @@ module AvaTax
|
|
|
3
3
|
module EcoNexusThreshold
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
#
|
|
6
|
+
# Retrieve economic nexus threshold statuses for a company
|
|
7
7
|
#
|
|
8
|
-
#
|
|
9
|
-
#
|
|
10
|
-
# Snowflake is never queried on the request path.
|
|
8
|
+
# Retrieve the economic nexus threshold status for each US state in which activity has been
|
|
9
|
+
# evaluated for this company.
|
|
11
10
|
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
#
|
|
11
|
+
# Each entry in `states` describes the measurement window used, the sales and transaction
|
|
12
|
+
# thresholds that apply to that state, the company's totals for the window, and whether
|
|
13
|
+
# the threshold has been met.
|
|
15
14
|
#
|
|
16
|
-
#
|
|
17
|
-
#
|
|
15
|
+
# Threshold statuses are evaluated on a recurring schedule rather than at request time.
|
|
16
|
+
# Use `lastRefreshedAt` to determine how current the returned data is; when it is absent
|
|
17
|
+
# from the response, the age of the data is not known.
|
|
18
18
|
#
|
|
19
|
-
#
|
|
19
|
+
# When the optional `region` query parameter is provided, only the matching state is included
|
|
20
|
+
# in `states`. If no threshold status exists for that company and region, `states` is returned
|
|
21
|
+
# as an empty array with a 200 response.
|
|
20
22
|
#
|
|
21
|
-
#
|
|
22
|
-
# a 503 is returned with no `Retry-After` (misconfiguration requires redeployment).
|
|
23
|
-
# If the cache is still initializing, a 503 is returned with `Retry-After: 300`.
|
|
23
|
+
# Requires the `NexusFetch` permission for the target company.
|
|
24
24
|
#
|
|
25
25
|
# ### Security Policies
|
|
26
26
|
#
|
|
27
27
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
28
28
|
# Swagger Name: AvaTaxClient
|
|
29
|
-
# @param companyId [Integer] The
|
|
30
|
-
# @param region [String] Optional two-letter US state postal code to filter results (case-insensitive). When provided, `states` contains at most one
|
|
29
|
+
# @param companyId [Integer] The ID of the company to retrieve threshold statuses for.
|
|
30
|
+
# @param region [String] Optional two-letter US state postal code used to filter the results (case-insensitive). When provided, `states` contains at most one entry, matched against the `region` field of each entry. Must be exactly two characters; otherwise this endpoint returns 400.
|
|
31
31
|
# @return [Object]
|
|
32
32
|
def get_eco_nexus_thresholds(companyId, options={}) path = "/api/v2/companies/#{companyId}/econexusthresholds"
|
|
33
33
|
get(path, options, AvaTax::VERSION) end
|
data/lib/avatax/client/items.rb
CHANGED
|
@@ -875,22 +875,23 @@ module AvaTax
|
|
|
875
875
|
#
|
|
876
876
|
# You can specify a comma-separated list of countries in the `hsCodeDoesNotExistsInCountries` query parameter if you want to filter items on the basis of whether an HS code does not exist for the provided countries.
|
|
877
877
|
#
|
|
878
|
+
# `tagName`, `itemStatus`, `taxCodeRecommendationStatus`, `hsCodeClassificationStatus`, `hsCodeExistsInCountries`, and `hsCodeDoesNotExistsInCountries`
|
|
879
|
+
# are mutually exclusive: if more than one is supplied in the same request, only the first one in that listed order is applied and the rest are ignored.
|
|
880
|
+
# `tagName`, `itemStatus`, `taxCodeRecommendationStatus`, and `hsCodeClassificationStatus` require a `companyId`;
|
|
881
|
+
# they are not supported on the cross-company `QueryItems` endpoint.
|
|
882
|
+
#
|
|
878
883
|
# You may specify one or more of the following values in the `$include` parameter to fetch additional nested data, using commas to separate multiple values:
|
|
879
884
|
#
|
|
880
885
|
# * Parameters
|
|
881
886
|
# * Classifications
|
|
882
887
|
# * Tags
|
|
883
|
-
# * Properties
|
|
884
|
-
# * TaxCodeRecommendationStatus
|
|
885
|
-
# * HsCodeClassificationStatus
|
|
886
|
-
# * TaxCodeDetails
|
|
887
888
|
#
|
|
888
889
|
# ### Security Policies
|
|
889
890
|
#
|
|
890
891
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
891
892
|
# Swagger Name: AvaTaxClient
|
|
892
893
|
# @param companyId [Integer] The ID of the company that defined these items
|
|
893
|
-
# @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:*
|
|
894
|
+
# @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:* source, sourceEntityId, itemType, upc, summary, classifications, parameters, customParameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails, hsCodeClassificationStatus, image
|
|
894
895
|
# @param include [String] A comma separated list of additional data to retrieve.
|
|
895
896
|
# @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.
|
|
896
897
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
@@ -969,7 +970,7 @@ module AvaTax
|
|
|
969
970
|
#
|
|
970
971
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, AvaTaxOnlyAccountAdmin, AvaTaxOnlyAccountUser, AvaTaxOnlyCompanyAdmin, AvaTaxOnlyCompanyUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ReturnsOnlyAccountAdmin, ReturnsOnlyAccountUser, ReturnsOnlyCompanyAdmin, ReturnsOnlyCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
|
|
971
972
|
# Swagger Name: AvaTaxClient
|
|
972
|
-
# @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:*
|
|
973
|
+
# @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:* source, sourceEntityId, itemType, upc, summary, classifications, parameters, customParameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails, hsCodeClassificationStatus, image
|
|
973
974
|
# @param include [String] A comma separated list of additional data to retrieve.
|
|
974
975
|
# @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.
|
|
975
976
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
@@ -1026,7 +1027,7 @@ module AvaTax
|
|
|
1026
1027
|
# Swagger Name: AvaTaxClient
|
|
1027
1028
|
# @param companyId [Integer] The ID of the company that defined these items.
|
|
1028
1029
|
# @param tag [String] The master tag to be associated with item.
|
|
1029
|
-
# @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:*
|
|
1030
|
+
# @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:* source, sourceEntityId, itemType, upc, summary, classifications, parameters, customParameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails, hsCodeClassificationStatus, image
|
|
1030
1031
|
# @param include [String] A comma separated list of additional data to retrieve.
|
|
1031
1032
|
# @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.
|
|
1032
1033
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
@@ -80,7 +80,8 @@ module AvaTax
|
|
|
80
80
|
# `NEXUS`, `USER`, `COMPANY`, `ACCOUNT`, `COMPANYLOCATION`, `ACCOUNTSETTING`, `COMPANYLOCATIONSETTING`,
|
|
81
81
|
# `COMPANYSETTING`, `TAXCODE`, `TAXRULE`, `ADDRESSSERVICECONFIG`, `AUDITADVANCEDRULE`, `COMPANYCONTACT`,
|
|
82
82
|
# `COMPANYLOCATIONPARAMETERDETAIL`, `COMPANYLOCATIONSETTINGCONFIG`, `COMPANYPARAMETERDETAIL`, `COMPANYRETURN`,
|
|
83
|
-
# `COMPANYRETURNSETTING`, `ITEM`, `SERVICE`, `EXEMPTCERT`, `AVACERTSERVICECONFIG`, `JURISDICTIONOVERRIDE`, `COSTCENTER
|
|
83
|
+
# `COMPANYRETURNSETTING`, `ITEM`, `SERVICE`, `EXEMPTCERT`, `AVACERTSERVICECONFIG`, `JURISDICTIONOVERRIDE`, `COSTCENTER`,
|
|
84
|
+
# `FILINGTASKSTATUSHISTORY`, `COMPANYSTATUSHISTORY`.
|
|
84
85
|
#
|
|
85
86
|
# Set `compression` to `GZIP` to reduce the size of the report file and increase download speed.
|
|
86
87
|
#
|
|
@@ -576,7 +576,7 @@ module AvaTax
|
|
|
576
576
|
# @param companyCode [String] The company code of the company that recorded this transaction
|
|
577
577
|
# @param dataSourceId [Integer] Optionally filter transactions to those from a specific data source.
|
|
578
578
|
# @param include [String] Specifies objects to include in this fetch call
|
|
579
|
-
# @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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus, vendorName, varianceAmount
|
|
579
|
+
# @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:* exchangeRateCurrencyCode, exchangeRateProvider, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus, vendorName, varianceAmount
|
|
580
580
|
# @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.
|
|
581
581
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
|
582
582
|
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
|
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: 26.
|
|
4
|
+
version: 26.8.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marcus Vorwaller
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -134,6 +134,7 @@ files:
|
|
|
134
134
|
- lib/avatax/client/compliance.rb
|
|
135
135
|
- lib/avatax/client/contacts.rb
|
|
136
136
|
- lib/avatax/client/costcenter.rb
|
|
137
|
+
- lib/avatax/client/currencyroundingrules.rb
|
|
137
138
|
- lib/avatax/client/customers.rb
|
|
138
139
|
- lib/avatax/client/datasources.rb
|
|
139
140
|
- lib/avatax/client/definitions.rb
|