> 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 # DeleteManualTaxMapping # Package: tax # Namespace: ManualTaxMappingService # Method link: https://dev.wix.com/docs/api-reference/business-solutions/e-commerce/extensions/tax/manual-tax-mappings/delete-manual-tax-mapping.md ## Permission Scopes: Manage Orders: SCOPE.DC-STORES.MANAGE-ORDERS ## Introduction Deletes a manual tax mapping. This permanently removes the custom tax rate mapping. After deletion, no tax will be calculated for the associated tax group and region combination. --- ## REST API ### Schema ``` Method: deleteManualTaxMapping Description: Deletes a manual tax mapping. This permanently removes the custom tax rate mapping. After deletion, no tax will be calculated for the associated tax group and region combination. URL: https://www.wixapis.com/billing/v1/manual-tax-mappings/{manualTaxMappingId} Method: DELETE # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: manualTaxMappingId Method parameters: param name: manualTaxMappingId | type: none | required: true Return type: DeleteManualTaxMappingResponse EMPTY-OBJECT {} ``` ### Examples ### Delete Manual Tax Mapping Deletes tax mapping by its ID ```curl curl -X DELETE \ 'https://www.wixapis.com/billing/v1/manual-tax-mappings/6611fcb8-3eba-452d-8d25-597571cf0153' \ -H 'Content-type: application/json' \ -H 'Authorization: ' \ ``` --- ## JavaScript SDK ### Schema ``` Method: wixClientAdmin.tax.ManualTaxMappingService.deleteManualTaxMapping(manualTaxMappingId) Description: Deletes a manual tax mapping. This permanently removes the custom tax rate mapping. After deletion, no tax will be calculated for the associated tax group and region combination. # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: manualTaxMappingId Method parameters: param name: manualTaxMappingId | type: string | description: Manual tax mapping GUID. | required: true Return type: PROMISE EMPTY-OBJECT {} ``` ### Examples ### deleteManualTaxMapping ```javascript import { manualTaxMappings } from '@wix/billing'; async function deleteManualTaxMapping(manualTaxMappingId) { const response = await manualTaxMappings.deleteManualTaxMapping(manualTaxMappingId); }; ``` ### deleteManualTaxMapping (with elevated permissions) ```javascript import { manualTaxMappings } from '@wix/billing'; import { auth } from '@wix/essentials'; async function myDeleteManualTaxMappingMethod(manualTaxMappingId) { const elevatedDeleteManualTaxMapping = auth.elevate(manualTaxMappings.deleteManualTaxMapping); const response = await elevatedDeleteManualTaxMapping(manualTaxMappingId); } ``` ### deleteManualTaxMapping (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 { manualTaxMappings } from '@wix/billing'; // Import the auth strategy for the relevant access type // Import the relevant host module if needed const myWixClient = createClient ({ modules: { manualTaxMappings }, // Include the auth strategy and host as relevant }); async function deleteManualTaxMapping(manualTaxMappingId) { const response = await myWixClient.manualTaxMappings.deleteManualTaxMapping(manualTaxMappingId); }; ``` ---