Skip to content

Commit b7061ac

Browse files
Merge pull request #152 from avadev/23.5.0
Update for 23.5.0
2 parents 810a234 + 49c14e1 commit b7061ac

File tree

5 files changed

+19
-10
lines changed

5 files changed

+19
-10
lines changed

lib/avatax/client/definitions.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ def list_notice_root_causes(options={}) path = "/api/v2/definitions/notic
641641
# Returns the full list of Avalara-supported tax notice statuses.
642642
# This API is intended to be useful to identify all the different tax notice statuses.
643643
# 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
645645
# @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.
646646
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
647647
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
@@ -753,6 +753,7 @@ def list_permissions(options={}) path = "/api/v2/definitions/permissions"
753753
# @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.
754754
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
755755
# @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
756757
# @return [FetchResult]
757758
def list_postal_codes(options={}) path = "/api/v2/definitions/postalcodes"
758759
get(path, options, AvaTax::VERSION) end
@@ -1015,7 +1016,7 @@ def list_tax_authority_types(options={}) path = "/api/v2/definitions/taxa
10151016
#
10161017
# ### Security Policies
10171018
#
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.
10191020
# Swagger Name: AvaTaxClient
10201021
# @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/).
10211022
# @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.

lib/avatax/client/taxcodes.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def delete_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}
4545
#
4646
# ### Security Policies
4747
#
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.
4949
# Swagger Name: AvaTaxClient
5050
# @param companyId [Integer] The ID of the company that owns this tax code
5151
# @param id [Integer] The primary key of this tax code
@@ -66,7 +66,7 @@ def get_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}/ta
6666
#
6767
# ### Security Policies
6868
#
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.
7070
# Swagger Name: AvaTaxClient
7171
# @param companyId [Integer] The ID of the company that owns these tax codes
7272
# @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 @@ def list_tax_codes_by_company(companyId, options={}) path = "/api/v2/comp
9191
#
9292
# ### Security Policies
9393
#
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.
9595
# Swagger Name: AvaTaxClient
9696
# @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/).
9797
# @param include [String] A comma separated list of additional data to retrieve.

lib/avatax/client/taxcontent.rb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,10 @@ def download_tax_rates_by_zip_code(date, options={}) path = "/api/v2/taxr
141141
# This API assumes that you are selling general tangible personal property at a retail point-of-sale
142142
# location in the United States only.
143143
#
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:
146148
#
147149
# * Nexus declarations
148150
# * Taxability based on product/service type
@@ -177,8 +179,10 @@ def tax_rates_by_address(options={}) path = "/api/v2/taxrates/byaddress"
177179
# This API assumes that you are selling general tangible personal property at a retail point-of-sale
178180
# location in the United States only.
179181
#
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:
182186
#
183187
# * Nexus declarations
184188
# * Taxability based on product/service type

lib/avatax/client/transactions.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,8 @@ def commit_transaction(companyCode, transactionCode, model, options={}) p
283283
#
284284
# To generate a refund for a transaction, use the `RefundTransaction` API.
285285
#
286+
# An address is required for calculation. If no address is provided at the line level, the document level address will be used.
287+
#
286288
# 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.
287289
#
288290
# A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like
@@ -332,6 +334,8 @@ def create_or_adjust_transaction(model, options={}) path = "/api/v2/trans
332334
#
333335
# To generate a refund for a transaction, use the `RefundTransaction` API.
334336
#
337+
# An address is required for calculation. If no address is provided at the line level, the document level address will be used.
338+
#
335339
# The field `type` identifies the kind of transaction - for example, a sale, purchase, or refund. If you do not specify
336340
# a `type` value, you will receive an estimate of type `SalesOrder`, which will not be recorded.
337341
#

lib/avatax/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module AvaTax
2-
VERSION = '23.4.1'.freeze unless defined?(::AvaTax::VERSION)
2+
VERSION = '23.5.0'.freeze unless defined?(::AvaTax::VERSION)
33
end

0 commit comments

Comments
 (0)