---
schema_version: "1"
id: 24ea56c20bcb20f100075f0919521645bcaeef3b3c60641cfcf6dfdc3b4a0ad1
title: TaxTransactionType Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_commercetax_TaxTransactionType.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_commercetax_TaxTransactionType.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: ba81a688d653a5562d6ad7150e4da724ac0fda7134c80c4fd9cfaa33ad22b875
description: Shows whether the tax transaction is for a credit or debit transaction.
---
# TaxTransactionType Enum

Shows whether the tax transaction is for a credit or debit transaction.

## Usage

Used by the [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.") and [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.") class methods.

## Enum Values

The commercetax.TaxTransactionType enum includes these values.

| Value | Description |
| --- | --- |
| Credit | Represents a credit transaction. |
| Debit | Represents a debit transaction. |
| Void | Specifies that the tax engine has voided the document that's mentioned in the referenceDocumentCode property value. |