Class JurisdictionTaxDto
- Namespace
- Integrations.Contracts.Tax
- Assembly
- Integrations.Contracts.dll
Tax for one line in one jurisdiction (e.g. TX state 6.25%, city 1%, county 0.5%; ON HST 13%).
public sealed record JurisdictionTaxDto : IEquatable<JurisdictionTaxDto>
- Inheritance
-
JurisdictionTaxDto
- Implements
- Inherited Members
Constructors
JurisdictionTaxDto(JurisdictionLevel, string, string?, string, string, string, string, decimal, decimal, decimal, decimal, decimal)
Tax for one line in one jurisdiction (e.g. TX state 6.25%, city 1%, county 0.5%; ON HST 13%).
public JurisdictionTaxDto(JurisdictionLevel Level, string Name, string? Code, string Region, string Country, string TaxType, string TaxName, decimal Rate, decimal TaxableAmount, decimal ExemptAmount, decimal NonTaxableAmount, decimal Tax)
Parameters
LevelJurisdictionLevelCountry, state, county, city or special district.
NamestringJurisdiction name, e.g.
FRANKLIN.CodestringProvider's jurisdiction code, for filing.
RegionstringState/province code.
CountrystringISO 3166-1 alpha-2 country.
TaxTypestringSales, use, GST, HST, PST, QST, ...
TaxNamestringProvider's tax name, e.g.
OH STATE TAX.RatedecimalRate as a fraction (0.0575 = 5.75%).
TaxableAmountdecimalPortion of the line taxed here.
ExemptAmountdecimalPortion exempt because of a certificate or exempt buyer.
NonTaxableAmountdecimalPortion not taxable by law (e.g. labor in Florida).
TaxdecimalTax for this jurisdiction.
Properties
Code
Provider's jurisdiction code, for filing.
public string? Code { get; init; }
Property Value
Country
ISO 3166-1 alpha-2 country.
public string Country { get; init; }
Property Value
ExemptAmount
Portion exempt because of a certificate or exempt buyer.
public decimal ExemptAmount { get; init; }
Property Value
Level
Country, state, county, city or special district.
public JurisdictionLevel Level { get; init; }
Property Value
Name
Jurisdiction name, e.g. FRANKLIN.
public string Name { get; init; }
Property Value
NonTaxableAmount
Portion not taxable by law (e.g. labor in Florida).
public decimal NonTaxableAmount { get; init; }
Property Value
Rate
Rate as a fraction (0.0575 = 5.75%).
public decimal Rate { get; init; }
Property Value
Region
State/province code.
public string Region { get; init; }
Property Value
Tax
Tax for this jurisdiction.
public decimal Tax { get; init; }
Property Value
TaxName
Provider's tax name, e.g. OH STATE TAX.
public string TaxName { get; init; }
Property Value
TaxType
Sales, use, GST, HST, PST, QST, ...
public string TaxType { get; init; }
Property Value
TaxableAmount
Portion of the line taxed here.
public decimal TaxableAmount { get; init; }