Skip to content

Commit 830b87a

Browse files
Merge pull request #256 from avadev/24.12.0
Update for 24.12.0
2 parents fd8d519 + 4d06605 commit 830b87a

9 files changed

+52
-10
lines changed

GlobalAssemblyInfo.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@
3030
// Revision
3131
//
3232

33-
[assembly: AssemblyVersion("24.11.2")]
34-
[assembly: AssemblyFileVersion("24.11.2")]
33+
[assembly: AssemblyVersion("24.12.0")]
34+
[assembly: AssemblyFileVersion("24.12.0")]

src/AvaTaxApi.cs

+12-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* @author Sachin Baijal <sachin.baijal@avalara.com>
1818
* @copyright 2004-2023 Avalara, Inc.
1919
* @license https://www.apache.org/licenses/LICENSE-2.0
20-
* @version 24.11.2
20+
* @version 24.12.0
2121
* @link https://github.com/avadev/AvaTax-REST-V2-DotNet-SDK
2222
*/
2323

@@ -28,7 +28,7 @@ public partial class AvaTaxClient : IAvaTaxClient
2828
/// <summary>
2929
/// Returns the version number of the API used to generate this class
3030
/// </summary>
31-
public static string API_VERSION { get { return "24.11.2"; } }
31+
public static string API_VERSION { get { return "24.12.0"; } }
3232

3333
#region Methods
3434

