Class TaxSubtotalListBuilder

Namespace
EInvoice.Core.Builder
Assembly
EInvoice.Core.dll

Fluent builder for accumulating a list of TaxSubtotal entries within a tax total.

public sealed class TaxSubtotalListBuilder
Inheritance
TaxSubtotalListBuilder
Inherited Members

Methods

Add(decimal, decimal, TaxCategoryCode, decimal?, string?, VatExemptionCode?)

public TaxSubtotalListBuilder Add(decimal taxableAmount, decimal taxAmount, TaxCategoryCode categoryCode, decimal? percent = null, string? exemptionReason = null, VatExemptionCode? exemptionReasonCode = null)

Parameters

taxableAmount decimal
taxAmount decimal
categoryCode TaxCategoryCode
percent decimal?
exemptionReason string
exemptionReasonCode VatExemptionCode

Returns

TaxSubtotalListBuilder

Add(decimal, decimal, string, decimal?, string?, VatExemptionCode?)

public TaxSubtotalListBuilder Add(decimal taxableAmount, decimal taxAmount, string categoryCode, decimal? percent = null, string? exemptionReason = null, VatExemptionCode? exemptionReasonCode = null)

Parameters

taxableAmount decimal
taxAmount decimal
categoryCode string
percent decimal?
exemptionReason string
exemptionReasonCode VatExemptionCode

Returns

TaxSubtotalListBuilder

Build()

public List<TaxSubtotal> Build()

Returns

List<TaxSubtotal>