Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for 24.8.2 #250

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@
// Revision
//

[assembly: AssemblyVersion("24.8.0")]
[assembly: AssemblyFileVersion("24.8.0")]
[assembly: AssemblyVersion("24.8.2")]
[assembly: AssemblyFileVersion("24.8.2")]
246 changes: 220 additions & 26 deletions src/AvaTaxApi.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Avalara.AvaTax.RestClient.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Avalara.AvaTax</id>

<version>24.8.0</version>
<version>24.8.2</version>

<title>Avalara AvaTax SDK</title>
<description>Add world-class tax estimation and calculation to your project with Avalara's AvaTax suite of APIs and services.</description>
Expand Down
204 changes: 180 additions & 24 deletions src/IAvaTaxClient.cs

Large diffs are not rendered by default.

78 changes: 69 additions & 9 deletions src/enums/APStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ public enum APStatus
/// <summary>
///
/// </summary>
ShortPayItemsAccrueMatch = 1,
AccruedShortPayItemsMatch = 1,

/// <summary>
///
/// </summary>
MarkForReviewMatch = 2,
NeedReviewMatch = 2,

/// <summary>
///
/// </summary>
RejectMatch = 3,
NoAccrualRejectMatch = 3,

/// <summary>
///
Expand All @@ -55,7 +55,7 @@ public enum APStatus
/// <summary>
///
/// </summary>
ShortPayItemsAccrueUndercharge = 6,
AccruedShortPayItemsUndercharge = 6,

/// <summary>
///
Expand All @@ -65,7 +65,7 @@ public enum APStatus
/// <summary>
///
/// </summary>
RejectUndercharge = 8,
NoAccrualRejectUndercharge = 8,

/// <summary>
///
Expand All @@ -75,22 +75,22 @@ public enum APStatus
/// <summary>
///
/// </summary>
ShortPayAvalaraCalculated = 10,
NoAccrualShortPayAvalaraCalculated = 10,

/// <summary>
///
/// </summary>
ShortPayItemsAccrueOvercharge = 11,
AccruedShortPayItemsOvercharge = 11,

/// <summary>
///
/// </summary>
MarkForReviewOvercharge = 12,
NeedReviewOvercharge = 12,

/// <summary>
///
/// </summary>
RejectOvercharge = 13,
NoAccrualRejectOvercharge = 13,

/// <summary>
///
Expand Down Expand Up @@ -142,5 +142,65 @@ public enum APStatus
/// </summary>
PendingAccrualUndercharge = 23,

/// <summary>
///
/// </summary>
PendingShortPayItemsUndercharge = 24,

/// <summary>
///
/// </summary>
PendingShortPayItemsMatch = 25,

/// <summary>
///
/// </summary>
PendingShortPayItemsOvercharge = 26,

/// <summary>
///
/// </summary>
ShortPayItemsAccrueMatch = -1,

/// <summary>
///
/// </summary>
MarkForReviewMatch = -1,

/// <summary>
///
/// </summary>
RejectMatch = -1,

/// <summary>
///
/// </summary>
ShortPayItemsAccrueUndercharge = -1,

/// <summary>
///
/// </summary>
RejectUndercharge = -1,

/// <summary>
///
/// </summary>
ShortPayAvalaraCalculated = -1,

/// <summary>
///
/// </summary>
ShortPayItemsAccrueOvercharge = -1,

/// <summary>
///
/// </summary>
MarkForReviewOvercharge = -1,

/// <summary>
///
/// </summary>
RejectOvercharge = -1,

}
}
10 changes: 10 additions & 0 deletions src/enums/ErrorCodeId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1882,6 +1882,16 @@ public enum ErrorCodeId
/// </summary>
InvalidTaxCodeIdInRecommendationStatusUpdate = 2815,

/// <summary>
/// ECM communication certificates error
/// </summary>
CommunicationCertificatesError = 2816,

/// <summary>
/// Invalid currency and aggrement type combination
/// </summary>
InvalidCurrencyAggrementType = 2817,

