Skip to content

Commit

Permalink
23.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-developer committed Oct 27, 2023
1 parent 6885962 commit 8df04df
Show file tree
Hide file tree
Showing 18 changed files with 1,630 additions and 9 deletions.
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("23.8.1")]
[assembly: AssemblyFileVersion("23.8.1")]
[assembly: AssemblyVersion("23.10.1")]
[assembly: AssemblyFileVersion("23.10.1")]
636 changes: 632 additions & 4 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>23.8.1</version>
<version>23.10.1</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
366 changes: 364 additions & 2 deletions src/IAvaTaxClient.cs

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/enums/BatchType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,10 @@ public enum BatchType
/// </summary>
VarianceImport = 14,

/// <summary>
///
/// </summary>
CostCenterImport = 15,

}
}
26 changes: 26 additions & 0 deletions src/enums/DocumentType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,32 @@ public enum DocumentType
/// </summary>
CustomsOrder = 11,

/// <summary>
/// Represents a proposed movement of inventory from one jurisdiction to another.
///
/// This document type is used when physical goods are shipped from one jurisdiction to another, and it
/// may cause updates in the tax liability for various jurisdictions.
///
/// For an inventory transfer invoice, the `companyCode` of the transaction refers to the owner of the inventory
/// that will be moved from one location to another.
///
/// This is a permanent document and is recorded in AvaTax.
/// </summary>
InventoryTransferOutboundInvoice = 12,

/// <summary>
/// Represents a proposed movement of inventory from one jurisdiction to another.
///
/// This document type is used when physical goods are shipped from one jurisdiction to another, and it
/// may cause updates in the tax liability for various jurisdictions.
///
/// For an inventory transfer invoice, the `companyCode` of the transaction refers to the owner of the inventory
/// that will be moved from one location to another.
///
/// This is a temporary document type and is not saved in tax history.
/// </summary>
InventoryTransferOutboundOrder = 13,

/// <summary>
/// Not a real document type.
///
Expand Down
15 changes: 15 additions & 0 deletions src/enums/ErrorCodeId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,11 @@ public enum ErrorCodeId
/// </summary>
DocumentNotCommitted = 313,

/// <summary>
///
/// </summary>
LineFetchLimitExceeded = 314,

/// <summary>
///
/// </summary>
Expand Down Expand Up @@ -1516,6 +1521,11 @@ public enum ErrorCodeId
/// </summary>
NoClassificationForSameHsCode = 1738,

/// <summary>
///
/// </summary>
InvalidValueError = 1739,

/// <summary>
/// SendSales API errors
/// </summary>
Expand Down Expand Up @@ -1837,5 +1847,10 @@ public enum ErrorCodeId
/// </summary>
RegistrationNumberNotFound = 2812,

/// <summary>
///
/// </summary>
InvalidCostCenter = 2813,

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

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// AP Config Setting Request Model
/// </summary>
public class APConfigSettingRequestModel
{
/// <summary>
/// The Amount
/// </summary>
public Int64? amount { get; set; }

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

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

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


/// <summary>
/// Convert this object to a JSON string of itself
/// </summary>
/// <returns>A JSON string of this object</returns>
public override string ToString()
{
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented });
}
}
}
70 changes: 70 additions & 0 deletions src/models/APConfigSettingSuccessResponseModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
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 <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// AP Config Setting Response Model
/// </summary>
public class APConfigSettingSuccessResponseModel
{
/// <summary>
/// The Rule Id
/// </summary>
public Int64? ruleId { get; set; }

/// <summary>
/// CompanyId to which the rule belongs
/// </summary>
public Int32? companyId { get; set; }

/// <summary>
///
/// </summary>
public TaxProfileMetaDataModel meta { get; set; }

/// <summary>
/// The Amount
/// </summary>
public Int64? amount { get; set; }

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

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

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


/// <summary>
/// Convert this object to a JSON string of itself
/// </summary>
/// <returns>A JSON string of this object</returns>
public override string ToString()
{
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented });
}
}
}
40 changes: 40 additions & 0 deletions src/models/CostCenterBulkUploadInputModel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
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 <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// Represents a bulk upload input model.
/// </summary>
public class CostCenterBulkUploadInputModel
{
/// <summary>
/// List of costCenters
/// </summary>
public List<CostCenterRequestModel> costCenters { get; set; }


/// <summary>
/// Convert this object to a JSON string of itself
/// </summary>
/// <returns>A JSON string of this object</returns>
public override string ToString()
{
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented });
}
}
}
45 changes: 45 additions & 0 deletions src/models/CostCenterBulkUploadOutputModel.cs
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// Represents a bulk upload response model.
/// </summary>
public class CostCenterBulkUploadOutputModel
{
/// <summary>
/// Count of processed objects
/// </summary>
public Int32? total { get; set; }

/// <summary>
/// Dictionary of object and respective list of errors
/// </summary>
public List<CostCenterUploadErrorModel> failed { get; set; }


/// <summary>
/// Convert this object to a JSON string of itself
/// </summary>
/// <returns>A JSON string of this object</returns>
public override string ToString()
{
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented });
}
}
}
60 changes: 60 additions & 0 deletions src/models/CostCenterRequestModel.cs
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* @author Sachin Baijal <[email protected]>
* Swagger name: AvaTaxClient
*/

namespace Avalara.AvaTax.RestClient
{
/// <summary>
/// Cost Center Request Model
/// </summary>
public class CostCenterRequestModel
{
/// <summary>
/// The Entity Use Code
/// </summary>
public String entityUseCode { get; set; }

/// <summary>
/// Effective from Date
/// </summary>
public DateTime? effectiveDate { get; set; }

/// <summary>
/// End Date
/// </summary>
public DateTime? endDate { get; set; }

/// <summary>
///
/// </summary>
public Int64TaxProfileObjectReferenceModel defaultItem { get; set; }

/// <summary>
/// The Cost center Name
/// </summary>
public String costCenterCode { get; set; }


/// <summary>
/// Convert this object to a JSON string of itself
/// </summary>
/// <returns>A JSON string of this object</returns>
public override string ToString()
{
return JsonConvert.SerializeObject(this, new JsonSerializerSettings() { Formatting = Formatting.Indented });
}
}
}
Loading

0 comments on commit 8df04df

Please sign in to comment.