---
schema_version: "1"
id: 4badaebe9a071658f8a6d31abeaa8e9fbe1367cae13511b3825fb4fdb985bbc2
title: ConnectApi.TaxTransactionRequest
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_input_tax_transaction.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_tax_transaction.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5f2a533893982f3093f3e1c7603509dff49f1824062bbe0f6e3e53b05b42e164
description: Information about the tax transaction sent to the tax adapter as part of a tax calculation request.
---
# ConnectApi.TaxTransactionRequest

Information about the tax transaction sent to the tax adapter as part of a tax calculation request.

This class is abstract.

Superclass of [ConnectApi.CalculateTaxRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_calculate_tax.htm "Request to sent through the tax adapter to the external tax engine. Inputs with a TaxTransactionType of Debit represent a tax calculation request. Inputs with a TaxTransactionType of Credit represent a tax cancellation request.").

| Property | Type | Description | Required or Optional | Available Version |
| --- | --- | --- | --- | --- |
| addresses | [ConnectApi.​TaxAddresses​Request](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_addresses.htm "Addresses, including the Bill To address, Ship From address, Ship to address, and Sold To address.") | Addresses, including the Bill To address, Ship From address, Ship to address, and Sold To address. | Optional | 55.0 |
| currencyIsoCode | String | Three-letter ISO 4217 currency code associated with the payment group record. | Optional | 55.0 |
| customerDetails | [ConnectApi.​TaxCustomer​DetailsRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_customer_details.htm "Customer details for the tax calculation.") | Customer details for the tax calculation. | Optional | 55.0 |
| description | String | Information about whether the tax transaction failed or was successful. | Optional | 55.0 |
| documentCode | String | Document code. | Optional | 55.0 |
| effectiveDate | Datetime | The date that tax is applied to the taxed entity. | Required | 55.0 |
| lineItems | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​TaxLine​ItemRequest](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_input_line_item.htm "A list of line items passed to the tax engine for tax calculation.")\> | The line items on which tax was calculated. | Required | 55.0 |
| referenceDocumentCode | String | The original document code. Used in case of subsequent transactions such as credit tax. | Optional | 55.0 |
| referenceEntityId | String | ID of the reference entity used during tax calculation. | Optional | 55.0 |
| transactionDate | Datetime | The date that the tax transaction occurred. | Optional | 53.0 |