lib/avatax/client/taxcontent.rb in avatax-19.4.0 vs lib/avatax/client/taxcontent.rb in avatax-19.5.0
- old
+ new
@@ -29,11 +29,11 @@
#
# NOTE: This API does not work for Tennessee tax holiday scenarios.
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services<br />*Required* (all): AvaTaxPro.
# @param model [Object] Parameters about the desired file format and report format, specifying which company, locations and TaxCodes to include.
# @return [Object]
def build_tax_content_file(model)
path = "/api/v2/pointofsaledata/build"
@@ -67,11 +67,11 @@
#
# NOTE: This API does not work for Tennessee tax holiday scenarios.
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# * This API depends on the following active services<br />*Required* (all): AvaTaxPro.
# @param companyId [Integer] The ID number of the company that owns this location.
# @param id [Integer] The ID number of the location to retrieve point-of-sale data.
# @param date [DateTime] The date for which point-of-sale data would be calculated (today by default)
# @param format [String] The format of the file (JSON by default) (See PointOfSaleFileType::* for a list of allowable values)
@@ -127,10 +127,10 @@
#
# For more detailed tax content, please use the `BuildTaxContentFile` API which allows usage of exact items and exact locations.
#
# ### Security Policies
#
- # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, CSPTester, SSTAdmin, TechnicalSupportAdmin, TechnicalSupportUser.
+ # * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, ProStoresOperator, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.
# @param date [DateTime] The date for which point-of-sale data would be calculated (today by default). Example input: 2016-12-31
# @param region [String] If the region is provided, this API is going to generate the tax rate per zipcode for only the region specified.
# @return [Object]
def download_tax_rates_by_zip_code(date, options={})
path = "/api/v2/taxratesbyzipcode/download/#{date}"
\ No newline at end of file