avatax 19.9.1 → 19.10.0
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 +5 -0
- data/lib/avatax/client/companies.rb +4 -0
- data/lib/avatax/client/customers.rb +1 -1
- data/lib/avatax/client/definitions.rb +2 -0
- data/lib/avatax/version.rb +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 41bbe0aa9047761c1cbf6ccfa1d69d742b03a5ae5565dd178ab121c134138b70
|
4
|
+
data.tar.gz: 308a4da58273c32584fc4c584bd6e9b6b2d6bf2db75faf152b59a4c1ccb3d46d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6b48ec0a09120400f9493d92e11159bb6cd142f4ee20ca9e8d5e83d654d1adccf24b3dee2dd1bad9aa37041881716a239fa24938b002321a665cf5e90c0dcfa
|
7
|
+
data.tar.gz: f8cd9cd73570b5c1c77d9bb8204cec938011c271e9633ee314adc6036eb7243bcdc81f4aabcc9fee4b36c0bd444de409d3f20d6bfe569afc7fe2e968bd70fd58
|
@@ -20,6 +20,11 @@ module AvaTax
|
|
20
20
|
# required, please use the
|
21
21
|
# [CreateTransaction API](https://developer.avalara.com/api-reference/avatax/rest/v2/methods/Transactions/CreateTransaction/).
|
22
22
|
#
|
23
|
+
# The maximum content length of the request body is limited to 28.6 MB. If this limit
|
24
|
+
# is exceeded, a 404 Not Found status will be returned (possibly with a CORS error if
|
25
|
+
# the API is called from a browser). In this situation, please split the request into
|
26
|
+
# smaller batches.
|
27
|
+
#
|
23
28
|
# ### Security Policies
|
24
29
|
#
|
25
30
|
# * This API requires one of the following user roles: AccountAdmin, AccountOperator, CompanyAdmin, CSPTester, SSTAdmin, SystemAdmin, SystemOperator, TechnicalSupportAdmin.
|
@@ -100,6 +100,8 @@ module AvaTax
|
|
100
100
|
# A 'company' represents a single corporation or individual that is registered to handle transactional taxes.
|
101
101
|
# You may attach nested data objects such as contacts, locations, and nexus with this CREATE call, and those objects will be created with the company.
|
102
102
|
#
|
103
|
+
# NOTE: Please do not use these blacklisted characters in company name and code: ';', '\', '|'.
|
104
|
+
#
|
103
105
|
# ### Security Policies
|
104
106
|
#
|
105
107
|
# * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
|
@@ -381,6 +383,8 @@ module AvaTax
|
|
381
383
|
#
|
382
384
|
# To set a field's value to `null`, you may either set its value to `null` or omit that field from the object you PUT.
|
383
385
|
#
|
386
|
+
# NOTE: Please do not use these blacklisted characters in company name and code: ';', '\', '|'.
|
387
|
+
#
|
384
388
|
# ### Security Policies
|
385
389
|
#
|
386
390
|
# * This API requires one of the following user roles: AccountAdmin, CompanyAdmin, CSPTester, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.
|
@@ -55,7 +55,7 @@ module AvaTax
|
|
55
55
|
# * This API depends on the following active services<br />*Required* (all): AvaTaxPro.
|
56
56
|
# @param companyId [Integer] The unique ID number of the company that recorded this customer
|
57
57
|
# @param customerCode [String] The unique code representing this customer
|
58
|
-
# @return [
|
58
|
+
# @return [ErrorDetail[]]
|
59
59
|
def delete_customer(companyId, customerCode)
|
60
60
|
path = "/api/v2/companies/#{companyId}/customers/#{customerCode}"
|
61
61
|
delete(path)
|
@@ -307,6 +307,8 @@ module AvaTax
|
|
307
307
|
#
|
308
308
|
# This API allows you to examine all Avalara-supported jurisdictions. You can filter your search by supplying
|
309
309
|
# SQL-like query for fetching only the ones you concerned about. For example: effectiveDate > '2016-01-01'
|
310
|
+
#
|
311
|
+
# The rate, salesRate, and useRate fields are not available on the JurisdictionModels returned by this API.
|
310
312
|
# @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:* rate, salesRate, signatureCode, useRate
|
311
313
|
# @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.
|
312
314
|
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
|
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: 19.
|
4
|
+
version: 19.10.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: 2019-
|
11
|
+
date: 2019-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -217,8 +217,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
217
|
- !ruby/object:Gem::Version
|
218
218
|
version: 2.0.0
|
219
219
|
requirements: []
|
220
|
-
rubygems_version: 3.0.
|
220
|
+
rubygems_version: 3.0.2
|
221
221
|
signing_key:
|
222
222
|
specification_version: 4
|
223
223
|
summary: Ruby wrapper for the AvaTax API
|
224
|
-
test_files:
|
224
|
+
test_files:
|
225
|
+
- spec/avatax/client/accounts_spec.rb
|
226
|
+
- spec/avatax/client/transactions_spec.rb
|
227
|
+
- spec/avatax_spec.rb
|
228
|
+
- spec/credentials.yaml.example
|
229
|
+
- spec/fixtures/accounts.json
|
230
|
+
- spec/spec_helper.rb
|