@@ -6303,12 +6303,16 @@ public FirmClientLinkageOutputModel UpdateFirmClientLinkage(FirmClientLinkageMod
63036303
/// <param name="id">The unique ID number of this funding request</param>
63046304
/// <param name="businessUnit">The company's business unit</param>
63056305
/// <param name="subscriptionType">The company's subscription type</param>
6306-
public FundingStatusModel ActivateFundingRequest(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType)
6306+
/// <param name="currency">Currency</param>
6307+
/// <param name="agreementType">Agreement Type</param>
6308+
public FundingStatusModel ActivateFundingRequest(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType, String currency, String agreementType)
63076309
{
63086310
var path = new AvaTaxPath("/api/v2/fundingrequests/{id}/widget");
63096311
path.ApplyField("id", id);
63106312
path.AddQuery("businessUnit", businessUnit);
63116313
path.AddQuery("subscriptionType", subscriptionType);
6314+
path.AddQuery("currency", currency);
6315+
path.AddQuery("agreementType", agreementType);
63126316
_clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID, API_VERSION);
63136317
return RestCall<FundingStatusModel>("GET", path, null);
63146318
}
@@ -19416,12 +19420,16 @@ public async Task<FirmClientLinkageOutputModel> UpdateFirmClientLinkageAsync(Fir
1941619420
/// <param name="id">The unique ID number of this funding request</param>
1941719421
/// <param name="businessUnit">The company's business unit</param>
1941819422
/// <param name="subscriptionType">The company's subscription type</param>
19419-
public async Task<FundingStatusModel> ActivateFundingRequestAsync(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType)
19423+
/// <param name="currency">Currency</param>
19424+
/// <param name="agreementType">Agreement Type</param>
19425+
public async Task<FundingStatusModel> ActivateFundingRequestAsync(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType, String currency, String agreementType)
1942019426
{
1942119427
var path = new AvaTaxPath("/api/v2/fundingrequests/{id}/widget");
1942219428
path.ApplyField("id", id);
1942319429
path.AddQuery("businessUnit", businessUnit);
1942419430
path.AddQuery("subscriptionType", subscriptionType);
19431+
path.AddQuery("currency", currency);
19432+
path.AddQuery("agreementType", agreementType);
1942519433
_clientHeaders[Constants.AVALARA_CLIENT_HEADER]=string.Format(ClientID , API_VERSION);
1942619434
return await RestCallAsync<FundingStatusModel>("GET", path, null).ConfigureAwait(false);
1942719435
}

src/Avalara.AvaTax.RestClient.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>Avalara.AvaTax</id>
55

6-
<version>24.11.2</version>
6+
<version>24.12.0</version>
77

88
<title>Avalara AvaTax SDK</title>
99
<description>Add world-class tax estimation and calculation to your project with Avalara's AvaTax suite of APIs and services.</description>

src/IAvaTaxClient.cs

+6-2
Original file line numberDiff line numberDiff line change
@@ -4420,7 +4420,9 @@ public interface IAvaTaxClient
44204420
/// <param name="id">The unique ID number of this funding request</param>
44214421
/// <param name="businessUnit">The company's business unit</param>
44224422
/// <param name="subscriptionType">The company's subscription type</param>
4423-
FundingStatusModel ActivateFundingRequest(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType);
4423+
/// <param name="currency">Currency</param>
4424+
/// <param name="agreementType">Agreement Type</param>
4425+
FundingStatusModel ActivateFundingRequest(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType, String currency, String agreementType);
44244426

44254427
/// <summary>
44264428
/// Retrieve status about a funding setup request
@@ -13911,7 +13913,9 @@ public interface IAvaTaxClient
1391113913
/// <param name="id">The unique ID number of this funding request</param>
1391213914
/// <param name="businessUnit">The company's business unit</param>
1391313915
/// <param name="subscriptionType">The company's subscription type</param>
13914-
Task<FundingStatusModel> ActivateFundingRequestAsync(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType);
13916+
/// <param name="currency">Currency</param>
13917+
/// <param name="agreementType">Agreement Type</param>
13918+
Task<FundingStatusModel> ActivateFundingRequestAsync(Int32 id, POABusinessUnit? businessUnit, POASubscriptionType? subscriptionType, String currency, String agreementType);
1391513919

1391613920
/// Swagger Name: AvaTaxClient
1391713921
/// <summary>

src/enums/ErrorCodeId.cs

+15
Original file line numberDiff line numberDiff line change
@@ -1551,6 +1551,11 @@ public enum ErrorCodeId
15511551
/// </summary>
15521552
InvalidProductCodeFormat = 1744,
15531553

1554+
/// <summary>
1555+
///
1556+
/// </summary>
1557+
InvalidCountryAssignment = 1745,
1558+
15541559
/// <summary>
15551560
/// SendSales API errors
15561561
/// </summary>
@@ -1957,6 +1962,16 @@ public enum ErrorCodeId
19571962
/// </summary>
19581963
DuplicateSystemAndCountryForItem = 3008,
19591964

1965+
/// <summary>
1966+
///
1967+
/// </summary>
1968+
InvalidHsCodeClassificationStatusOverride = 3009,
1969+
1970+
/// <summary>
1971+
/// Occurs when the field name provided in the request isn't valid.
1972+
/// </summary>
1973+
InvalidField = 3010,
1974+
19601975
/// <summary>
19611976
/// Avalara Gateway errors:
19621977
/// </summary>

src/models/CertificateModel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class CertificateModel
4343
/// <summary>
4444
/// Expiration date when this certificate will no longer be valid.
4545
/// </summary>
46-
public DateTime expirationDate { get; set; }
46+
public DateTime? expirationDate { get; set; }
4747

4848
/// <summary>
4949
/// File name for the image of this certificate.

src/models/FilingReturnModel.cs

+5
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ public class FilingReturnModel
102102
/// </summary>
103103
public String formCode { get; set; }
104104

105+
/// <summary>
106+
/// The unique code of the form, prefixed by the country code.
107+
/// </summary>
108+
public String taxFormCode { get; set; }
109+
105110
/// <summary>
106111
/// A description for the return.
107112
/// </summary>

src/models/FilingReturnModelBasic.cs

+5
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ public class FilingReturnModelBasic
116116
/// </summary>
117117
public String formCode { get; set; }
118118

119+
/// <summary>
120+
/// The unique code of the form, prefixed by the country code.
121+
/// </summary>
122+
public String taxFormCode { get; set; }
123+
119124
/// <summary>
120125
/// A description for the return.
121126
/// </summary>

src/models/MultiTaxFilingReturnModel.cs

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ public class MultiTaxFilingReturnModel
6262
/// </summary>
6363
public String formCode { get; set; }
6464

65+
/// <summary>
66+
/// The unique code of the form, prefixed by the country code.
67+
/// </summary>
68+
public String taxFormCode { get; set; }
69+
6570
/// <summary>
6671
/// A description for the return.
6772
/// </summary>

0 commit comments

Comments
 (0)