> 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`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # ListTaxCalculators # Package: tax # Namespace: TaxCalculation # Method link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/tax-calculation/list-tax-calculators.md ## Permission Scopes: Manage Stores: SCOPE.STORES.MANAGE-STORES ## Introduction Retrieves a list of installed tax calculators. Wix uses these calculators to calculate tax. --- ## REST API ### Schema ``` Method: listTaxCalculators Description: Retrieves a list of installed tax calculators. Wix uses these calculators to calculate tax. URL: https://www.wixapis.com/billing/v1/list-tax-calculators Method: GET Return type: ListTaxCalculatorsResponse - name: taxCalculatorDetails | type: array | description: Retrieved tax calculators. - name: appId | type: string | description: GUID of the tax calculator. - name: displayName | type: string | description: Display name of the tax calculator. - name: unsupportedCountries | type: array | description: List of countries, in [ISO-3166 alpha-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format, that the calculator does not support. ``` ### Examples ### List Tax Calculators List all tax calculators installed and their details ```curl curl --location 'https://www.wixapis.com/billing/v1/list-tax-calculators' \ --header 'accept: application/json, text/plain, */*' \ --header 'accept-language: en-US,en;q=0.9' \ --header 'authorization: ' \ --header 'content-type: application/json' \ ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.tax.TaxCalculation.listTaxCalculators() Description: Retrieves a list of installed tax calculators. Wix uses these calculators to calculate tax. Return type: PROMISE - name: taxCalculatorDetails | type: array | description: Retrieved tax calculators. - name: appId | type: string | description: GUID of the tax calculator. - name: displayName | type: string | description: Display name of the tax calculator. - name: unsupportedCountries | type: array | description: List of countries, in [ISO-3166 alpha-1](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format, that the calculator does not support. ``` ### Examples ### listTaxCalculators ```javascript import { taxCalculation } from '@wix/ecom'; async function listTaxCalculators() { const response = await taxCalculation.listTaxCalculators(); }; ``` ### listTaxCalculators (with elevated permissions) ```javascript import { taxCalculation } from '@wix/ecom'; import { auth } from '@wix/essentials'; async function myListTaxCalculatorsMethod() { const elevatedListTaxCalculators = auth.elevate(taxCalculation.listTaxCalculators); const response = await elevatedListTaxCalculators(); } ``` ### listTaxCalculators (self-hosted) Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md). ```javascript import { createClient } from '@wix/sdk'; import { taxCalculation } from '@wix/ecom'; // Import the auth strategy for the relevant access type // Import the relevant host module if needed const myWixClient = createClient ({ modules: { taxCalculation }, // Include the auth strategy and host as relevant }); async function listTaxCalculators() { const response = await myWixClient.taxCalculation.listTaxCalculators(); }; ``` ---