Skip to content

Commit 389e091

Browse files
Merge pull request #250 from avadev/24.8.2
Update for 24.8.2
2 parents 9325aeb + 7e7dab8 commit 389e091

25 files changed

+898
-119
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.8.0")]
34-
[assembly: AssemblyFileVersion("24.8.0")]
33+
[assembly: AssemblyVersion("24.8.2")]
34+
[assembly: AssemblyFileVersion("24.8.2")]

src/AvaTaxApi.cs

+220-26
Large diffs are not rendered by default.

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.8.0</version>
6+
<version>24.8.2</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

+180-24
Large diffs are not rendered by default.

src/enums/APStatus.cs

+69-9
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,17 @@ public enum APStatus
3030
/// <summary>
3131
///
3232
/// </summary>
33-
ShortPayItemsAccrueMatch = 1,
33+
AccruedShortPayItemsMatch = 1,
3434

3535
/// <summary>
3636
///
3737
/// </summary>
38-
MarkForReviewMatch = 2,
38+
NeedReviewMatch = 2,
3939

4040
/// <summary>
4141
///
4242
/// </summary>
43-
RejectMatch = 3,
43+
NoAccrualRejectMatch = 3,
4444

4545
/// <summary>
4646
///
@@ -55,7 +55,7 @@ public enum APStatus
5555
/// <summary>
5656
///
5757
/// </summary>
58-
ShortPayItemsAccrueUndercharge = 6,
58+
AccruedShortPayItemsUndercharge = 6,
5959

6060
/// <summary>
6161
///
@@ -65,7 +65,7 @@ public enum APStatus
6565
/// <summary>
6666
///
6767
/// </summary>
68-
RejectUndercharge = 8,
68+
NoAccrualRejectUndercharge = 8,
6969

7070
/// <summary>
7171
///
@@ -75,22 +75,22 @@ public enum APStatus
7575
/// <summary>
7676
///
7777
/// </summary>
78-
ShortPayAvalaraCalculated = 10,
78+
NoAccrualShortPayAvalaraCalculated = 10,
7979

8080
/// <summary>
8181
///
8282
/// </summary>
83-
ShortPayItemsAccrueOvercharge = 11,
83+
AccruedShortPayItemsOvercharge = 11,
8484

8585
/// <summary>
8686
///
8787
/// </summary>
88-
MarkForReviewOvercharge = 12,
88+
NeedReviewOvercharge = 12,
8989

9090
/// <summary>
9191
///
9292
/// </summary>
93-
RejectOvercharge = 13,
93+
NoAccrualRejectOvercharge = 13,
9494

9595
/// <summary>
9696
///
@@ -142,5 +142,65 @@ public enum APStatus
142142
/// </summary>
143143
PendingAccrualUndercharge = 23,
144144

145+
/// <summary>
146+
///
147+
/// </summary>
148+
PendingShortPayItemsUndercharge = 24,
149+
150+
/// <summary>
151+
///
152+
/// </summary>
153+
PendingShortPayItemsMatch = 25,
154+
155+
/// <summary>
156+
///
157+
/// </summary>
158+
PendingShortPayItemsOvercharge = 26,
159+
160+
/// <summary>
161+
///
162+
/// </summary>
163+
ShortPayItemsAccrueMatch = -1,
164+
165+
/// <summary>
166+
///
167+
/// </summary>
168+
MarkForReviewMatch = -1,
169+
170+
/// <summary>
171+
///
172+
/// </summary>
173+
RejectMatch = -1,
174+
175+
/// <summary>
176+
///
177+
/// </summary>
178+
ShortPayItemsAccrueUndercharge = -1,
179+
180+
/// <summary>
181+
///
182+
/// </summary>
183+
RejectUndercharge = -1,
184+
185+
/// <summary>
186+
///
187+
/// </summary>
188+
ShortPayAvalaraCalculated = -1,
189+
190+
/// <summary>
191+
///
192+
/// </summary>
193+
ShortPayItemsAccrueOvercharge = -1,
194+
195+
/// <summary>
196+
///
197+
/// </summary>
198+
MarkForReviewOvercharge = -1,
199+
200+
/// <summary>
201+
///
202+
/// </summary>
203+
RejectOvercharge = -1,
204+
145205
}
146206
}

src/enums/ErrorCodeId.cs

+10
Original file line numberDiff line numberDiff line change
@@ -1882,6 +1882,16 @@ public enum ErrorCodeId
18821882
/// </summary>
18831883
InvalidTaxCodeIdInRecommendationStatusUpdate = 2815,
18841884

1885+
/// <summary>
1886+
/// ECM communication certificates error
1887+
/// </summary>
1888+
CommunicationCertificatesError = 2816,
1889+
1890+
/// <summary>
1891+
/// Invalid currency and aggrement type combination
1892+
/// </summary>
1893+
InvalidCurrencyAggrementType = 2817,
1894+
18851895
/// <summary>
18861896
/// Occurs when a Header value is incorrect or invalid in some way
18871897
/// </summary>

