Table of Contents

Class TaxCalculationLine

Namespace
Integrations.Application.Tax
Assembly
Integrations.Application.dll

One line of a provider-neutral calculation request.

public sealed record TaxCalculationLine : IEquatable<TaxCalculationLine>
Inheritance
TaxCalculationLine
Implements
Inherited Members

Constructors

TaxCalculationLine(int, decimal, decimal, string, Address, string?, string?, string?, string?)

One line of a provider-neutral calculation request.

public TaxCalculationLine(int LineNumber, decimal Amount, decimal Quantity, string TaxCode, Address JobSite, string? ItemCode, string? Description, string? Reference1, string? Reference2)

Parameters

LineNumber int

1-based line number.

Amount decimal

Line amount in the document currency.

Quantity decimal

Units.

TaxCode string

Resolved tax code.

JobSite Address

Address the line is taxed at.

ItemCode string

Caller's item code.

Description string

Line description.

Reference1 string

Caller's line reference (PO/WO line).

Reference2 string

Line category (labor, material, ...).

Properties

Amount

Line amount in the document currency.

public decimal Amount { get; init; }

Property Value

decimal

Description

Line description.

public string? Description { get; init; }

Property Value

string

ItemCode

Caller's item code.

public string? ItemCode { get; init; }

Property Value

string

JobSite

Address the line is taxed at.

public Address JobSite { get; init; }

Property Value

Address

LineNumber

1-based line number.

public int LineNumber { get; init; }

Property Value

int

Quantity

Units.

public decimal Quantity { get; init; }

Property Value

decimal

Reference1

Caller's line reference (PO/WO line).

public string? Reference1 { get; init; }

Property Value

string

Reference2

Line category (labor, material, ...).

public string? Reference2 { get; init; }

Property Value

string

TaxCode

Resolved tax code.

public string TaxCode { get; init; }

Property Value

string