xss.Taxes.Client 1.0.0

This package contain the methods CreateTransaction and ValidateAddress for the API of Avalara and Sovos.

There is a newer version of this package available.
See the version list below for details.
Install-Package xss.Taxes.Client -Version 1.0.0
dotnet add package xss.Taxes.Client --version 1.0.0
<PackageReference Include="xss.Taxes.Client" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add xss.Taxes.Client --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: xss.Taxes.Client, 1.0.0"
For F# scripts that support #r syntax, copy this into the source code to reference the package.

Release Notes

using xss.Taxes.Client.Entity;
using xss.Taxes.Client.Factory;
using xss.Taxes.Client.Interface;
using static xss.SettinGlobal.Client.Enums.Enums;

// FOR VALIDATE ADDRESSES

TaxModel objTax = new TaxModel()
{
Order = new TaxOrder()
{
OrderDate = DateTime.Now,
LegacyNumber = 0,
OrderSource = 7,
CreatedBy = 99,
CreatedDate = DateTime.Now
},
ShippingAddress = new TaxAddress()
{
Line1 = "116 W. Indiana Ave.",
Line2 = "",
Line3 = "",
City = "St. Joseph",
State = "MO",
Country = "United State",
CountryCode = "US",
Zip = "64504"
}
};

ITaxFactory methods = TaxFactory.Instance.GetMethods((Byte)EnumSettingSubCategorie.Avalara);
TaxTransactionDetail objResponse = methods.ValidateAddress(objTax);
if (!objResponse.Success)
{
//Show error
String error = objResponse.Message;
}

// FOR CREATE A TRANSACTION

TaxModel objTax = new TaxModel()
{
Process = false,
Order = new TaxOrder()
{
OrderDate = DateTime.Now,
LegacyNumber = 100,
OrderSource = 7,
CreatedBy = 99,
CreatedDate = DateTime.Now
},
CompanyCode = "ASEA",
Email = "arios@xirectss.com",
CurrencyCode = "USD",
DistributorLegacyNumber = 200,
LocationCode = "08",
EntityUseCode = "",
ExemptionNo = "",
LstProducts = new List<TaxProduct>() {
new TaxProduct()
{
SkuId = "Product SkuId - 1",
Name = "Product Name - 1",
Quantity = 1,
Price = 10,
TaxCode = ""
}
},
WarehouseAddress = new TaxAddress()
{
Line1 = "6550 Millrock Drive",
Line2 = "Suite 100",
Line3 = "",
City = "Salt Lake City",
State = "UT",
Country = "United State",
CountryCode = "US",
Zip = "84121"
},
ShippingAddress = new TaxAddress()
{
Line1 = "116 W. Indiana Ave.",
Line2 = "",
Line3 = "",
City = "St. Joseph",
State = "MO",
Country = "United State",
CountryCode = "US",
Zip = "64504"
}
};

ITaxFactory methods = TaxFactory.Instance.GetMethods((Byte)EnumSettingSubCategorie.Avalara);
TaxTransactionDetail objResponse = methods.CreateTransaction(objTax);
if (!objResponse.Success)
{
//Show error
String error = objResponse.Message;
}

NuGet packages (39)

Showing the top 5 NuGet packages that depend on xss.Taxes.Client:

Package Downloads
xss.EmailTemplateBackEnd
Generation new version with changes in updated nugets
xss.OrdersBackEnd
This package contains classes and methods related to orders.
xss.Address.Client
This package manages the addresses for xCore.
xss.ShoppingCart
Use the seeting global net core nuget >= 1.0.0
xss.AutoshipBackend
Package Description

Version History

Version Downloads Last updated
6.0.6 50 9/26/2022
6.0.5 25 9/12/2022
6.0.4 136 11/11/2021
6.0.3 1 11/11/2021
6.0.2.3 63 1/27/2022
6.0.2.2 1 1/26/2022
6.0.2.1 1 1/26/2022
6.0.2 21 11/10/2021
6.0.1 1 11/10/2021
6.0.0 6 11/5/2021
5.0.2 26 10/19/2021
5.0.1 54 8/19/2021
5.0.0 100 7/15/2021
4.0.10 162 12/18/2020
4.0.9 46 12/9/2020
4.0.8 3 12/7/2020
4.0.7 1 12/7/2020
4.0.6 1 12/7/2020
4.0.5 13 12/4/2020
4.0.4 2 12/4/2020
4.0.3 1 12/2/2020
4.0.2 1 12/1/2020
4.0.1 45 11/4/2020
4.0.0 149 10/29/2020
3.0.0 38 10/13/2020
2.0.0.3 83 5/19/2020
2.0.0.2 1 5/18/2020
2.0.0.1 23 5/12/2020
2.0.0 15 5/7/2020
1.0.12 16 4/30/2020
1.0.11 3 4/28/2020
1.0.10 24 4/15/2020
1.0.9.6 42 4/14/2020
1.0.9.5 31 4/13/2020
1.0.9.3 35 4/3/2020
1.0.9.2 8 4/2/2020
1.0.9.1 60 2/17/2020
1.0.9 6 2/7/2020
1.0.8.9 22 2/6/2020
1.0.8.8 0 2/4/2020
1.0.8.7 29 2/3/2020
1.0.8.6 39 1/28/2020
1.0.8.5 35 1/22/2020
1.0.8.4 35 1/15/2020
1.0.8.3 4 1/14/2020
1.0.8.2 1 1/14/2020
1.0.8.1 14 1/13/2020
1.0.8 7 12/31/2019
1.0.7.9 18 12/30/2019
1.0.7.8 13 12/20/2019
1.0.7.7 1 12/13/2019
1.0.7.6 32 12/9/2019
1.0.7.5 32 12/5/2019
1.0.7.4 0 12/5/2019
1.0.7.3 14 11/27/2019
1.0.7.2 0 11/27/2019
1.0.7.1 0 11/21/2019
1.0.7 10 10/18/2019
1.0.6.8 16 9/11/2019
1.0.6.7 1 9/11/2019
1.0.6.6 36 8/8/2019
1.0.6.5 23 8/5/2019
1.0.6.4 0 8/5/2019
1.0.6.3 7 6/25/2019
1.0.6.2 1 5/29/2019
1.0.6.2-sovos1 0 7/31/2019
1.0.6.2-sovos 0 7/30/2019
1.0.6.1 0 5/22/2019
1.0.6 0 5/21/2019
1.0.5 0 3/15/2019
1.0.4 1 3/8/2019
1.0.3 0 3/8/2019
1.0.2 2 3/4/2019
1.0.1 0 2/28/2019
1.0.0 0 2/27/2019
Show less