diff --git a/GlobalAssemblyInfo.cs b/GlobalAssemblyInfo.cs index 6d13ac4..05cb95e 100644 --- a/GlobalAssemblyInfo.cs +++ b/GlobalAssemblyInfo.cs @@ -30,5 +30,5 @@ // Revision // -[assembly: AssemblyVersion("24.2.0")] -[assembly: AssemblyFileVersion("24.2.0")] +[assembly: AssemblyVersion("24.4.2")] +[assembly: AssemblyFileVersion("24.4.2")] diff --git a/src/AvaTaxApi.cs b/src/AvaTaxApi.cs index f3ddf58..8ce980a 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.2.0 + * @version 24.4.2 * @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.2.0"; } } + public static string API_VERSION { get { return "24.4.2"; } } #region Methods @@ -479,103 +479,6 @@ public AddressResolutionModel ResolveAddressPost(AddressValidationInfo model) } - /// - /// Create a lookup file for a company - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the company - /// The ID of the company for which the lookup file is to be created - /// The lookup file you wish to create - public AdvancedRuleLookupFileModel CreateCompanyLookupFile(Int32 accountId, Int32 companyId, AdvancedRuleLookupFileModel model) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/companies/{companyId}/lookupFiles"); - path.ApplyField("accountId", accountId); - path.ApplyField("companyId", companyId); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); - return RestCall("POST", path, model); - } - - - /// - /// Delete a lookup file - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID for the company lookup file to be deleted - public List DeleteLookupFile(Int32 accountId, String id) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}"); - path.ApplyField("accountId", accountId); - path.ApplyField("id", id); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); - return RestCall>("DELETE", path, null); - } - - - /// - /// Get the lookup files for a company - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The account ID for the company - /// The ID of the company for which to retrieve lookup files - public FetchResult GetCompanyLookupFiles(Int32 accountId, Int32 companyId) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/companies/{companyId}/lookupFiles"); - path.ApplyField("accountId", accountId); - path.ApplyField("companyId", companyId); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); - return RestCall>("GET", path, null); - } - - - /// - /// Get a lookup file for an accountId and companyLookupFileId - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the lookup file - /// The unique ID/GUID of the company lookup file to return - public AdvancedRuleLookupFileModel GetLookupFile(Int32 accountId, String id) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}"); - path.ApplyField("accountId", accountId); - path.ApplyField("id", id); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); - return RestCall("GET", path, null); - } - - - /// - /// Update a lookup file - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID of the company lookup file to be updated - /// The new values to update the lookup file - public AdvancedRuleLookupFileModel UpdateLookupFile(Int32 accountId, String id, AdvancedRuleLookupFileModel model) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}"); - path.ApplyField("accountId", accountId); - path.ApplyField("id", id); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION); - return RestCall("PUT", path, model); - } - - /// /// Create new rule /// @@ -602,7 +505,7 @@ public APConfigSettingSuccessResponseModel CreateAPConfigSetting(Int32 companyid /// /// Swagger Name: AvaTaxClient /// The ID of the company that defined this rule - /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -628,7 +531,7 @@ public FetchResult GetAPConfigSettingByComp /// /// /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -4378,7 +4281,7 @@ public FetchResult ListMarketplaceLocations(String mar /// This API is intended to be useful if your user interface needs to display a selectable list of nexus. /// /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -4427,7 +4330,7 @@ public FetchResult ListNexus(String filter, Int32? top, Int32? skip, /// * Common alternative spellings for many countries /// /// For a full list of all supported codes and names, please see the Definitions API `ListCountries`. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -4460,7 +4363,7 @@ public FetchResult ListNexusByAddress(String line1, String line2, St /// /// Swagger Name: AvaTaxClient /// The country in which you want to fetch the system nexus - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -4488,7 +4391,7 @@ public FetchResult ListNexusByCountry(String country, String filter, /// Swagger Name: AvaTaxClient /// The two-character ISO-3166 code for the country. /// The two or three character region code for the region. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -4547,7 +4450,7 @@ public NexusByTaxFormModel ListNexusByFormCode(String formCode) /// /// Swagger Name: AvaTaxClient /// The tax type group to fetch the supporting system nexus for. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -8631,7 +8534,7 @@ public NexusParameterDetailModel GetNexusParameter(Int32 companyId, Int32 nexusI /// /// Swagger Name: AvaTaxClient /// The ID of the company that owns these nexus objects - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -8673,7 +8576,7 @@ public FetchResult ListNexusByCompany(Int32 companyId, String filter /// Swagger Name: AvaTaxClient /// The ID of the company that owns these nexus objects /// Name of TaxTypeGroup to filter by - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -8753,7 +8656,7 @@ public FetchResult ListNexusParameters(Int32 companyI /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -9067,8 +8970,8 @@ public NewAccountModel RequestNewAccount(NewAccountRequestModel model) /// Request a new entitilement to an existing customer /// /// - /// This API is for use by partner provisioning services customers only. This will allow the partners to allow - /// the add new entitlement to an existing customer + /// This API is for use by partner provisioning services customers only. This allows the partners to add + /// new entitlements to an existing customer. /// /// ### Security Policies /// @@ -11311,7 +11214,7 @@ public VarianceResponseModel GetVarianceReportByCompanyCodeByTransactionId(Strin /// The company code of the company that recorded this transaction /// Optionally filter transactions to those from a specific data source. /// Specifies objects to include in this fetch call - /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms + /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -13098,108 +13001,6 @@ public async Task ResolveAddressPostAsync(AddressValidat } - /// Swagger Name: AvaTaxClient - /// - /// Create a lookup file for a company; - /// - /// - /// ; - /// - - /// The ID of the account for the company - /// The ID of the company for which the lookup file is to be created - /// The lookup file you wish to create - public async Task CreateCompanyLookupFileAsync(Int32 accountId, Int32 companyId, AdvancedRuleLookupFileModel model) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/companies/{companyId}/lookupFiles"); - path.ApplyField("accountId", accountId); - path.ApplyField("companyId", companyId); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); - return await RestCallAsync("POST", path, model).ConfigureAwait(false); - } - - - /// Swagger Name: AvaTaxClient - /// - /// Delete a lookup file; - /// - /// - /// ; - /// - - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID for the company lookup file to be deleted - public async Task> DeleteLookupFileAsync(Int32 accountId, String id) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}"); - path.ApplyField("accountId", accountId); - path.ApplyField("id", id); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); - return await RestCallAsync>("DELETE", path, null).ConfigureAwait(false); - } - - - /// Swagger Name: AvaTaxClient - /// - /// Get the lookup files for a company; - /// - /// - /// ; - /// - - /// The account ID for the company - /// The ID of the company for which to retrieve lookup files - public async Task> GetCompanyLookupFilesAsync(Int32 accountId, Int32 companyId) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/companies/{companyId}/lookupFiles"); - path.ApplyField("accountId", accountId); - path.ApplyField("companyId", companyId); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); - return await RestCallAsync>("GET", path, null).ConfigureAwait(false); - } - - - /// Swagger Name: AvaTaxClient - /// - /// Get a lookup file for an accountId and companyLookupFileId; - /// - /// - /// ; - /// - - /// The ID of the account for the lookup file - /// The unique ID/GUID of the company lookup file to return - public async Task GetLookupFileAsync(Int32 accountId, String id) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}"); - path.ApplyField("accountId", accountId); - path.ApplyField("id", id); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); - return await RestCallAsync("GET", path, null).ConfigureAwait(false); - } - - - /// Swagger Name: AvaTaxClient - /// - /// Update a lookup file; - /// - /// - /// ; - /// - - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID of the company lookup file to be updated - /// The new values to update the lookup file - public async Task UpdateLookupFileAsync(Int32 accountId, String id, AdvancedRuleLookupFileModel model) - { - var path = new AvaTaxPath("/api/v2/advancedrules/accounts/{accountId}/lookupFiles/{id}"); - path.ApplyField("accountId", accountId); - path.ApplyField("id", id); - _clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION); - return await RestCallAsync("PUT", path, model).ConfigureAwait(false); - } - - /// Swagger Name: AvaTaxClient /// /// Create new rule; @@ -13228,7 +13029,7 @@ public async Task CreateAPConfigSettingAsyn /// /// The ID of the company that defined this rule - /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -13255,7 +13056,7 @@ public async Task> GetAPConfigS /// ; /// - /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -17123,7 +16924,7 @@ public async Task> ListMarketplaceLocation /// This API is intended to be useful if your user interface needs to display a selectable list of nexus.; /// - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -17173,7 +16974,7 @@ public async Task> ListNexusAsync(String filter, Int32? /// * Common alternative spellings for many countries /// /// For a full list of all supported codes and names, please see the Definitions API `ListCountries`. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -17207,7 +17008,7 @@ public async Task> ListNexusByAddressAsync(String line1, /// /// The country in which you want to fetch the system nexus - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -17236,7 +17037,7 @@ public async Task> ListNexusByCountryAsync(String countr /// The two-character ISO-3166 code for the country. /// The two or three character region code for the region. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -17297,7 +17098,7 @@ public async Task ListNexusByFormCodeAsync(String formCode) /// /// The tax type group to fetch the supporting system nexus for. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -21515,7 +21316,7 @@ public async Task GetNexusParameterAsync(Int32 compan /// /// The ID of the company that owns these nexus objects - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -21558,7 +21359,7 @@ public async Task> ListNexusByCompanyAsync(Int32 company /// The ID of the company that owns these nexus objects /// Name of TaxTypeGroup to filter by - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -21640,7 +21441,7 @@ public async Task> ListNexusParametersAsy /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -21965,8 +21766,8 @@ public async Task RequestNewAccountAsync(NewAccountRequestModel /// Request a new entitilement to an existing customer; ///
/// - /// This API is for use by partner provisioning services customers only. This will allow the partners to allow - /// the add new entitlement to an existing customer + /// This API is for use by partner provisioning services customers only. This allows the partners to add + /// new entitlements to an existing customer. /// /// ### Security Policies /// @@ -24268,7 +24069,7 @@ public async Task GetVarianceReportByCompanyCodeByTransac /// The company code of the company that recorded this transaction /// Optionally filter transactions to those from a specific data source. /// Specifies objects to include in this fetch call - /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms + /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. diff --git a/src/Avalara.AvaTax.RestClient.nuspec b/src/Avalara.AvaTax.RestClient.nuspec index 7360bec..4390f37 100644 --- a/src/Avalara.AvaTax.RestClient.nuspec +++ b/src/Avalara.AvaTax.RestClient.nuspec @@ -3,7 +3,7 @@ Avalara.AvaTax - 24.2.0 + 24.4.2 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 36cfe91..796e5a5 100644 --- a/src/IAvaTaxClient.cs +++ b/src/IAvaTaxClient.cs @@ -407,63 +407,6 @@ public interface IAvaTaxClient /// The address to resolve AddressResolutionModel ResolveAddressPost(AddressValidationInfo model); - /// - /// Create a lookup file for a company - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the company - /// The ID of the company for which the lookup file is to be created - /// The lookup file you wish to create - AdvancedRuleLookupFileModel CreateCompanyLookupFile(Int32 accountId, Int32 companyId, AdvancedRuleLookupFileModel model); - - /// - /// Delete a lookup file - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID for the company lookup file to be deleted - List DeleteLookupFile(Int32 accountId, String id); - - /// - /// Get the lookup files for a company - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The account ID for the company - /// The ID of the company for which to retrieve lookup files - FetchResult GetCompanyLookupFiles(Int32 accountId, Int32 companyId); - - /// - /// Get a lookup file for an accountId and companyLookupFileId - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the lookup file - /// The unique ID/GUID of the company lookup file to return - AdvancedRuleLookupFileModel GetLookupFile(Int32 accountId, String id); - - /// - /// Update a lookup file - /// - /// - /// - /// - /// Swagger Name: AvaTaxClient - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID of the company lookup file to be updated - /// The new values to update the lookup file - AdvancedRuleLookupFileModel UpdateLookupFile(Int32 accountId, String id, AdvancedRuleLookupFileModel model); - /// /// Create new rule /// @@ -483,7 +426,7 @@ public interface IAvaTaxClient ///
/// Swagger Name: AvaTaxClient /// The ID of the company that defined this rule - /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -497,7 +440,7 @@ public interface IAvaTaxClient /// ///
/// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -3175,7 +3118,7 @@ public interface IAvaTaxClient /// This API is intended to be useful if your user interface needs to display a selectable list of nexus. /// /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -3214,7 +3157,7 @@ public interface IAvaTaxClient /// * Common alternative spellings for many countries /// /// For a full list of all supported codes and names, please see the Definitions API `ListCountries`. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -3230,7 +3173,7 @@ public interface IAvaTaxClient /// /// Swagger Name: AvaTaxClient /// The country in which you want to fetch the system nexus - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -3247,7 +3190,7 @@ public interface IAvaTaxClient /// Swagger Name: AvaTaxClient /// The two-character ISO-3166 code for the country. /// The two or three character region code for the region. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -3287,7 +3230,7 @@ public interface IAvaTaxClient /// /// Swagger Name: AvaTaxClient /// The tax type group to fetch the supporting system nexus for. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -6135,7 +6078,7 @@ public interface IAvaTaxClient /// /// Swagger Name: AvaTaxClient /// The ID of the company that owns these nexus objects - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -6165,7 +6108,7 @@ public interface IAvaTaxClient /// Swagger Name: AvaTaxClient /// The ID of the company that owns these nexus objects /// Name of TaxTypeGroup to filter by - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -6220,7 +6163,7 @@ public interface IAvaTaxClient /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -6450,8 +6393,8 @@ public interface IAvaTaxClient /// Request a new entitilement to an existing customer /// /// - /// This API is for use by partner provisioning services customers only. This will allow the partners to allow - /// the add new entitlement to an existing customer + /// This API is for use by partner provisioning services customers only. This allows the partners to add + /// new entitlements to an existing customer. /// /// ### Security Policies /// @@ -8194,7 +8137,7 @@ public interface IAvaTaxClient /// The company code of the company that recorded this transaction /// Optionally filter transactions to those from a specific data source. /// Specifies objects to include in this fetch call - /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms + /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -9487,68 +9430,6 @@ public interface IAvaTaxClient /// The address to resolve Task ResolveAddressPostAsync(AddressValidationInfo model); - /// Swagger Name: AvaTaxClient - /// - /// Create a lookup file for a company; - /// - /// - /// ; - /// - - /// The ID of the account for the company - /// The ID of the company for which the lookup file is to be created - /// The lookup file you wish to create - Task CreateCompanyLookupFileAsync(Int32 accountId, Int32 companyId, AdvancedRuleLookupFileModel model); - - /// Swagger Name: AvaTaxClient - /// - /// Delete a lookup file; - /// - /// - /// ; - /// - - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID for the company lookup file to be deleted - Task> DeleteLookupFileAsync(Int32 accountId, String id); - - /// Swagger Name: AvaTaxClient - /// - /// Get the lookup files for a company; - /// - /// - /// ; - /// - - /// The account ID for the company - /// The ID of the company for which to retrieve lookup files - Task> GetCompanyLookupFilesAsync(Int32 accountId, Int32 companyId); - - /// Swagger Name: AvaTaxClient - /// - /// Get a lookup file for an accountId and companyLookupFileId; - /// - /// - /// ; - /// - - /// The ID of the account for the lookup file - /// The unique ID/GUID of the company lookup file to return - Task GetLookupFileAsync(Int32 accountId, String id); - - /// Swagger Name: AvaTaxClient - /// - /// Update a lookup file; - /// - /// - /// ; - /// - - /// The ID of the account for the company the lookup file is for - /// The unique ID/GUID of the company lookup file to be updated - /// The new values to update the lookup file - Task UpdateLookupFileAsync(Int32 accountId, String id, AdvancedRuleLookupFileModel model); - /// Swagger Name: AvaTaxClient /// /// Create new rule; @@ -9570,7 +9451,7 @@ public interface IAvaTaxClient /// /// The ID of the company that defined this rule - /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -9585,7 +9466,7 @@ public interface IAvaTaxClient /// ; /// - /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent + /// 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:* meta, amount, varianceForIgnore, varianceForAccrue, variancePercent, apConfigToleranceType, payAsBilledNoAccrual, payAsBilledAccrueUndercharge, shortPayItemsAccrueUndercharge, markForReviewUndercharge, rejectUndercharge, payAsBilledOvercharge, shortPayAvalaraCalculated, shortPayItemsAccrueOvercharge, markForReviewOvercharge, rejectOvercharge, isActive /// 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. @@ -12381,7 +12262,7 @@ public interface IAvaTaxClient /// This API is intended to be useful if your user interface needs to display a selectable list of nexus.; /// - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -12421,7 +12302,7 @@ public interface IAvaTaxClient /// * Common alternative spellings for many countries /// /// For a full list of all supported codes and names, please see the Definitions API `ListCountries`. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -12438,7 +12319,7 @@ public interface IAvaTaxClient /// /// The country in which you want to fetch the system nexus - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -12456,7 +12337,7 @@ public interface IAvaTaxClient /// The two-character ISO-3166 code for the country. /// The two or three character region code for the region. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -12498,7 +12379,7 @@ public interface IAvaTaxClient /// /// The tax type group to fetch the supporting system nexus for. - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. @@ -15480,7 +15361,7 @@ public interface IAvaTaxClient /// /// The ID of the company that owns these nexus objects - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -15511,7 +15392,7 @@ public interface IAvaTaxClient /// The ID of the company that owns these nexus objects /// Name of TaxTypeGroup to filter by - /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -15568,7 +15449,7 @@ public interface IAvaTaxClient /// * This API requires one of the following user roles: AccountAdmin, AccountUser, BatchServiceAdmin, CompanyAdmin, CompanyUser, Compliance Root User, ComplianceAdmin, ComplianceUser, CSPAdmin, CSPTester, FirmAdmin, FirmUser, 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters, taxableNexus + /// 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:* streamlinedSalesTax, isSSTActive, taxTypeGroup, taxAuthorityId, taxName, parameters /// 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. @@ -15809,8 +15690,8 @@ public interface IAvaTaxClient /// Request a new entitilement to an existing customer; ///
/// - /// This API is for use by partner provisioning services customers only. This will allow the partners to allow - /// the add new entitlement to an existing customer + /// This API is for use by partner provisioning services customers only. This allows the partners to add + /// new entitlements to an existing customer. /// /// ### Security Policies /// @@ -17612,7 +17493,7 @@ public interface IAvaTaxClient /// The company code of the company that recorded this transaction /// Optionally filter transactions to those from a specific data source. /// Specifies objects to include in this fetch call - /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms + /// 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:* exchangeRateCurrencyCode, totalDiscount, lines, addresses, locationTypes, summary, taxDetailsByTaxType, parameters, userDefinedFields, messages, invoiceMessages, isFakeTransaction, deliveryTerms, apStatusCode, apStatus /// 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. /// A comma separated list of sort statements in the format `(fieldname) [ASC|DESC]`, for example `id ASC`. diff --git a/src/enums/APStatus.cs b/src/enums/APStatus.cs new file mode 100644 index 0000000..91dbafd --- /dev/null +++ b/src/enums/APStatus.cs @@ -0,0 +1,126 @@ +using System; + +/* + * 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 +{ + /// + /// /// The user can set some tolerance or threshold limits inorder to take appropriate actions when + /// their transactions are above or below certain threshold limits. + /// Account Payable (AP) status code indicates an action that needs to be taken when the tolerance/threshold falls between certain range. + /// + public enum APStatus + { + /// + /// + /// + PayAsBilledMatch = 0, + + /// + /// + /// + ShortPayItemsAccrueMatch = 1, + + /// + /// + /// + MarkForReviewMatch = 2, + + /// + /// + /// + RejectMatch = 3, + + /// + /// + /// + PayAsBilledNoAccrual = 4, + + /// + /// + /// + PayAsBilledAccrueUndercharge = 5, + + /// + /// + /// + ShortPayItemsAccrueUndercharge = 6, + + /// + /// + /// + MarkForReviewUndercharge = 7, + + /// + /// + /// + RejectUndercharge = 8, + + /// + /// + /// + PayAsBilledOvercharge = 9, + + /// + /// + /// + ShortPayAvalaraCalculated = 10, + + /// + /// + /// + ShortPayItemsAccrueOvercharge = 11, + + /// + /// + /// + MarkForReviewOvercharge = 12, + + /// + /// + /// + RejectOvercharge = 13, + + /// + /// + /// + AmountThresholdNotMet = 14, + + /// + /// + /// + CostCenterExempted = 15, + + /// + /// + /// + ItemExempted = 16, + + /// + /// + /// + TrustedVendor = 17, + + /// + /// + /// + AccruedByVendor = 18, + + /// + /// + /// + Ignored = 19, + + } +} diff --git a/src/enums/ApConfigToleranceType.cs b/src/enums/ApConfigToleranceType.cs new file mode 100644 index 0000000..83c9688 --- /dev/null +++ b/src/enums/ApConfigToleranceType.cs @@ -0,0 +1,34 @@ +using System; + +/* + * 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 +{ + /// + /// AP Config Tolerance Type + /// + public enum ApConfigToleranceType + { + /// + /// RealTime + /// + RealTime = 0, + + /// + /// Batch + /// + Batch = 1, + + } +} diff --git a/src/enums/BulkImportStatus.cs b/src/enums/BulkImportStatus.cs new file mode 100644 index 0000000..cfcc436 --- /dev/null +++ b/src/enums/BulkImportStatus.cs @@ -0,0 +1,74 @@ +using System; + +/* + * 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 +{ + /// + /// + /// + public enum BulkImportStatus + { + /// + /// + /// + None = 0, + + /// + /// + /// + Success = 1, + + /// + /// + /// + Created = 2, + + /// + /// + /// + Updated = 4, + + /// + /// + /// + NotImported = 8, + + /// + /// + /// + Ignored = 16, + + /// + /// + /// + Error = 32, + + /// + /// + /// + ValidationFailed = 64, + + /// + /// + /// + PartialSuccess = 128, + + /// + /// + /// + Invalid = 256, + + } +} diff --git a/src/enums/ErrorCodeId.cs b/src/enums/ErrorCodeId.cs index 1ef7fc7..6e5a8d3 100644 --- a/src/enums/ErrorCodeId.cs +++ b/src/enums/ErrorCodeId.cs @@ -1526,6 +1526,11 @@ public enum ErrorCodeId /// InvalidValueError = 1739, + /// + /// + /// + ItemDualWriteParameterValueMismatchError = 1740, + /// /// SendSales API errors /// @@ -1721,6 +1726,11 @@ public enum ErrorCodeId /// CannotCreateNestedObjects = 2402, + /// + /// + /// + InvalidUsername = 2403, + /// /// User's SubjectId not updated by DB query /// diff --git a/src/models/APConfigSettingRequestModel.cs b/src/models/APConfigSettingRequestModel.cs index 91547f2..3d0e4da 100644 --- a/src/models/APConfigSettingRequestModel.cs +++ b/src/models/APConfigSettingRequestModel.cs @@ -25,22 +25,83 @@ public class APConfigSettingRequestModel /// /// The Amount /// - public Int64? amount { get; set; } + public Decimal? amount { get; set; } /// /// The Variance For Ignore /// - public Int64? varianceForIgnore { get; set; } + public Decimal? varianceForIgnore { get; set; } /// /// The Variance For Accrue /// - public Int64? varianceForAccrue { get; set; } + public Decimal? varianceForAccrue { get; set; } /// /// The Variance Percent /// - public Int64? variancePercent { get; set; } + public Decimal? variancePercent { get; set; } + + /// + /// The Ap Config Tolerance Type + /// BATCH or REALTIME + /// + public ApConfigToleranceType? apConfigToleranceType { get; set; } + + /// + /// Pay Billed Do Not Accrue + /// + public Decimal? payAsBilledNoAccrual { get; set; } + + /// + /// Pay Billed Accrue + /// + public Decimal? payAsBilledAccrueUndercharge { get; set; } + + /// + /// ShortPay Items UnderCharge + /// + public Decimal? shortPayItemsAccrueUndercharge { get; set; } + + /// + /// Review UnderCharge + /// + public Decimal? markForReviewUndercharge { get; set; } + + /// + /// Reject UnderCharge + /// + public Decimal? rejectUndercharge { get; set; } + + /// + /// Pay As BilledOvercharge + /// + public Decimal? payAsBilledOvercharge { get; set; } + + /// + /// Short Pay Avalara CalculatedTax + /// + public Decimal? shortPayAvalaraCalculated { get; set; } + + /// + /// Short Pay Items + /// + public Decimal? shortPayItemsAccrueOvercharge { get; set; } + + /// + /// Review OverCharge + /// + public Decimal? markForReviewOvercharge { get; set; } + + /// + /// Reject OverCharge + /// + public Decimal? rejectOvercharge { get; set; } + + /// + /// Is Active + /// + public Boolean? isActive { get; set; } /// diff --git a/src/models/APConfigSettingSuccessResponseModel.cs b/src/models/APConfigSettingSuccessResponseModel.cs index 6f6ce6e..de02e29 100644 --- a/src/models/APConfigSettingSuccessResponseModel.cs +++ b/src/models/APConfigSettingSuccessResponseModel.cs @@ -40,22 +40,83 @@ public class APConfigSettingSuccessResponseModel /// /// The Amount /// - public Int64? amount { get; set; } + public Decimal? amount { get; set; } /// /// The Variance For Ignore /// - public Int64? varianceForIgnore { get; set; } + public Decimal? varianceForIgnore { get; set; } /// /// The Variance For Accrue /// - public Int64? varianceForAccrue { get; set; } + public Decimal? varianceForAccrue { get; set; } /// /// The Variance Percent /// - public Int64? variancePercent { get; set; } + public Decimal? variancePercent { get; set; } + + /// + /// The Ap Config Tolerance Type + /// BATCH or REALTIME + /// + public ApConfigToleranceType? apConfigToleranceType { get; set; } + + /// + /// Pay Billed Do Not Accrue + /// + public Decimal? payAsBilledNoAccrual { get; set; } + + /// + /// Pay Billed Accrue + /// + public Decimal? payAsBilledAccrueUndercharge { get; set; } + + /// + /// ShortPay Items UnderCharge + /// + public Decimal? shortPayItemsAccrueUndercharge { get; set; } + + /// + /// Review UnderCharge + /// + public Decimal? markForReviewUndercharge { get; set; } + + /// + /// Reject UnderCharge + /// + public Decimal? rejectUndercharge { get; set; } + + /// + /// Pay As BilledOvercharge + /// + public Decimal? payAsBilledOvercharge { get; set; } + + /// + /// Short Pay Avalara CalculatedTax + /// + public Decimal? shortPayAvalaraCalculated { get; set; } + + /// + /// Short Pay Items + /// + public Decimal? shortPayItemsAccrueOvercharge { get; set; } + + /// + /// Review OverCharge + /// + public Decimal? markForReviewOvercharge { get; set; } + + /// + /// Reject OverCharge + /// + public Decimal? rejectOvercharge { get; set; } + + /// + /// Is Active + /// + public Boolean? isActive { get; set; } /// diff --git a/src/models/AccountModel.cs b/src/models/AccountModel.cs index e47204e..ae3bcfa 100644 --- a/src/models/AccountModel.cs +++ b/src/models/AccountModel.cs @@ -92,6 +92,11 @@ public class AccountModel /// public Boolean? isSamlEnabled { get; set; } + /// + /// A boolean flag to identify if the account is deleted + /// + public Boolean? isDeleted { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/AdvancedRuleBulkImportModel.cs b/src/models/AdvancedRuleBulkImportModel.cs new file mode 100644 index 0000000..85949c8 --- /dev/null +++ b/src/models/AdvancedRuleBulkImportModel.cs @@ -0,0 +1,45 @@ +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 +{ + /// + /// Input model for the Advanced Rules bulk import API + /// + public class AdvancedRuleBulkImportModel + { + /// + /// Flag to try updating existing rules instead of just append + /// + public Boolean? replaceExisting { get; set; } + + /// + /// List of rule executions to import + /// + public List executions { 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/AdvancedRuleBulkImportResultModel.cs b/src/models/AdvancedRuleBulkImportResultModel.cs new file mode 100644 index 0000000..958591a --- /dev/null +++ b/src/models/AdvancedRuleBulkImportResultModel.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 +{ + /// + /// Output model for the Advanced Rules bulk import API + /// + public class AdvancedRuleBulkImportResultModel + { + /// + /// Aggregated import result code + /// + public BulkImportStatus? importResult { get; set; } + + /// + /// Aggregated import result message + /// + public String importMessage { get; set; } + + /// + /// Import results for individual rule executions + /// + public List executions { 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/AdvancedRuleExecutionModel.cs b/src/models/AdvancedRuleExecutionModel.cs index d815ac6..7a21f8e 100644 --- a/src/models/AdvancedRuleExecutionModel.cs +++ b/src/models/AdvancedRuleExecutionModel.cs @@ -72,6 +72,26 @@ public class AdvancedRuleExecutionModel /// public String customerDataId { get; set; } + /// + /// Creator of the rule + /// + public String createdBy { get; set; } + + /// + /// When the rule execution was created + /// + public String createdOn { get; set; } + + /// + /// Last updater of the rule execution + /// + public String modifiedBy { get; set; } + + /// + /// When the rule execution was last updated + /// + public String modifiedOn { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/AdvancedRuleFullDetailsModel.cs b/src/models/AdvancedRuleFullDetailsModel.cs index 5ab8a75..3223291 100644 --- a/src/models/AdvancedRuleFullDetailsModel.cs +++ b/src/models/AdvancedRuleFullDetailsModel.cs @@ -22,21 +22,6 @@ namespace Avalara.AvaTax.RestClient /// public class AdvancedRuleFullDetailsModel { - /// - /// The code script for the rule - /// - public String script { get; set; } - - /// - /// Script run for validating customer data - /// - public String customerDataValidatorScript { get; set; } - - /// - /// Has the rule been approved - /// - public Boolean? isApproved { get; set; } - /// /// Creator of the rule /// @@ -47,21 +32,6 @@ public class AdvancedRuleFullDetailsModel /// public String createdOn { get; set; } - /// - /// Last updater of the rule - /// - public String modifiedBy { get; set; } - - /// - /// When the rule was last updated - /// - public String modifiedOn { get; set; } - - /// - /// Approver of the rule - /// - public String approvedBy { get; set; } - /// /// Is this a system rule as opposed to customer-facing /// @@ -87,11 +57,6 @@ public class AdvancedRuleFullDetailsModel /// public Int32? version { get; set; } - /// - /// Account Ids the rule is visible for in CUP, when IsVisibleInCUP = false - /// - public List accountsVisibleFor { get; set; } - /// /// Unique identifier for a rule /// diff --git a/src/models/AdvancedRuleImportResultModel.cs b/src/models/AdvancedRuleImportResultModel.cs new file mode 100644 index 0000000..668fc23 --- /dev/null +++ b/src/models/AdvancedRuleImportResultModel.cs @@ -0,0 +1,60 @@ +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 +{ + /// + /// Model for the results of importing a single rule execution with the Advanced Rules bulk import API + /// + public class AdvancedRuleImportResultModel + { + /// + /// Name of rule execution + /// + public String name { get; set; } + + /// + /// Import result status code (e.g. Success, ValidationFailed, NotCreated, etc.) + /// + public String importResult { get; set; } + + /// + /// Import result status message (e.g. list of validation errors) + /// + public String importDetails { get; set; } + + /// + /// Rule execution unique identifier + /// + public String ruleExecutionId { get; set; } + + /// + /// Unique identifier of rule to execute + /// + public String ruleId { 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/CompanyModel.cs b/src/models/CompanyModel.cs index 1ac9a23..5760067 100644 --- a/src/models/CompanyModel.cs +++ b/src/models/CompanyModel.cs @@ -254,6 +254,11 @@ public class CompanyModel /// public List supplierandcustomers { get; set; } + /// + /// A boolean flag to identify if the company is deleted + /// + public Boolean? isDeleted { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/ComplianceStateConfigModel.cs b/src/models/ComplianceStateConfigModel.cs index 804ef52..31dbe71 100644 --- a/src/models/ComplianceStateConfigModel.cs +++ b/src/models/ComplianceStateConfigModel.cs @@ -110,7 +110,7 @@ public class ComplianceStateConfigModel /// /// IsJaasEnabled /// - public Int32? isJaasEnabled { get; set; } + public Boolean? isJaasEnabled { get; set; } /// /// The name of the country. diff --git a/src/models/ComplianceTaxRateModel.cs b/src/models/ComplianceTaxRateModel.cs index af812f0..8de2ad8 100644 --- a/src/models/ComplianceTaxRateModel.cs +++ b/src/models/ComplianceTaxRateModel.cs @@ -77,6 +77,31 @@ public class ComplianceTaxRateModel /// public Int32? rateTypeTaxTypeMappingId { get; set; } + /// + /// The date this rate was created. + /// + public DateTime? createDate { get; set; } + + /// + /// The Source. + /// + public String source { get; set; } + + /// + /// The currency Code. + /// + public String currencyCode { get; set; } + + /// + /// The uom Id. + /// + public Int32? uomId { get; set; } + + /// + /// The date this rate was modified. + /// + public DateTime? modifiedDate { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/DeterminationFactorModel.cs b/src/models/DeterminationFactorModel.cs index a991fd8..4b046df 100644 --- a/src/models/DeterminationFactorModel.cs +++ b/src/models/DeterminationFactorModel.cs @@ -43,9 +43,24 @@ public class DeterminationFactorModel public List names { get; set; } /// - /// The name of the user who created the determination factor. + /// The name of the user who created any applied determination factor. /// - public String createdBy { get; set; } + public List createdBy { get; set; } + + /// + /// The determination factor entityUseCode. + /// + public String entityUseCode { get; set; } + + /// + /// The determination factor exemptCertId. + /// + public String exemptCertId { get; set; } + + /// + /// The determination factor exemptNo. + /// + public String exemptNo { get; set; } /// diff --git a/src/models/JurisdictionNexusModel.cs b/src/models/JurisdictionNexusModel.cs index 4eef49a..ace1cda 100644 --- a/src/models/JurisdictionNexusModel.cs +++ b/src/models/JurisdictionNexusModel.cs @@ -37,6 +37,11 @@ public class JurisdictionNexusModel /// public String taxName { get; set; } + /// + /// Shows if system nexus records are associated with tax collection + /// + public Boolean? taxableNexus { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/NexusForReturnsModel.cs b/src/models/NexusForReturnsModel.cs new file mode 100644 index 0000000..6b7ed73 --- /dev/null +++ b/src/models/NexusForReturnsModel.cs @@ -0,0 +1,121 @@ +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 +{ + /// + /// Reponse model for the returns specific nexus fetch API + /// + public class NexusForReturnsModel + { + /// + /// The nexus's id + /// + public Int32? id { get; set; } + + /// + /// Company Id + /// + public Int32? companyId { get; set; } + + /// + /// For region nexus, the assigned id for the country. + /// For country nexus, null. + /// + public Int32? assignedToCountryId { get; set; } + + /// + /// The two character ISO-3166 country code of the country in which this company declared nexus. + /// + public String country { get; set; } + + /// + /// The two or three character ISO region code of the region, state, or province in which this company declared nexus. + /// + public String region { get; set; } + + /// + /// Jurisdiction Name + /// + public String jurisName { get; set; } + + /// + /// Nexus Tax Type Group + /// + public String nexusTaxTypeGroup { get; set; } + + /// + /// Nexus Type + /// + public String nexusTypeId { get; set; } + + /// + /// Has Local Nexus? + /// + public Boolean? hasLocalNexus { get; set; } + + /// + /// Local Nexus Tax Type or null if no local nexus + /// + public String localNexusType { get; set; } + + /// + /// The id of the SST nexus record if there is one. + /// + public Int32? sstNexusId { get; set; } + + /// + /// If has SST Nexus, the nexus type id of the nexus + /// + public String sstType { get; set; } + + /// + /// Min the effective Date can be + /// + public DateTime? effectiveDate { get; set; } + + /// + /// Max the end date can be + /// + public DateTime? endDate { get; set; } + + /// + /// SST Effective Date + /// + public DateTime? sstEffectiveDate { get; set; } + + /// + /// SST End Date + /// + public DateTime? sstEndDate { get; set; } + + /// + /// Has nexus parameter IsRemoteSeller? + /// + public Boolean? isRemoteSeller { 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/NexusForReturnsRequestModel.cs b/src/models/NexusForReturnsRequestModel.cs new file mode 100644 index 0000000..70d78cc --- /dev/null +++ b/src/models/NexusForReturnsRequestModel.cs @@ -0,0 +1,60 @@ +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 +{ + /// + /// Request model for the returns specific nexus fetch API + /// + public class NexusForReturnsRequestModel + { + /// + /// Description of the desired nexus tax type group (e.g. SalesAndUse, Lodging, etc.) + /// + public String nexusTaxTypeGroup { get; set; } + + /// + /// The nexus type id desired (optional) + /// + public NexusTypeId? nexusTypeId { get; set; } + + /// + /// The local nexus type id desired (optional) + /// + public LocalNexusTypeId? localNexusTypeId { get; set; } + + /// + /// Flag indicating whether the response should include inactive nexus entries (optional) + /// + public Boolean? showHistorical { get; set; } + + /// + /// Flag indicating whether to only include SST nexus entries in the response (optional) + /// + public Boolean? showSSTOnly { 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/RateType1703Model.cs b/src/models/RateType1703Model.cs new file mode 100644 index 0000000..95b801d --- /dev/null +++ b/src/models/RateType1703Model.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 +{ + /// + /// Represents RateType1703 Model + /// + public class RateType1703Model + { + /// + /// RateTypeIdSK + /// + public Int32? rateTypeIdSK { get; set; } + + /// + /// RateTypeId + /// + public String rateTypeId { get; set; } + + /// + /// Description + /// + public String description { 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/RateTypeTaxTypeMappingModel.cs b/src/models/RateTypeTaxTypeMappingModel.cs new file mode 100644 index 0000000..1c406d4 --- /dev/null +++ b/src/models/RateTypeTaxTypeMappingModel.cs @@ -0,0 +1,55 @@ +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 +{ + /// + /// Represents RateTypeTaxTypeMappingModel Model + /// + public class RateTypeTaxTypeMappingModel + { + /// + /// TaxTypeMappingId + /// + public Int32? rateTypeTaxTypeMappingId { get; set; } + + /// + /// TaxTypeMappingId + /// + public Int32? taxTypeMappingId { get; set; } + + /// + /// RateTypeIdSK + /// + public Int32? rateTypeIdSK { get; set; } + + /// + /// RateTypeId + /// + public String rateTypeId { 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/TaxRegionModel.cs b/src/models/TaxRegionModel.cs index 5f571a1..2b46286 100644 --- a/src/models/TaxRegionModel.cs +++ b/src/models/TaxRegionModel.cs @@ -107,6 +107,21 @@ public class TaxRegionModel /// public List jurisdictions { get; set; } + /// + /// The date this tax region was created. + /// + public DateTime? createDate { get; set; } + + /// + /// The date this tax region was modified. + /// + public DateTime? modifiedDate { get; set; } + + /// + /// Food SER Code + /// + public String foodSERCode { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/TaxSubType1703Model.cs b/src/models/TaxSubType1703Model.cs new file mode 100644 index 0000000..32bc213 --- /dev/null +++ b/src/models/TaxSubType1703Model.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 +{ + /// + /// Represents RateTypeTaxTypeMapping Model + /// + public class TaxSubType1703Model + { + /// + /// TaxSubTypeIdSK + /// + public Int32? taxSubTypeIdSK { get; set; } + + /// + /// TaxSubTypeId + /// + public String taxSubTypeId { get; set; } + + /// + /// Description + /// + public String description { 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/TaxType1703Model.cs b/src/models/TaxType1703Model.cs new file mode 100644 index 0000000..db9f614 --- /dev/null +++ b/src/models/TaxType1703Model.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 +{ + /// + /// Represents TaxType1703 Model + /// + public class TaxType1703Model + { + /// + /// TaxTypeIdSK + /// + public Int32? taxTypeIdSK { get; set; } + + /// + /// TaxTypeId + /// + public String taxTypeId { get; set; } + + /// + /// Description + /// + public String description { 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/TransactionLineDetailModel.cs b/src/models/TransactionLineDetailModel.cs index 2ca8d7b..4ad2ca6 100644 --- a/src/models/TransactionLineDetailModel.cs +++ b/src/models/TransactionLineDetailModel.cs @@ -72,6 +72,11 @@ public class TransactionLineDetailModel /// public Int32? exemptReasonId { get; set; } + /// + /// The rule according to which portion of this detail was considered exempt. + /// + public Int32? exemptRuleId { get; set; } + /// /// True if this detail element represented an in-state transaction. /// diff --git a/src/models/TransactionModel.cs b/src/models/TransactionModel.cs index 30b6d9a..6536f00 100644 --- a/src/models/TransactionModel.cs +++ b/src/models/TransactionModel.cs @@ -409,6 +409,62 @@ public class TransactionModel /// public DeliveryTerms? deliveryTerms { get; set; } + /// + /// Users can set tolerance or threshold limits on transactions and inform users of appropriate actions to take + /// if a transaction falls outside of these values. + /// An Accounts Payable (AP) status code indicates the action that needs to be taken when the tolerance/threshold + /// falls above or below the tolerance/threshold limits. + /// + /// Available AP status codes are: + /// 1. PayAsBilledMatch + /// 2. PayAsBilledNoAccrual + /// 3. PayAsBilledAccrueUndercharge + /// 4. ShortPayItemsAccrueUndercharge + /// 5. MarkForReviewUndercharge + /// 6. RejectUndercharge + /// 7. ShortPayItemsAccrueOvercharge + /// 8. MarkForReviewOvercharge + /// 9. RejectOvercharge + /// 10. RejectMatch + /// 11. MarkForReviewMatch + /// 12. ShortPayItemsAccrueMatch + /// 13. PayAsBilledOvercharge + /// 14. ShortPayAvalaraCalculated + /// 15. AmountThresholdNotMet + /// 16. TrustedVendor + /// 17. CostCenterExempted + /// 18. ItemExempted + /// 19. AccruedByVendor + /// + public APStatus? apStatusCode { get; set; } + + /// + /// An Accounts Payable (AP) status indicates an action that needs to be taken when the tolerance amount falls + /// above or below certain threshold limits. + /// + /// Available AP statuses are: + /// 1. Ignored - No variance, pay as billed (PayAsBilledMatch) + /// 2. Ignored - Undercharged, pay as billed (PayAsBilledNoAccrual) + /// 3. Accrued - Pay bill and accrue undercharge variance (PayAsBilledAccrueUndercharge) + /// 4. Accrued - Pay for items and accrue all tax (ShortPayItemsAccrueUndercharge) + /// 5. Needs review - Undercharged (MarkForReviewUndercharge) + /// 6. Ignored - Reject undercharged transaction (RejectUndercharge) + /// 7. Accrued - Pay for items and accrue all tax (ShortPayItemsAccrueOvercharge) + /// 8. Needs review - Overcharged (MarkForReviewOvercharge) + /// 9. Ignored - Reject overcharged transaction (RejectOvercharge) + /// 10. Ignored - No variance, reject transaction (RejectMatch) + /// 11. Needs review - No variance (MarkForReviewMatch) + /// 12. Accrued - No variance, pay for items and accrue all tax (ShortPayItemsAccrueMatch) + /// 13. Ignored - Overcharged, pay as billed (PayAsBilledOvercharge) + /// 14. Ignored - Overcharged, pay Avalara’s calculated tax (ShortPayAvalaraCalculated) + /// 15. Ignored - Amount threshold not met (AmountThresholdNotMet) + /// 16. Ignored - Use trusted vendor’s calculations (TrustedVendor) + /// 17. Ignored - Cost center exempted from tax (CostCenterExempted) + /// 18. Ignored - Item exempted from tax (ItemExempted) + /// 19. Accrued - Accrued by Vendor (AccruedByVendor) + /// + public String apStatus { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/UnitOfBasisModel.cs b/src/models/UnitOfBasisModel.cs index 58e05c7..5f1137d 100644 --- a/src/models/UnitOfBasisModel.cs +++ b/src/models/UnitOfBasisModel.cs @@ -32,6 +32,11 @@ public class UnitOfBasisModel /// public String unitOfBasis { get; set; } + /// + /// A boolean value based on the current definition of a Fee in AvaTax + /// + public Boolean? isFee { get; set; } + /// /// Convert this object to a JSON string of itself diff --git a/src/models/UserModel.cs b/src/models/UserModel.cs index 5fab7e6..cad0c8a 100644 --- a/src/models/UserModel.cs +++ b/src/models/UserModel.cs @@ -102,6 +102,11 @@ public class UserModel /// public Boolean? suppressNewUserEmail { get; set; } + /// + /// A boolean flag to identify if the user is deleted + /// + public Boolean? isDeleted { get; set; } + /// /// Convert this object to a JSON string of itself