---
schema_version: "1"
id: 0c536455bdfa4b42d296cbc5dffa85e3ca155bac53e5727827743020835d637e
title: SCAPI Taxation APIs
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/b2c_rn_scapi_tax_apis.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.b2c_rn_scapi_tax_apis.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b9250294debf8f57c6fc94ca634a1a970e220f9e8fb96cc8f8250920c5a8a491
description: The following ScriptAPI methods are available to support SCAPI external Taxation APIs with hooks. Previously, SCAPI hooks and external taxation excluded each other, and SCAPI hooks could only be used if external taxation wasn’t in use. They can now be used together.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# SCAPI Taxation APIs

The following ScriptAPI methods are available to support SCAPI external Taxation APIs with hooks. Previously, SCAPI hooks and external taxation excluded each other, and SCAPI hooks could only be used if external taxation wasn’t in use. They can now be used together.

- `dw.order.LineItemCtnr#isExternallyTaxed`: Returns true if the basket was created with taxMode = external
- `dw.order.TaxMgr#applyExternalTax`: Applies externally set tax rates to the given basket. Only use when d`w.order.LineItemCtnr#isExternallyTaxed` returns true.

#### See Also

- [API Overview](https://developer.salesforce.com/docs/commerce/commerce-api/references/shopper-baskets?meta=updateItemsInBasket)