avatax 23.4.1 → 23.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a7b6f6511b3ab49959a399340046d61a121066f136b93f77645b46cb109173f
4
- data.tar.gz: 88b98f1671e8ab451b9cc3f181db617e3e0158189a4efb7961e99ae59c6233b3
3
+ metadata.gz: 86f4e768137dffab0a7952fd6f2ea86dba5c0af20c5f2efc626771df325b41af
4
+ data.tar.gz: 22d11863fedef0034a3d90a8ca14043406d19fe46d88a56c6561e1fbaba07be3
5
5
  SHA512:
6
- metadata.gz: aead5df9e3dd85139f492a957d3c1877d31ce4ce747c14fdbc5430b91d437ca572ebe901cb815abc932ffbf184193d6cc52f148b657eca946c1c0f1320a8eebe
7
- data.tar.gz: 32a3ac9b4a97e675c716d0328e47fbee372c2abcf0916bd4e345bf5c6871859c4a77b8f77676144a1e43b7890046553b31224a0828436c3312cc43af59560897
6
+ metadata.gz: c5fb22d09783e9ae0a5b35119c247bce9f238e340146ad75fd797723c9ed10afaa9640020a9c78609ad1d29141d98355989be83f52cd969183ab6afb9f0956b3
7
+ data.tar.gz: 7afd67ffc0f958cab45955c467cbec2441ae73a6640c20fe33e4a3fd743507ab4e6218ec0781793c5e29811910a25a8f7d253a25d74c7f281dd3fb10d31ffd43
@@ -641,7 +641,7 @@ module AvaTax
641
641
  # Returns the full list of Avalara-supported tax notice statuses.
642
642
  # This API is intended to be useful to identify all the different tax notice statuses.
643
643
  # Swagger Name: AvaTaxClient
644
- # @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:* isOpen, sortOrder
644
+ # @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:* isOpen, sortOrder, activeFlag
645
645
  # @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.
646
646
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
647
647
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -753,6 +753,7 @@ module AvaTax
753
753
  # @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.
754
754
  # @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
755
755
  # @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
756
+ # @param includeExpiredPostalCodes [Boolean] If set to true, returns expired postal codes. Defaults to false
756
757
  # @return [FetchResult]
757
758
  def list_postal_codes(options={}) path = "/api/v2/definitions/postalcodes"
758
759
  get(path, options, AvaTax::VERSION) end
@@ -1015,7 +1016,7 @@ module AvaTax
1015
1016
  #
1016
1017
  # ### Security Policies
1017
1018
  #
1018
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
1019
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
1019
1020
  # Swagger Name: AvaTaxClient
1020
1021
  # @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/).
1021
1022
  # @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.
@@ -45,7 +45,7 @@ module AvaTax
45
45
  #
46
46
  # ### Security Policies
47
47
  #
48
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
48
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
49
49
  # Swagger Name: AvaTaxClient
50
50
  # @param companyId [Integer] The ID of the company that owns this tax code
51
51
  # @param id [Integer] The primary key of this tax code
@@ -66,7 +66,7 @@ module AvaTax
66
66
  #
67
67
  # ### Security Policies
68
68
  #
69
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
69
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
70
70
  # Swagger Name: AvaTaxClient
71
71
  # @param companyId [Integer] The ID of the company that owns these tax codes
72
72
  # @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/).
@@ -91,7 +91,7 @@ module AvaTax
91
91
  #
92
92
  # ### Security Policies
93
93
  #
94
- # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
94
+ # * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
95
95
  # Swagger Name: AvaTaxClient
96
96
  # @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/).
97
97
  # @param include [String] A comma separated list of additional data to retrieve.
@@ -141,8 +141,10 @@ module AvaTax
141
141
  # This API assumes that you are selling general tangible personal property at a retail point-of-sale
142
142
  # location in the United States only.
143
143
  #
144
- # For more powerful tax calculation, please consider upgrading to the `CreateTransaction` API,
145
- # which supports features including, but not limited to:
144
+ # Please be advised that this endpoint is designed for approximate tax rate estimation only and
145
+ # may not yield precise results. For a more powerful and accurate tax estimation, upgrade to the
146
+ # `CreateTransaction` API, which offers a variety of advanced features including, but not limited
147
+ # to:
146
148
  #
147
149
  # * Nexus declarations
148
150
  # * Taxability based on product/service type
@@ -177,8 +179,10 @@ module AvaTax
177
179
  # This API assumes that you are selling general tangible personal property at a retail point-of-sale
178
180
  # location in the United States only.
179
181
  #
180
- # For more powerful tax calculation, please consider upgrading to the `CreateTransaction` API,
181
- # which supports features including, but not limited to:
182
+ # Please be advised that this endpoint is designed for approximate tax rate estimation only and
183
+ # may not yield precise results. For a more powerful and accurate tax estimation, upgrade to the
184
+ # `CreateTransaction` API, which offers a variety of advanced features including, but not limited
185
+ # to:
182
186
  #
183
187
  # * Nexus declarations
184
188
  # * Taxability based on product/service type
@@ -283,6 +283,8 @@ module AvaTax
283
283
  #
284
284
  # To generate a refund for a transaction, use the `RefundTransaction` API.
285
285
  #
286
+ # An address is required for calculation. If no address is provided at the line level, the document level address will be used.
287
+ #
286
288
  # If you don't specify the field `type` in your request, you will get an estimate of type `SalesOrder`, which will not be recorded in the database.
287
289
  #
288
290
  # A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like
@@ -332,6 +334,8 @@ module AvaTax
332
334
  #
333
335
  # To generate a refund for a transaction, use the `RefundTransaction` API.
334
336
  #
337
+ # An address is required for calculation. If no address is provided at the line level, the document level address will be used.
338
+ #
335
339
  # The field `type` identifies the kind of transaction - for example, a sale, purchase, or refund. If you do not specify
336
340
  # a `type` value, you will receive an estimate of type `SalesOrder`, which will not be recorded.
337
341
  #
@@ -1,3 +1,3 @@
1
1
  module AvaTax
2
- VERSION = '23.4.1'.freeze unless defined?(::AvaTax::VERSION)
2
+ VERSION = '23.5.0'.freeze unless defined?(::AvaTax::VERSION)
3
3
  end
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.1
4
+ version: 23.5.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-04-27 00:00:00.000000000 Z
11
+ date: 2023-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake