---
displayed_sidebar: servicesSidebar
---
import ParameterTypes from "@site/src/components/ParameterTypes"
# ITaxCalculationStrategy
## Methods
### calculate
**calculate**(`items`, `taxLines`, `calculationContext`): `Promise`<`number`\>
Calculates the tax amount for a given set of line items under applicable
tax conditions and calculation contexts.
#### Parameters
#### Returns
`Promise`<`number`\>
",
"optional": false,
"defaultValue": "",
"description": "the tax total",
"expandable": false,
"children": []
}
]} />