---
displayed_sidebar: servicesSidebar
---
import ParameterTypes from "@site/src/components/ParameterTypes"
# ITaxService
Interface to be implemented by tax provider plugins. The interface defines a
single method `getTaxLines` that returns numerical rates to apply to line
items and shipping methods.
## Methods
### getTaxLines
`**getTaxLines**(itemLines, shippingLines, context): Promise<[ProviderTaxLine](../types/ProviderTaxLine.mdx)[]>`
Retrieves the numerical tax lines for a calculation context.
#### Parameters
#### Returns
Promise<[ProviderTaxLine](../types/ProviderTaxLine.mdx)[]>