Class LineTaxResult
- Namespace
- Integrations.Domain.Tax
- Assembly
- Integrations.Domain.dll
Provider-neutral result for one line.
public sealed record LineTaxResult : IEquatable<LineTaxResult>
- Inheritance
-
LineTaxResult
- Implements
- Inherited Members
Constructors
LineTaxResult(int, decimal, decimal, decimal, IReadOnlyList<TaxLineJurisdiction>)
Provider-neutral result for one line.
public LineTaxResult(int LineNumber, decimal TaxableAmount, decimal ExemptAmount, decimal Tax, IReadOnlyList<TaxLineJurisdiction> Jurisdictions)
Parameters
LineNumberintLine the result belongs to.
TaxableAmountdecimalTaxable part of the line.
ExemptAmountdecimalExempt part of the line.
TaxdecimalTotal tax on the line.
JurisdictionsIReadOnlyList<TaxLineJurisdiction>Tax per jurisdiction.
Properties
ExemptAmount
Exempt part of the line.
public decimal ExemptAmount { get; init; }
Property Value
Jurisdictions
Tax per jurisdiction.
public IReadOnlyList<TaxLineJurisdiction> Jurisdictions { get; init; }
Property Value
LineNumber
Line the result belongs to.
public int LineNumber { get; init; }
Property Value
Tax
Total tax on the line.
public decimal Tax { get; init; }
Property Value
TaxableAmount
Taxable part of the line.
public decimal TaxableAmount { get; init; }