Table of Contents

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

LineNumber int

Line the result belongs to.

TaxableAmount decimal

Taxable part of the line.

ExemptAmount decimal

Exempt part of the line.

Tax decimal

Total tax on the line.

Jurisdictions IReadOnlyList<TaxLineJurisdiction>

Tax per jurisdiction.

Properties

ExemptAmount

Exempt part of the line.

public decimal ExemptAmount { get; init; }

Property Value

decimal

Jurisdictions

Tax per jurisdiction.

public IReadOnlyList<TaxLineJurisdiction> Jurisdictions { get; init; }

Property Value

IReadOnlyList<TaxLineJurisdiction>

LineNumber

Line the result belongs to.

public int LineNumber { get; init; }

Property Value

int

Tax

Total tax on the line.

public decimal Tax { get; init; }

Property Value

decimal

TaxableAmount

Taxable part of the line.

public decimal TaxableAmount { get; init; }

Property Value

decimal