Skip to main content
Skip to main content

ITaxCalculationStrategy

Methods

calculate

Calculates the tax amount for a given set of line items under applicable tax conditions and calculation contexts.

Parameters

itemsLineItem[]Required
the line items to calculate the tax total for
the tax lines that applies to the calculation
calculationContextTaxCalculationContextRequired
other details relevant for the calculation

Returns

PromisePromise<number>Required
the tax total
Was this section helpful?