/// <summary>
/// Occurs when a Header value is incorrect or invalid in some way
/// </summary>
Expand Down
12 changes: 6 additions & 6 deletions src/models/ActiveCertificateModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@
namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// Certificate with exemption reason and exposure zone. Exposed in url $includes
/// Certificate with exemption reason and exposure zone. This is exposed in the URL's `$includes`.
/// </summary>
public class ActiveCertificateModel
{
/// <summary>
/// Certificate ID.
/// The unique ID number of this certificate.
/// </summary>
public Int64? id { get; set; }

/// <summary>
/// Created date time
/// The date/time when this certificate was created.
/// </summary>
public DateTime? created { get; set; }

/// <summary>
/// Modified date time
/// The date/time when this certificate was last modified.
/// </summary>
public DateTime? modified { get; set; }

/// <summary>
/// Certificate's expected tax number
/// The expected tax number for this certificate.
/// </summary>
public String expectedTaxNumber { get; set; }

/// <summary>
/// Certificate's actual tax number
/// The actual tax number for this certificate.
/// </summary>
public String actualTaxNumber { get; set; }

Expand Down
10 changes: 5 additions & 5 deletions src/models/CertificateInvalidReasonModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,27 @@
namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// Invalid reason for the certificate
/// The reason the certificate is invalid.
/// </summary>
public class CertificateInvalidReasonModel
{
/// <summary>
///
/// The unique ID of this invalid reason.
/// </summary>
public Int32? id { get; set; }

/// <summary>
///
/// The name of this certificate invalid reason.
/// </summary>
public String name { get; set; }

/// <summary>
///
/// A description of the certificate invalid reason.
/// </summary>
public String description { get; set; }

/// <summary>
///
/// This value is `true` if the invalid reason is a system code.
/// </summary>
public Boolean? systemCode { get; set; }

Expand Down
12 changes: 6 additions & 6 deletions src/models/CertificateLogModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,32 +18,32 @@
namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// certificate log for a customer. Exposed in url $includes
/// The certificate log for a customer. This is exposed in the URL's `$includes`.
/// </summary>
public class CertificateLogModel
{
/// <summary>
/// Log ID
/// The unique ID number of this log entry.
/// </summary>
public Int64? id { get; set; }

/// <summary>
/// Certificate ID
/// The unique ID number of this certificate.
/// </summary>
public Int64? certificateId { get; set; }

/// <summary>
/// Account name
/// The name of this account.
/// </summary>
public String account { get; set; }

/// <summary>
/// Log description
/// The log entry description.
/// </summary>
public String entry { get; set; }

/// <summary>
/// Date of creation for log entry
/// The date/time when this certificate log was created.
/// </summary>
public DateTime? created { get; set; }

Expand Down
18 changes: 9 additions & 9 deletions src/models/CertificateModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace Avalara.AvaTax.RestClient
public class CertificateModel
{
/// <summary>
/// Unique ID number of this certificate.
/// The unique ID number of this certificate.
/// </summary>
public Int32? id { get; set; }

Expand Down Expand Up @@ -105,12 +105,12 @@ public class CertificateModel
public ExemptionReasonModel exemptionReason { get; set; }

/// <summary>
/// The status of the certificate
/// The status of the certificate.
/// </summary>
public String status { get; set; }

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

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

/// <summary>
/// Number of pages contained within this certificate.
/// The number of pages contained within this certificate.
/// </summary>
public Int32? pageCount { get; set; }

Expand Down Expand Up @@ -167,35 +167,35 @@ public class CertificateModel
public List<CertificateAttributeModel> attributes { get; set; }

/// <summary>
/// A list of certificate update histories for this certificate.
/// A list of update histories for this certificate.
///
/// You can fetch this data by specifying `$include=histories` when calling a certificate fetch API.
/// </summary>
public List<HistoryModel> histories { get; set; }

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

/// <summary>
/// A list of certificate logs for this certificate.
/// A list of logs for this certificate.
///
/// You can fetch this data by specifying `$include=logs` when calling a certificate fetch API.
/// </summary>
public List<CertificateLogModel> logs { get; set; }

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

/// <summary>
/// A list of custom defined fields for this certificate
/// A list of custom defined fields for this certificate.
///
/// You can fetch this data by specifying `$include=custom_fields` when calling a certificate fetch API.
/// </summary>
Expand Down
Loading
Loading