> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: TaxCalculation



## Article: Introduction

## Article Link: https://dev.wix.com/docs/velo/apis/wix-billing-v2/tax-calculation/introduction.md

## Article Content:

---
title: Introduction
---

# Introduction

The Tax Calculation API allows you to retrieve the available tax calculators for a site and to calculate tax. Use the Tax Calculations API together with the
[Tax Groups API](https://dev.wix.com/docs/velo/api-reference/wix-billing-v2/tax-groups.md) and the
[Tax Regions API](https://dev.wix.com/docs/velo/api-reference/wix-billing-v2/tax-regions.md) to customize the application of tax for your business.

## Before you begin
It's important to note the following before starting to code:
+ Tax is calculated based on the [tax region](https://dev.wix.com/docs/velo/api-reference/wix-billing-v2/tax-regions.md) and a tax region requires an `appId` for an available tax calculator. Use [`listTaxCalculators()`](https://dev.wix.com/docs/velo/api-reference/wix-billing-v2/tax-calculation/list-tax-calculators.md) to retrieve a list of available tax calculators for a site, then create and manage your [tax regions](https://dev.wix.com/docs/velo/api-reference/wix-billing-v2/tax-regions.md) before [calculating tax](https://dev.wix.com/docs/velo/api-reference/wix-billing-v2/tax-calculation/calculate-tax.md).
+ You can provide additional tax calculations with the [Tax Calculation service plugin](https://dev.wix.com/docs/velo/api-reference/wix-billing-v2/service-plugins-spis/billing-tax-calculation/introduction.md).

To use the Tax Calculation API, import `{ taxCalculation }` from the `wix-billing.v2` module:
``` javascript
import { taxCalculation } from 'wix-billing.v2';
```

## Terminology
- **Tax calculator**: An app that is used under the hood to calculate tax for a Wix site. The app calculates tax based on the tax group of the product and the tax region of the sale. A site assigns each tax region to the Wix manual tax calculator or an external calculator app to properly calculate tax.
- **Wix manual tax calculator**: The default tax calculator installed with a Wix site. The tax rates to apply for this calculator can be manually adjusted in the [Tax Settings in the Wix dashboard](https://www.wix.com/my-account/site-selector/?buttonText=Select%20Site&title=Select%20a%20Site&autoSelectOnSingleSite=true&actionUrl=https:%2F%2Fwww.wix.com%2Fdashboard%2F%7B%7BmetaSiteId%7D%7D%2Fecom-platform/tax/).


