diff --git a/GlobalAssemblyInfo.cs b/GlobalAssemblyInfo.cs index b439fed..cc01fa4 100644 --- a/GlobalAssemblyInfo.cs +++ b/GlobalAssemblyInfo.cs @@ -30,5 +30,5 @@ // Revision // -[assembly: AssemblyVersion("24.8.2")] -[assembly: AssemblyFileVersion("24.8.2")] +[assembly: AssemblyVersion("24.10.0")] +[assembly: AssemblyFileVersion("24.10.0")] diff --git a/src/AvaTaxApi.cs b/src/AvaTaxApi.cs index 22ea183..f40fac8 100644 --- a/src/AvaTaxApi.cs +++ b/src/AvaTaxApi.cs @@ -17,7 +17,7 @@ * @author Sachin Baijal * @copyright 2004-2023 Avalara, Inc. * @license https://www.apache.org/licenses/LICENSE-2.0 - * @version 24.8.2 + * @version 24.10.0 * @link https://github.com/avadev/AvaTax-REST-V2-DotNet-SDK */ @@ -28,7 +28,7 @@ public partial class AvaTaxClient : IAvaTaxClient /// /// Returns the version number of the API used to generate this class /// - public static string API_VERSION { get { return "24.8.2"; } } + public static string API_VERSION { get { return "24.10.0"; } } #region Methods @@ -119,7 +119,7 @@ public AccountModel ActivateAccount(Int32 id, ActivateAccountModel model) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account you wish to audit. @@ -220,7 +220,7 @@ public List DeleteLicenseKey(Int32 id, String licensekeyname) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account to retrieve @@ -273,7 +273,7 @@ public List GetAccountConfiguration(Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account to retrieve @@ -296,7 +296,7 @@ public AccountLicenseKeyModel GetLicenseKey(Int32 id, String licensekeyname) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account to retrieve @@ -319,7 +319,7 @@ public List GetLicenseKeys(Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient public FetchResult ListMrsAccounts() @@ -349,7 +349,7 @@ public FetchResult ListMrsAccounts() /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// A comma separated list of objects to fetch underneath this account. Any object with a URL path underneath this account can be fetched by specifying its name. @@ -1731,7 +1731,7 @@ public String UploadCertificateImage(Int32 companyId, Int32 id, FileResult file) /// /// Swagger Name: AvaTaxClient /// The ID number of the company to search - /// The ID number of the certifificate to search + /// The ID number of the certificate to search public CommunicationCertificateResponse GetCommunicationCertificate(Int32 companyId, Int32 certificateId) { var path = new AvaTaxPath("/companies/{companyId}/communication-certificates/{certificateId}"); @@ -1746,9 +1746,9 @@ public CommunicationCertificateResponse GetCommunicationCertificate(Int32 compan /// Retrieve all communication certificates. /// /// - /// List all account objects that can be seen by the current user. + /// List all communication certificates that can be seen by the current user. /// - /// This API lists all accounts you are allowed to see. In general, most users will only be able to see their own account. + /// This API lists all communication certificates you are allowed to see. /// /// Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . /// Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. @@ -5988,12 +5988,16 @@ public FetchResult ListAfcEventNotifications(Boolean? isDl /// - /// Create a new eCommerce token. + /// Create a new ecommerce token. /// /// - /// Creates a new eCommerce token. + /// Creates a new ecommerce token. /// - /// This API is used to create a new eCommerce token. An eCommerce token is required in order to launch the CertCapture eCommerce plugin. Create a token for each of your CertCapture customers. + /// This API is used to create a new ecommerce token. An ecommerce token is required in order to launch the ECM/CertCapture ecommerce plugin. Create a separate token for each of your ECM/CertCapture customers. + /// + /// Use the SDK to embed ECM’s document submission form into your ecommerce platform or online store. Once the token is created, place the returned token value for that customer record in the token field in your ecommerce SDK code. This allows customers to manage their exemption certificates before or after making the purchase. More information is available in the [ECM/CertCapture integration guide](https://developer.avalara.com/document-management/set-up-ecm-for-ecommerce/ecm-in-ecom-environments/). + /// + /// You can also use the [ecommerce Plugin Demo](https://developer.avalara.com/certcapture/cert-demo/) on developer.avalara.com to test generating a token. Using your AvaTax username and password, try generating the token and combining it with various parameters. /// /// ### Security Policies /// @@ -6134,7 +6138,7 @@ public List DeleteFirmClientLinkage(Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// @@ -6147,6 +6151,27 @@ public FirmClientLinkageOutputModel GetFirmClientLinkage(Int32 id) } + /// + /// Insert a full FirmClientLinkage record + /// + /// + /// Avalara allows firms to manage returns for clients without the clients needing to use AvaTax service. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. + /// + /// Swagger Name: AvaTaxClient + /// FirmClientLinkage record + public FirmClientLinkageOutputModel InsertFirmClientLinkage(FirmClientLinkageModel model) + { + var path = new AvaTaxPath("/api/v2/firmclientlinkages/insert"); + _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); + return RestCall("POST", path, model); + } + + /// /// List client linkages for a firm or client /// @@ -6155,7 +6180,7 @@ public FirmClientLinkageOutputModel GetFirmClientLinkage(Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// 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/).
*Not filterable:* firmAccountName, clientAccountName @@ -6231,6 +6256,27 @@ public FirmClientLinkageOutputModel RevokeFirmClientLinkage(Int32 id) } + /// + /// Update a full FirmClientLinkage record + /// + /// + /// Avalara allow updating the firm client linkage as a pass thru call. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. + /// + /// Swagger Name: AvaTaxClient + /// FirmClientLinkage record + public FirmClientLinkageOutputModel UpdateFirmClientLinkage(FirmClientLinkageModel model) + { + var path = new AvaTaxPath("/api/v2/firmclientlinkages"); + _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); + return RestCall("PUT", path, model); + } + + /// /// Request the javascript for a funding setup widget /// @@ -7166,6 +7212,7 @@ public FetchResult ListItemParameters(Int32 companyId, Int64 /// * Tags /// * Properties /// * TaxCodeRecommendationStatus + /// * TaxCodeDetails /// /// ### Security Policies /// @@ -7173,7 +7220,7 @@ public FetchResult ListItemParameters(Int32 companyId, Int64 /// /// Swagger Name: AvaTaxClient /// The ID of the company that defined these items - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -7252,7 +7299,7 @@ public FetchResult ListRecommendedParameterByCompanyIdAndItemId( /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. /// /// Swagger Name: AvaTaxClient - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -7333,7 +7380,7 @@ public FetchResult QueryItemsBySystemCode(Int32 companyId, String sys /// Swagger Name: AvaTaxClient /// The ID of the company that defined these items. /// The master tag to be associated with item. - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -7439,13 +7486,15 @@ public SyncItemsResponseModel SyncItems(Int32 companyId, SyncItemsRequestModel m /// The ID of the company that this item belongs to. /// The ID of the item you wish to update /// If true then Set recommendation status to RecommendationSelected + /// If true then Set recommendation status to RecommendationRejected, When the taxCode recommendation status is RecommendationAvailable. Else will be thrown as error /// The item object you wish to update. - public ItemModel UpdateItem(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, ItemModel model) + public ItemModel UpdateItem(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, Boolean? isRecommendationRejected, ItemModel model) { var path = new AvaTaxPath("/api/v2/companies/{companyId}/items/{id}"); path.ApplyField("companyId", companyId); path.ApplyField("id", id); path.AddQuery("isRecommendationSelected", isRecommendationSelected); + path.AddQuery("isRecommendationRejected", isRecommendationRejected); _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); return RestCall("PUT", path, model); } @@ -9197,7 +9246,7 @@ public List DeleteNoticeRootCauseType(Int32 rootCauseId) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The id of the notification you wish to mark as dismissed. @@ -9515,7 +9564,7 @@ public List DeleteSubscription(Int32 accountId, Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// 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/).
*Not filterable:* taxTypeGroupIdSK @@ -10022,7 +10071,7 @@ public SettingModel UpdateSetting(Int32 companyId, Int32 id, SettingModel model) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account that owns this subscription @@ -10050,7 +10099,7 @@ public SubscriptionModel GetSubscription(Int32 accountId, Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account that owns these subscriptions @@ -10084,7 +10133,7 @@ public FetchResult ListSubscriptionsByAccount(Int32 accountId /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// 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/).
*Not filterable:* subscriptionDescription @@ -12984,7 +13033,7 @@ public async Task ActivateAccountAsync(Int32 id, ActivateAccountMo /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account you wish to audit. @@ -13078,7 +13127,7 @@ public async Task> DeleteLicenseKeyAsync(Int32 id, String lice /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account to retrieve @@ -13133,7 +13182,7 @@ public async Task> GetAccountConfigurationAsync( /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account to retrieve @@ -13157,7 +13206,7 @@ public async Task GetLicenseKeyAsync(Int32 id, String li /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account to retrieve @@ -13181,7 +13230,7 @@ public async Task> GetLicenseKeysAsync(Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// public async Task> ListMrsAccountsAsync() @@ -13212,7 +13261,7 @@ public async Task> ListMrsAccountsAsync() /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// A comma separated list of objects to fetch underneath this account. Any object with a URL path underneath this account can be fetched by specifying its name. @@ -14633,7 +14682,7 @@ public async Task UploadCertificateImageAsync(Int32 companyId, Int32 id, /// /// The ID number of the company to search - /// The ID number of the certifificate to search + /// The ID number of the certificate to search public async Task GetCommunicationCertificateAsync(Int32 companyId, Int32 certificateId) { var path = new AvaTaxPath("/companies/{companyId}/communication-certificates/{certificateId}"); @@ -14649,9 +14698,9 @@ public async Task GetCommunicationCertificateA /// Retrieve all communication certificates.; /// /// - /// List all account objects that can be seen by the current user. + /// List all communication certificates that can be seen by the current user. /// - /// This API lists all accounts you are allowed to see. In general, most users will only be able to see their own account. + /// This API lists all communication certificates you are allowed to see. /// /// Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . /// Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. @@ -19039,12 +19088,16 @@ public async Task> ListAfcEventNotificationsAs /// Swagger Name: AvaTaxClient /// - /// Create a new eCommerce token.; + /// Create a new ecommerce token.; /// /// - /// Creates a new eCommerce token. + /// Creates a new ecommerce token. /// - /// This API is used to create a new eCommerce token. An eCommerce token is required in order to launch the CertCapture eCommerce plugin. Create a token for each of your CertCapture customers. + /// This API is used to create a new ecommerce token. An ecommerce token is required in order to launch the ECM/CertCapture ecommerce plugin. Create a separate token for each of your ECM/CertCapture customers. + /// + /// Use the SDK to embed ECM’s document submission form into your ecommerce platform or online store. Once the token is created, place the returned token value for that customer record in the token field in your ecommerce SDK code. This allows customers to manage their exemption certificates before or after making the purchase. More information is available in the [ECM/CertCapture integration guide](https://developer.avalara.com/document-management/set-up-ecm-for-ecommerce/ecm-in-ecom-environments/). + /// + /// You can also use the [ecommerce Plugin Demo](https://developer.avalara.com/certcapture/cert-demo/) on developer.avalara.com to test generating a token. Using your AvaTax username and password, try generating the token and combining it with various parameters. /// /// ### Security Policies /// @@ -19191,7 +19244,7 @@ public async Task> DeleteFirmClientLinkageAsync(Int32 id) /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// @@ -19204,6 +19257,28 @@ public async Task GetFirmClientLinkageAsync(Int32 } + /// Swagger Name: AvaTaxClient + /// + /// Insert a full FirmClientLinkage record; + /// + /// + /// Avalara allows firms to manage returns for clients without the clients needing to use AvaTax service. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.; + /// + + /// FirmClientLinkage record + public async Task InsertFirmClientLinkageAsync(FirmClientLinkageModel model) + { + var path = new AvaTaxPath("/api/v2/firmclientlinkages/insert"); + _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); + return await RestCallAsync("POST", path, model).ConfigureAwait(false); + } + + /// Swagger Name: AvaTaxClient /// /// List client linkages for a firm or client; @@ -19213,7 +19288,7 @@ public async Task GetFirmClientLinkageAsync(Int32 /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// 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/).
*Not filterable:* firmAccountName, clientAccountName @@ -19292,6 +19367,28 @@ public async Task RevokeFirmClientLinkageAsync(Int } + /// Swagger Name: AvaTaxClient + /// + /// Update a full FirmClientLinkage record; + /// + /// + /// Avalara allow updating the firm client linkage as a pass thru call. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.; + /// + + /// FirmClientLinkage record + public async Task UpdateFirmClientLinkageAsync(FirmClientLinkageModel model) + { + var path = new AvaTaxPath("/api/v2/firmclientlinkages"); + _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); + return await RestCallAsync("PUT", path, model).ConfigureAwait(false); + } + + /// Swagger Name: AvaTaxClient /// /// Request the javascript for a funding setup widget; @@ -20259,6 +20356,7 @@ public async Task> ListItemParametersAsync(Int32 /// * Tags /// * Properties /// * TaxCodeRecommendationStatus + /// * TaxCodeDetails /// /// ### Security Policies /// @@ -20266,7 +20364,7 @@ public async Task> ListItemParametersAsync(Int32 /// /// The ID of the company that defined these items - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -20347,7 +20445,7 @@ public async Task> ListRecommendedParameterByCompany /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.; /// - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -20430,7 +20528,7 @@ public async Task> QueryItemsBySystemCodeAsync(Int32 comp /// The ID of the company that defined these items. /// The master tag to be associated with item. - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -20539,13 +20637,15 @@ public async Task SyncItemsAsync(Int32 companyId, SyncIt /// The ID of the company that this item belongs to. /// The ID of the item you wish to update /// If true then Set recommendation status to RecommendationSelected + /// If true then Set recommendation status to RecommendationRejected, When the taxCode recommendation status is RecommendationAvailable. Else will be thrown as error /// The item object you wish to update. - public async Task UpdateItemAsync(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, ItemModel model) + public async Task UpdateItemAsync(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, Boolean? isRecommendationRejected, ItemModel model) { var path = new AvaTaxPath("/api/v2/companies/{companyId}/items/{id}"); path.ApplyField("companyId", companyId); path.ApplyField("id", id); path.AddQuery("isRecommendationSelected", isRecommendationSelected); + path.AddQuery("isRecommendationRejected", isRecommendationRejected); _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); return await RestCallAsync("PUT", path, model).ConfigureAwait(false); } @@ -22347,7 +22447,7 @@ public async Task> DeleteNoticeRootCauseTypeAsync(Int32 rootCa /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The id of the notification you wish to mark as dismissed. @@ -22676,7 +22776,7 @@ public async Task> DeleteSubscriptionAsync(Int32 accountId, In /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// 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/).
*Not filterable:* taxTypeGroupIdSK @@ -23198,7 +23298,7 @@ public async Task UpdateSettingAsync(Int32 companyId, Int32 id, Se /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account that owns this subscription @@ -23227,7 +23327,7 @@ public async Task GetSubscriptionAsync(Int32 accountId, Int32 /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account that owns these subscriptions @@ -23262,7 +23362,7 @@ public async Task> ListSubscriptionsByAccountAsyn /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// 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/).
*Not filterable:* subscriptionDescription diff --git a/src/Avalara.AvaTax.RestClient.nuspec b/src/Avalara.AvaTax.RestClient.nuspec index f905c1a..8cecaa4 100644 --- a/src/Avalara.AvaTax.RestClient.nuspec +++ b/src/Avalara.AvaTax.RestClient.nuspec @@ -3,7 +3,7 @@ Avalara.AvaTax - 24.8.2 + 24.10.0 Avalara AvaTax SDK Add world-class tax estimation and calculation to your project with Avalara's AvaTax suite of APIs and services. diff --git a/src/IAvaTaxClient.cs b/src/IAvaTaxClient.cs index 00454cc..2d2d5cd 100644 --- a/src/IAvaTaxClient.cs +++ b/src/IAvaTaxClient.cs @@ -157,7 +157,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account you wish to audit. @@ -222,7 +222,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account to retrieve @@ -260,7 +260,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account to retrieve @@ -275,7 +275,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account to retrieve @@ -291,7 +291,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient FetchResult ListMrsAccounts(); @@ -315,7 +315,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// A comma separated list of objects to fetch underneath this account. Any object with a URL path underneath this account can be fetched by specifying its name. @@ -1359,16 +1359,16 @@ public interface IAvaTaxClient /// /// Swagger Name: AvaTaxClient /// The ID number of the company to search - /// The ID number of the certifificate to search + /// The ID number of the certificate to search CommunicationCertificateResponse GetCommunicationCertificate(Int32 companyId, Int32 certificateId); /// /// Retrieve all communication certificates. /// /// - /// List all account objects that can be seen by the current user. + /// List all communication certificates that can be seen by the current user. /// - /// This API lists all accounts you are allowed to see. In general, most users will only be able to see their own account. + /// This API lists all communication certificates you are allowed to see. /// /// Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . /// Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. @@ -4192,12 +4192,16 @@ public interface IAvaTaxClient FetchResult ListAfcEventNotifications(Boolean? isDlq); /// - /// Create a new eCommerce token. + /// Create a new ecommerce token. /// /// - /// Creates a new eCommerce token. + /// Creates a new ecommerce token. /// - /// This API is used to create a new eCommerce token. An eCommerce token is required in order to launch the CertCapture eCommerce plugin. Create a token for each of your CertCapture customers. + /// This API is used to create a new ecommerce token. An ecommerce token is required in order to launch the ECM/CertCapture ecommerce plugin. Create a separate token for each of your ECM/CertCapture customers. + /// + /// Use the SDK to embed ECM’s document submission form into your ecommerce platform or online store. Once the token is created, place the returned token value for that customer record in the token field in your ecommerce SDK code. This allows customers to manage their exemption certificates before or after making the purchase. More information is available in the [ECM/CertCapture integration guide](https://developer.avalara.com/document-management/set-up-ecm-for-ecommerce/ecm-in-ecom-environments/). + /// + /// You can also use the [ecommerce Plugin Demo](https://developer.avalara.com/certcapture/cert-demo/) on developer.avalara.com to test generating a token. Using your AvaTax username and password, try generating the token and combining it with various parameters. /// /// ### Security Policies /// @@ -4298,12 +4302,27 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// FirmClientLinkageOutputModel GetFirmClientLinkage(Int32 id); + /// + /// Insert a full FirmClientLinkage record + /// + /// + /// Avalara allows firms to manage returns for clients without the clients needing to use AvaTax service. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. + /// + /// Swagger Name: AvaTaxClient + /// FirmClientLinkage record + FirmClientLinkageOutputModel InsertFirmClientLinkage(FirmClientLinkageModel model); + /// /// List client linkages for a firm or client /// @@ -4312,7 +4331,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// 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/).
*Not filterable:* firmAccountName, clientAccountName @@ -4360,6 +4379,21 @@ public interface IAvaTaxClient /// FirmClientLinkageOutputModel RevokeFirmClientLinkage(Int32 id); + /// + /// Update a full FirmClientLinkage record + /// + /// + /// Avalara allow updating the firm client linkage as a pass thru call. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin. + /// + /// Swagger Name: AvaTaxClient + /// FirmClientLinkage record + FirmClientLinkageOutputModel UpdateFirmClientLinkage(FirmClientLinkageModel model); + /// /// Request the javascript for a funding setup widget /// @@ -5023,6 +5057,7 @@ public interface IAvaTaxClient /// * Tags /// * Properties /// * TaxCodeRecommendationStatus + /// * TaxCodeDetails /// /// ### Security Policies /// @@ -5030,7 +5065,7 @@ public interface IAvaTaxClient /// /// Swagger Name: AvaTaxClient /// The ID of the company that defined these items - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -5082,7 +5117,7 @@ public interface IAvaTaxClient /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser. /// /// Swagger Name: AvaTaxClient - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -5141,7 +5176,7 @@ public interface IAvaTaxClient /// Swagger Name: AvaTaxClient /// The ID of the company that defined these items. /// The master tag to be associated with item. - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -5220,8 +5255,9 @@ public interface IAvaTaxClient /// The ID of the company that this item belongs to. /// The ID of the item you wish to update /// If true then Set recommendation status to RecommendationSelected + /// If true then Set recommendation status to RecommendationRejected, When the taxCode recommendation status is RecommendationAvailable. Else will be thrown as error /// The item object you wish to update. - ItemModel UpdateItem(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, ItemModel model); + ItemModel UpdateItem(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, Boolean? isRecommendationRejected, ItemModel model); /// /// Update an item classification. @@ -6540,7 +6576,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The id of the notification you wish to mark as dismissed. @@ -6779,7 +6815,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// 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/).
*Not filterable:* taxTypeGroupIdSK @@ -7161,7 +7197,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account that owns this subscription @@ -7181,7 +7217,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// The ID of the account that owns these subscriptions @@ -7204,7 +7240,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser. /// /// Swagger Name: AvaTaxClient /// 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/).
*Not filterable:* subscriptionDescription @@ -9403,7 +9439,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account you wish to audit. @@ -9471,7 +9507,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account to retrieve @@ -9511,7 +9547,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account to retrieve @@ -9527,7 +9563,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account to retrieve @@ -9544,7 +9580,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// Task> ListMrsAccountsAsync(); @@ -9569,7 +9605,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// A comma separated list of objects to fetch underneath this account. Any object with a URL path underneath this account can be fetched by specifying its name. @@ -10652,7 +10688,7 @@ public interface IAvaTaxClient /// /// The ID number of the company to search - /// The ID number of the certifificate to search + /// The ID number of the certificate to search Task GetCommunicationCertificateAsync(Int32 companyId, Int32 certificateId); /// Swagger Name: AvaTaxClient @@ -10660,9 +10696,9 @@ public interface IAvaTaxClient /// Retrieve all communication certificates.; ///
/// - /// List all account objects that can be seen by the current user. + /// List all communication certificates that can be seen by the current user. /// - /// This API lists all accounts you are allowed to see. In general, most users will only be able to see their own account. + /// This API lists all communication certificates you are allowed to see. /// /// Search for specific objects using the criteria in the `$filter` parameter; full documentation is available on [Filtering in REST](http://developer.avalara.com/avatax/filtering-in-rest/) . /// Paginate your results using the `$top`, `$skip`, and `$orderby` parameters. @@ -13634,12 +13670,16 @@ public interface IAvaTaxClient /// Swagger Name: AvaTaxClient /// - /// Create a new eCommerce token.; + /// Create a new ecommerce token.; /// /// - /// Creates a new eCommerce token. + /// Creates a new ecommerce token. /// - /// This API is used to create a new eCommerce token. An eCommerce token is required in order to launch the CertCapture eCommerce plugin. Create a token for each of your CertCapture customers. + /// This API is used to create a new ecommerce token. An ecommerce token is required in order to launch the ECM/CertCapture ecommerce plugin. Create a separate token for each of your ECM/CertCapture customers. + /// + /// Use the SDK to embed ECM’s document submission form into your ecommerce platform or online store. Once the token is created, place the returned token value for that customer record in the token field in your ecommerce SDK code. This allows customers to manage their exemption certificates before or after making the purchase. More information is available in the [ECM/CertCapture integration guide](https://developer.avalara.com/document-management/set-up-ecm-for-ecommerce/ecm-in-ecom-environments/). + /// + /// You can also use the [ecommerce Plugin Demo](https://developer.avalara.com/certcapture/cert-demo/) on developer.avalara.com to test generating a token. Using your AvaTax username and password, try generating the token and combining it with various parameters. /// /// ### Security Policies /// @@ -13746,12 +13786,28 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// Task GetFirmClientLinkageAsync(Int32 id); + /// Swagger Name: AvaTaxClient + /// + /// Insert a full FirmClientLinkage record; + /// + /// + /// Avalara allows firms to manage returns for clients without the clients needing to use AvaTax service. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.; + /// + + /// FirmClientLinkage record + Task InsertFirmClientLinkageAsync(FirmClientLinkageModel model); + /// Swagger Name: AvaTaxClient /// /// List client linkages for a firm or client; @@ -13761,7 +13817,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// 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/).
*Not filterable:* firmAccountName, clientAccountName @@ -13812,6 +13868,22 @@ public interface IAvaTaxClient /// Task RevokeFirmClientLinkageAsync(Int32 id); + /// Swagger Name: AvaTaxClient + /// + /// Update a full FirmClientLinkage record; + /// + /// + /// Avalara allow updating the firm client linkage as a pass thru call. + /// Firms can create accounts of FirmClient for customers they are managing using this API. + /// + /// ### Security Policies + /// + /// * This API requires one of the following user roles: BatchServiceAdmin, FirmAdmin, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin.; + /// + + /// FirmClientLinkage record + Task UpdateFirmClientLinkageAsync(FirmClientLinkageModel model); + /// Swagger Name: AvaTaxClient /// /// Request the javascript for a funding setup widget; @@ -14507,6 +14579,7 @@ public interface IAvaTaxClient /// * Tags /// * Properties /// * TaxCodeRecommendationStatus + /// * TaxCodeDetails /// /// ### Security Policies /// @@ -14514,7 +14587,7 @@ public interface IAvaTaxClient /// /// The ID of the company that defined these items - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -14568,7 +14641,7 @@ public interface IAvaTaxClient /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, CSPAdmin, CSPTester, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser.; /// - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -14629,7 +14702,7 @@ public interface IAvaTaxClient /// The ID of the company that defined these items. /// The master tag to be associated with item. - /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations + /// 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/).
*Not filterable:* taxCode, source, sourceEntityId, itemType, upc, summary, classifications, parameters, tags, properties, itemStatus, taxCodeRecommendationStatus, taxCodeRecommendations, taxCodeDetails /// A comma separated list of additional data to retrieve. /// 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. /// If nonzero, skip this number of results before returning data. Used with `$top` to provide pagination for large datasets. @@ -14711,8 +14784,9 @@ public interface IAvaTaxClient /// The ID of the company that this item belongs to. /// The ID of the item you wish to update /// If true then Set recommendation status to RecommendationSelected + /// If true then Set recommendation status to RecommendationRejected, When the taxCode recommendation status is RecommendationAvailable. Else will be thrown as error /// The item object you wish to update. - Task UpdateItemAsync(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, ItemModel model); + Task UpdateItemAsync(Int32 companyId, Int64 id, Boolean? isRecommendationSelected, Boolean? isRecommendationRejected, ItemModel model); /// Swagger Name: AvaTaxClient /// @@ -16081,7 +16155,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, ECMAccountUser, ECMCompanyUser, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The id of the notification you wish to mark as dismissed. @@ -16331,7 +16405,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// 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/).
*Not filterable:* taxTypeGroupIdSK @@ -16728,7 +16802,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account that owns this subscription @@ -16749,7 +16823,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// The ID of the account that owns these subscriptions @@ -16773,7 +16847,7 @@ public interface IAvaTaxClient /// /// ### Security Policies /// - /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; + /// * This API requires one of the following user roles: AccountAdmin, AccountOperator, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, Registrar, SiteAdmin, SSTAdmin, SystemAdmin, TechnicalSupportAdmin, TechnicalSupportUser, TreasuryAdmin, TreasuryUser.; /// /// 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/).
*Not filterable:* subscriptionDescription diff --git a/src/enums/ErrorCodeId.cs b/src/enums/ErrorCodeId.cs index ab5b6fa..cfecc3e 100644 --- a/src/enums/ErrorCodeId.cs +++ b/src/enums/ErrorCodeId.cs @@ -1892,10 +1892,40 @@ public enum ErrorCodeId ///
InvalidCurrencyAggrementType = 2817, + /// + /// ItemTaxCodeRecommendation Status can't be set without particular state of recommendation + /// + InvalidTaxCodeRecommendationStatusUpdate = 2818, + + /// + /// Filing Request Error Codes + /// + DuplicateFilingRequest = 2819, + /// /// Occurs when a Header value is incorrect or invalid in some way /// InvalidHTTPHeader = 3000, + /// + /// + /// + SCSServiceUnreachable = 3001, + + /// + /// + /// + DuplicateContactCode = 3002, + + /// + /// + /// + SCSServerError = 3003, + + /// + /// Occurs when user reconciliation happens and unable to create user at AvaTax + /// + UserReconciliationError = 3004, + } } diff --git a/src/enums/ReportSource.cs b/src/enums/ReportSource.cs index 2ef6f00..2b2a5a8 100644 --- a/src/enums/ReportSource.cs +++ b/src/enums/ReportSource.cs @@ -30,5 +30,10 @@ public enum ReportSource ///
MONGODB = 1, + /// + /// returns api + /// + RETURNSAPI = 2, + } } diff --git a/src/models/ContactModel.cs b/src/models/ContactModel.cs index 9eb785d..a3f2988 100644 --- a/src/models/ContactModel.cs +++ b/src/models/ContactModel.cs @@ -33,7 +33,7 @@ public class ContactModel public Int32? companyId { get; set; } /// - /// A unique code for this contact. + /// A unique code for this contact which is unique throughout company. /// public String contactCode { get; set; } diff --git a/src/models/ExportDocumentLineModel.cs b/src/models/ExportDocumentLineModel.cs index 4e662cf..bc9832d 100644 --- a/src/models/ExportDocumentLineModel.cs +++ b/src/models/ExportDocumentLineModel.cs @@ -151,6 +151,13 @@ public class ExportDocumentLineModel ///
public Boolean? includeDocumentLineDetails { get; set; } + /// + /// If true, include multi tax line details in the generated report. + /// If false, include document or document line in the generated report based on includeDocumentLineDetails. + /// Defaults to false if not specified. + /// + public Boolean? includeMultiTaxLineDetails { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/FirmClientLinkageModel.cs b/src/models/FirmClientLinkageModel.cs new file mode 100644 index 0000000..90462ff --- /dev/null +++ b/src/models/FirmClientLinkageModel.cs @@ -0,0 +1,104 @@ +using System; +using System.Collections.Generic; +using Newtonsoft.Json; + +/* + * AvaTax API Client Library + * + * (c) 2004-2023 Avalara, Inc. + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * + * @author Jonathan Wenger + * @author Sachin Baijal + * Swagger name: AvaTaxClient + */ + +namespace Avalara.AvaTax.RestClient +{ + /// + /// Account Linkage output model + /// + public class FirmClientLinkageModel + { + /// + /// The unique ID number of firm-client linkage. + /// + public Int32? id { get; set; } + + /// + /// Firm Account to be linked with the firm + /// + public Int32? firmAccountId { get; set; } + + /// + /// FIrm Account name + /// + public String firmAccountName { get; set; } + + /// + /// Client Account to be linked with the firm + /// + public Int32? clientAccountId { get; set; } + + /// + /// Client Account name + /// + public String clientAccountName { get; set; } + + /// + /// Created date of the linkage + /// + public DateTime? createdDate { get; set; } + + /// + /// User who created the linkage + /// + public Int32? createdUserId { get; set; } + + /// + /// Modified date of the linkage + /// + public DateTime? modifiedDate { get; set; } + + /// + /// User who modified the linkage + /// + public Int32? modifiedUserId { get; set; } + + /// + /// The status of the account linkage. The following are the available statuses + /// * Requested - When a linkage is requested + /// * Approved - When the linkage is approved + /// * Rejected - When the linkage is rejected + /// * Revoked - When the linkage is revoked. + /// + public FirmClientLinkageStatus? status { get; set; } + + /// + /// This is set to 1 if the linkage is deleted. + /// + public Boolean? isDeleted { get; set; } + + /// + /// Name of the firm's point of contact person for the client + /// + public String firmContactName { get; set; } + + /// + /// Email of the firm's point of contact person for the client + /// + public String firmContactEmail { get; set; } + + + /// + /// Convert this object to a JSON string of itself + /// + /// A JSON string of this object + public override string ToString() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented }); + } + } +} diff --git a/src/models/ItemModel.cs b/src/models/ItemModel.cs index ce263b7..6bd9953 100644 --- a/src/models/ItemModel.cs +++ b/src/models/ItemModel.cs @@ -153,6 +153,11 @@ public class ItemModel /// public List taxCodeRecommendations { get; set; } + /// + /// + /// + public ItemTaxCodeDetailsOutputModel taxCodeDetails { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/ItemTaxCodeDetailsOutputModel.cs b/src/models/ItemTaxCodeDetailsOutputModel.cs new file mode 100644 index 0000000..745a7a9 --- /dev/null +++ b/src/models/ItemTaxCodeDetailsOutputModel.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using Newtonsoft.Json; + +/* + * AvaTax API Client Library + * + * (c) 2004-2023 Avalara, Inc. + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + * + * @author Jonathan Wenger + * @author Sachin Baijal + * Swagger name: AvaTaxClient + */ + +namespace Avalara.AvaTax.RestClient +{ + /// + /// ItemTaxCodeDetailsOutputModel + /// + public class ItemTaxCodeDetailsOutputModel + { + /// + /// TaxCode assigned to Item + /// + public String taxCode { get; set; } + + /// + /// Description for the TaxCode + /// + public String description { get; set; } + + /// + /// Provides if the TaxCode is Active or Not + /// + public Boolean? isActive { get; set; } + + + /// + /// Convert this object to a JSON string of itself + /// + /// A JSON string of this object + public override string ToString() + { + return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented }); + } + } +} diff --git a/src/models/ReportParametersModel.cs b/src/models/ReportParametersModel.cs index ba39c3d..8212b75 100644 --- a/src/models/ReportParametersModel.cs +++ b/src/models/ReportParametersModel.cs @@ -136,6 +136,13 @@ public class ReportParametersModel /// public Boolean? includeDocumentLineDetails { get; set; } + /// + /// If true, include multi tax line details in the generated report. + /// If false, include document or document line in the generated report based on includeDocumentLineDetails. + /// Defaults to false if not specified. + /// + public Boolean? includeMultiTaxLineDetails { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/TransactionLineDetailModel.cs b/src/models/TransactionLineDetailModel.cs index b045869..0afafe1 100644 --- a/src/models/TransactionLineDetailModel.cs +++ b/src/models/TransactionLineDetailModel.cs @@ -297,6 +297,21 @@ public class TransactionLineDetailModel /// public String avtUserBIN { get; set; } + /// + /// The percentage of input VAT/GST that is recoverable. + /// + public Decimal? recoverabilityPercentage { get; set; } + + /// + /// The amount of input VAT/GST that is recoverable based on the recoverability percentage. + /// + public Decimal? recoverableAmount { get; set; } + + /// + /// The amount of input VAT/GST that is not recoverable. + /// + public Decimal? nonRecoverableAmount { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/TransactionLineModel.cs b/src/models/TransactionLineModel.cs index 1b03078..9ad1084 100644 --- a/src/models/TransactionLineModel.cs +++ b/src/models/TransactionLineModel.cs @@ -345,6 +345,21 @@ public class TransactionLineModel /// public String summary { get; set; } + /// + /// The percentage of input VAT/GST that is recoverable. + /// + public Decimal? recoverabilityPercentage { get; set; } + + /// + /// The amount of input VAT/GST that is recoverable based on the recoverability percentage. + /// + public Decimal? recoverableAmount { get; set; } + + /// + /// The amount of input VAT/GST that is not recoverable. + /// + public Decimal? nonRecoverableAmount { get; set; } + /// /// Convert this object to a JSON string of itself