---
schema_version: "1"
id: 13b60da78e7888491ef607d006a3cac2cd9180447176782c3d517936e4d142f8
title: CalculateTaxType Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_commercetax_CalculateTaxType.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_commercetax_CalculateTaxType.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 59515e8301fd602e7e6c1a2aac6913348cdfd7166c55dcd23e7c257e92587329
description: Shows whether a tax calculation request is for estimated or actual tax.
---
# CalculateTaxType Enum

Shows whether a tax calculation request is for estimated or actual tax.

## Usage

Used by the [CalculateTaxRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercetax_CalculateTaxRequest.htm#apex_class_commercetax_CalculateTaxRequest "Represents a request to an external tax engine to calculate tax. Extends the TaxTransactionRequest class and is the top-level request class.") and [CalculateTaxResponse](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_commercetax_CalculateTaxResponse.htm#apex_class_commercetax_CalculateTaxResponse "Sets the values of the tax transaction following a response from the external tax engine. Extends the AbstractTransactionResponse class and is the top-level response class.") class methods.

## Enum Values

The commercetax.CalculateTaxType enum includes these values.

| Value | Description |
| --- | --- |
| Actual | Specifies that the tax calculation service should calculate the finalized (actual) tax for the requested line items. |
| Estimated | Specifies that the tax calculation service should estimate the tax for the requested line items. |