Skip to content

Commit

Permalink
Merge pull request #152 from avadev/23.5.0
Browse files Browse the repository at this point in the history
Update for 23.5.0
  • Loading branch information
svc-developer authored May 18, 2023
2 parents 810a234 + 49c14e1 commit b7061ac
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
5 changes: 3 additions & 2 deletions lib/avatax/client/definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def list_notice_root_causes(options={}) path = "/api/v2/definitions/notic
# Returns the full list of Avalara-supported tax notice statuses.
# This API is intended to be useful to identify all the different tax notice statuses.
# Swagger Name: AvaTaxClient
# @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
# @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
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
Expand Down Expand Up @@ -753,6 +753,7 @@ def list_permissions(options={}) path = "/api/v2/definitions/permissions"
# @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.
# @param skip [Integer] If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets.
# @param orderBy [String] A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`.
# @param includeExpiredPostalCodes [Boolean] If set to true, returns expired postal codes. Defaults to false
# @return [FetchResult]
def list_postal_codes(options={}) path = "/api/v2/definitions/postalcodes"
get(path, options, AvaTax::VERSION) end
Expand Down Expand Up @@ -1015,7 +1016,7 @@ def list_tax_authority_types(options={}) path = "/api/v2/definitions/taxa
#
# ### Security Policies
#
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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/).
# @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.
Expand Down
6 changes: 3 additions & 3 deletions lib/avatax/client/taxcodes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def delete_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}
#
# ### Security Policies
#
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns this tax code
# @param id [Integer] The primary key of this tax code
Expand All @@ -66,7 +66,7 @@ def get_tax_code(companyId, id) path = "/api/v2/companies/#{companyId}/ta
#
# ### Security Policies
#
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @param companyId [Integer] The ID of the company that owns these tax codes
# @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/).
Expand All @@ -91,7 +91,7 @@ def list_tax_codes_by_company(companyId, options={}) path = "/api/v2/comp
#
# ### Security Policies
#
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
# Swagger Name: AvaTaxClient
# @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/).
# @param include [String] A comma separated list of additional data to retrieve.
Expand Down
12 changes: 8 additions & 4 deletions lib/avatax/client/taxcontent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,10 @@ def download_tax_rates_by_zip_code(date, options={}) path = "/api/v2/taxr
# This API assumes that you are selling general tangible personal property at a retail point-of-sale
# location in the United States only.
#
# For more powerful tax calculation, please consider upgrading to the `CreateTransaction` API,
# which supports features including, but not limited to:
# Please be advised that this endpoint is designed for approximate tax rate estimation only and
# may not yield precise results. For a more powerful and accurate tax estimation, upgrade to the
# `CreateTransaction` API, which offers a variety of advanced features including, but not limited
# to:
#
# * Nexus declarations
# * Taxability based on product/service type
Expand Down Expand Up @@ -177,8 +179,10 @@ def tax_rates_by_address(options={}) path = "/api/v2/taxrates/byaddress"
# This API assumes that you are selling general tangible personal property at a retail point-of-sale
# location in the United States only.
#
# For more powerful tax calculation, please consider upgrading to the `CreateTransaction` API,
# which supports features including, but not limited to:
# Please be advised that this endpoint is designed for approximate tax rate estimation only and
# may not yield precise results. For a more powerful and accurate tax estimation, upgrade to the
# `CreateTransaction` API, which offers a variety of advanced features including, but not limited
# to:
#
# * Nexus declarations
# * Taxability based on product/service type
Expand Down
4 changes: 4 additions & 0 deletions lib/avatax/client/transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ def commit_transaction(companyCode, transactionCode, model, options={}) p
#
# To generate a refund for a transaction, use the `RefundTransaction` API.
#
# An address is required for calculation. If no address is provided at the line level, the document level address will be used.
#
# 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.
#
# A transaction represents a unique potentially taxable action that your company has recorded, and transactions include actions like
Expand Down Expand Up @@ -332,6 +334,8 @@ def create_or_adjust_transaction(model, options={}) path = "/api/v2/trans
#
# To generate a refund for a transaction, use the `RefundTransaction` API.
#
# An address is required for calculation. If no address is provided at the line level, the document level address will be used.
#
# The field `type` identifies the kind of transaction - for example, a sale, purchase, or refund. If you do not specify
# a `type` value, you will receive an estimate of type `SalesOrder`, which will not be recorded.
#
Expand Down
2 changes: 1 addition & 1 deletion lib/avatax/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module AvaTax
VERSION = '23.4.1'.freeze unless defined?(::AvaTax::VERSION)
VERSION = '23.5.0'.freeze unless defined?(::AvaTax::VERSION)
end

0 comments on commit b7061ac

Please sign in to comment.