> 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 # Method name: createTaxRegion(taxRegion: TaxRegion, options: CreateTaxRegionOptions) # Method package: wixBillingV2 # Method menu location: wixBillingV2 --> taxRegions --> createTaxRegion # Method Link: https://dev.wix.com/docs/velo/apis/wix-billing-v2/tax-regions/create-tax-region.md # Method Description: Creates a tax region. Tax regions require a tax calculator `appId`. Use `listTaxCalculators()` in Tax Calculation to retrieve a list of available calculators for a site. Wix uses tax regions to `calculateTax()`. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## createTaxRegion example for dashboard page code ```javascript import { taxRegions } from 'wix-billing.v2'; async function createTaxRegion(taxRegion, options) { try { const result = await taxRegions.createTaxRegion(taxRegion, options); return result; } catch (error) { console.error(error); // Handle the error } } ``` ## createTaxRegion example for exporting from backend code ```javascript import { taxRegions } from 'wix-billing.v2'; import { webMethod, Permissions } from 'wix-web-module'; import { elevate } from 'wix-auth'; const elevatedCreateTaxRegion = elevate(taxRegions.createTaxRegion); export const createTaxRegion = webMethod( Permissions.Anyone, async (taxRegion, options) => { try { const result = await elevatedCreateTaxRegion(taxRegion, options); return result; } catch (error) { console.error(error); // Handle the error } } ); ``` ---