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.4.2 #240

Merged
merged 1 commit into from
Apr 23, 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.2.0")]
[assembly: AssemblyFileVersion("24.2.0")]
[assembly: AssemblyVersion("24.4.2")]
[assembly: AssemblyFileVersion("24.4.2")]
255 changes: 28 additions & 227 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.2.0</version>
<version>24.4.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
171 changes: 26 additions & 145 deletions src/IAvaTaxClient.cs

Large diffs are not rendered by default.

126 changes: 126 additions & 0 deletions src/enums/APStatus.cs
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// /// 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.
/// </summary>
public enum APStatus
{
/// <summary>
///
/// </summary>
PayAsBilledMatch = 0,

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

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

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

/// <summary>
///
/// </summary>
PayAsBilledNoAccrual = 4,

/// <summary>
///
/// </summary>
PayAsBilledAccrueUndercharge = 5,

/// <summary>
///
/// </summary>
ShortPayItemsAccrueUndercharge = 6,

/// <summary>
///
/// </summary>
MarkForReviewUndercharge = 7,

/// <summary>
///
/// </summary>
RejectUndercharge = 8,

/// <summary>
///
/// </summary>
PayAsBilledOvercharge = 9,

/// <summary>
///
/// </summary>
ShortPayAvalaraCalculated = 10,

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

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

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

/// <summary>
///
/// </summary>
AmountThresholdNotMet = 14,

/// <summary>
///
/// </summary>
CostCenterExempted = 15,

/// <summary>
///
/// </summary>
ItemExempted = 16,

/// <summary>
///
/// </summary>
TrustedVendor = 17,

/// <summary>
///
/// </summary>
AccruedByVendor = 18,

/// <summary>
///
/// </summary>
Ignored = 19,

}
}
34 changes: 34 additions & 0 deletions src/enums/ApConfigToleranceType.cs
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// AP Config Tolerance Type
/// </summary>
public enum ApConfigToleranceType
{
/// <summary>
/// RealTime
/// </summary>
RealTime = 0,

/// <summary>
/// Batch
/// </summary>
Batch = 1,

}
}
74 changes: 74 additions & 0 deletions src/enums/BulkImportStatus.cs
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
///
/// </summary>
public enum BulkImportStatus
{
/// <summary>
///
/// </summary>
None = 0,

/// <summary>
///
/// </summary>
Success = 1,

/// <summary>
///
/// </summary>
Created = 2,

/// <summary>
///
/// </summary>
Updated = 4,

/// <summary>
///
/// </summary>
NotImported = 8,

/// <summary>
///
/// </summary>
Ignored = 16,

/// <summary>
///
/// </summary>
Error = 32,

/// <summary>
///
/// </summary>
ValidationFailed = 64,

/// <summary>
///
/// </summary>
PartialSuccess = 128,

/// <summary>
///
/// </summary>
Invalid = 256,

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

/// <summary>
///
/// </summary>
ItemDualWriteParameterValueMismatchError = 1740,

/// <summary>
/// SendSales API errors
/// </summary>
Expand Down Expand Up @@ -1721,6 +1726,11 @@ public enum ErrorCodeId
/// </summary>
CannotCreateNestedObjects = 2402,

/// <summary>
///
/// </summary>
InvalidUsername = 2403,

/// <summary>
/// User's SubjectId not updated by DB query
/// </summary>
Expand Down
69 changes: 65 additions & 4 deletions src/models/APConfigSettingRequestModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,83 @@ public class APConfigSettingRequestModel
/// <summary>
/// The Amount
/// </summary>
public Int64? amount { get; set; }
public Decimal? amount { get; set; }

/// <summary>
/// The Variance For Ignore
/// </summary>
public Int64? varianceForIgnore { get; set; }
public Decimal? varianceForIgnore { get; set; }

/// <summary>
/// The Variance For Accrue
/// </summary>
public Int64? varianceForAccrue { get; set; }
public Decimal? varianceForAccrue { get; set; }

/// <summary>
/// The Variance Percent
/// </summary>
public Int64? variancePercent { get; set; }
public Decimal? variancePercent { get; set; }

/// <summary>
/// The Ap Config Tolerance Type
/// BATCH or REALTIME
/// </summary>
public ApConfigToleranceType? apConfigToleranceType { get; set; }

/// <summary>
/// Pay Billed Do Not Accrue
/// </summary>
public Decimal? payAsBilledNoAccrual { get; set; }

/// <summary>
/// Pay Billed Accrue
/// </summary>
public Decimal? payAsBilledAccrueUndercharge { get; set; }

/// <summary>
/// ShortPay Items UnderCharge
/// </summary>
public Decimal? shortPayItemsAccrueUndercharge { get; set; }

/// <summary>
/// Review UnderCharge
/// </summary>
public Decimal? markForReviewUndercharge { get; set; }

/// <summary>
/// Reject UnderCharge
/// </summary>
public Decimal? rejectUndercharge { get; set; }

/// <summary>
/// Pay As BilledOvercharge
/// </summary>
public Decimal? payAsBilledOvercharge { get; set; }

/// <summary>
/// Short Pay Avalara CalculatedTax
/// </summary>
public Decimal? shortPayAvalaraCalculated { get; set; }

/// <summary>
/// Short Pay Items
/// </summary>
public Decimal? shortPayItemsAccrueOvercharge { get; set; }

/// <summary>
/// Review OverCharge
/// </summary>
public Decimal? markForReviewOvercharge { get; set; }

/// <summary>
/// Reject OverCharge
/// </summary>
public Decimal? rejectOvercharge { get; set; }

/// <summary>
/// Is Active
/// </summary>
public Boolean? isActive { get; set; }


/// <summary>
Expand Down
Loading
Loading