src/models/ActiveCertificateModel.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,32 @@
1818
namespace Avalara.AvaTax.RestClient
1919
{
2020
/// <summary>
21-
/// Certificate with exemption reason and exposure zone. Exposed in url $includes
21+
/// Certificate with exemption reason and exposure zone. This is exposed in the URL's `$includes`.
2222
/// </summary>
2323
public class ActiveCertificateModel
2424
{
2525
/// <summary>
26-
/// Certificate ID.
26+
/// The unique ID number of this certificate.
2727
/// </summary>
2828
public Int64? id { get; set; }
2929

3030
/// <summary>
31-
/// Created date time
31+
/// The date/time when this certificate was created.
3232
/// </summary>
3333
public DateTime? created { get; set; }
3434

3535
/// <summary>
36-
/// Modified date time
36+
/// The date/time when this certificate was last modified.
3737
/// </summary>
3838
public DateTime? modified { get; set; }
3939

4040
/// <summary>
41-
/// Certificate's expected tax number
41+
/// The expected tax number for this certificate.
4242
/// </summary>
4343
public String expectedTaxNumber { get; set; }
4444

4545
/// <summary>
46-
/// Certificate's actual tax number
46+
/// The actual tax number for this certificate.
4747
/// </summary>
4848
public String actualTaxNumber { get; set; }
4949

src/models/CertificateInvalidReasonModel.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,27 @@
1818
namespace Avalara.AvaTax.RestClient
1919
{
2020
/// <summary>
21-
/// Invalid reason for the certificate
21+
/// The reason the certificate is invalid.
2222
/// </summary>
2323
public class CertificateInvalidReasonModel
2424
{
2525
/// <summary>
26-
///
26+
/// The unique ID of this invalid reason.
2727
/// </summary>
2828
public Int32? id { get; set; }
2929

3030
/// <summary>
31-
///
31+
/// The name of this certificate invalid reason.
3232
/// </summary>
3333
public String name { get; set; }
3434

3535
/// <summary>
36-
///
36+
/// A description of the certificate invalid reason.
3737
/// </summary>
3838
public String description { get; set; }
3939

4040
/// <summary>
41-
///
41+
/// This value is `true` if the invalid reason is a system code.
4242
/// </summary>
4343
public Boolean? systemCode { get; set; }
4444

src/models/CertificateLogModel.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,32 @@
1818
namespace Avalara.AvaTax.RestClient
1919
{
2020
/// <summary>
21-
/// certificate log for a customer. Exposed in url $includes
21+
/// The certificate log for a customer. This is exposed in the URL's `$includes`.
2222
/// </summary>
2323
public class CertificateLogModel
2424
{
2525
/// <summary>
26-
/// Log ID
26+
/// The unique ID number of this log entry.
2727
/// </summary>
2828
public Int64? id { get; set; }
2929

3030
/// <summary>
31-
/// Certificate ID
31+
/// The unique ID number of this certificate.
3232
/// </summary>
3333
public Int64? certificateId { get; set; }
3434

3535
/// <summary>
36-
/// Account name
36+
/// The name of this account.
3737
/// </summary>
3838
public String account { get; set; }
3939

4040
/// <summary>
41-
/// Log description
41+
/// The log entry description.
4242
/// </summary>
4343
public String entry { get; set; }
4444

4545
/// <summary>
46-
/// Date of creation for log entry
46+
/// The date/time when this certificate log was created.
4747
/// </summary>
4848
public DateTime? created { get; set; }
4949

src/models/CertificateModel.cs

+9-9
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ namespace Avalara.AvaTax.RestClient
2626
public class CertificateModel
2727
{
2828
/// <summary>
29-
/// Unique ID number of this certificate.
29+
/// The unique ID number of this certificate.
3030
/// </summary>
3131
public Int32? id { get; set; }
3232

@@ -105,12 +105,12 @@ public class CertificateModel
105105
public ExemptionReasonModel exemptionReason { get; set; }
106106

107107
/// <summary>
108-
/// The status of the certificate
108+
/// The status of the certificate.
109109
/// </summary>
110110
public String status { get; set; }
111111

112112
/// <summary>
113-
/// The status of the certificate as displayed on https://exemptions.avalara.com. Can take values
113+
/// The status of the certificate as displayed on https://exemptions.avalara.com. The values in `CertificateEcmStatus` include all the possible status values.
114114
/// </summary>
115115
public CertificateEcmStatus? ecmStatus { get; set; }
116116

@@ -135,7 +135,7 @@ public class CertificateModel
135135
public String businessNumberType { get; set; }
136136

137137
/// <summary>
138-
/// Number of pages contained within this certificate.
138+
/// The number of pages contained within this certificate.
139139
/// </summary>
140140
public Int32? pageCount { get; set; }
141141

@@ -167,35 +167,35 @@ public class CertificateModel
167167
public List<CertificateAttributeModel> attributes { get; set; }
168168

169169
/// <summary>
170-
/// A list of certificate update histories for this certificate.
170+
/// A list of update histories for this certificate.
171171
///
172172
/// You can fetch this data by specifying `$include=histories` when calling a certificate fetch API.
173173
/// </summary>
174174
public List<HistoryModel> histories { get; set; }
175175

176176
/// <summary>
177-
/// A list of certificate update histories for this certificate.
177+
/// A list of jobs for this certificate.
178178
///
179179
/// You can fetch this data by specifying `$include=jobs` when calling a certificate fetch API.
180180
/// </summary>
181181
public List<CustomerJobModel> jobs { get; set; }
182182

183183
/// <summary>
184-
/// A list of certificate logs for this certificate.
184+
/// A list of logs for this certificate.
185185
///
186186
/// You can fetch this data by specifying `$include=logs` when calling a certificate fetch API.
187187
/// </summary>
188188
public List<CertificateLogModel> logs { get; set; }
189189

190190
/// <summary>
191-
/// A list of invalid reasons if the certificate status is not valid
191+
/// For a certificate with an invalid status, this lists the reasons why the certificate is invalid.
192192
///
193193
/// You can fetch this data by specifying `$include=invalid_reasons` when calling a certificate fetch API.
194194
/// </summary>
195195
public List<CertificateInvalidReasonModel> invalidReasons { get; set; }
196196

197197
/// <summary>
198-
/// A list of custom defined fields for this certificate
198+
/// A list of custom defined fields for this certificate.
199199
///
200200
/// You can fetch this data by specifying `$include=custom_fields` when calling a certificate fetch API.
201201
/// </summary>

0 commit comments

Comments
 (0)