---
schema_version: "1"
id: 6267c2b233ec4850662758cca03758503323b57f21e7387ee24abbe0b7a79c03
title: ConnectApi.CalculateTaxResponse
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_calculate_tax_output.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_calculate_tax_output.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: b9c6b59cb56aa0b2fdade85884eaf3cf0afb99be2f5594502994ca445fbd8764
description: Shows the results of a tax calculation request.
---
# ConnectApi.CalculateTaxResponse

Shows the results of a tax calculation request.

Subclass of [ConnectApi.TaxTransactionResponse](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_tax_transaction_output.htm "Tax transaction output representation").

<table class="featureTable sort_table" summary="">




          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader vertical-align-top " id="d829321e47">Property Name</th>

              <th class="featureTableHeader vertical-align-top " id="d829321e50">Type</th>

              <th class="featureTableHeader vertical-align-top " id="d829321e53">Description</th>

              <th class="featureTableHeader vertical-align-top " id="d829321e56">Available Version</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d829321e47" data-title="Property Name"><samp class="codeph apex_code">adapterError</samp></td>

              <td class="entry" headers="d829321e50" data-title="Type"><samp class="codeph apex_code"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_error_response.htm" title="Base error response.">ConnectApi.​ErrorResponse</a></samp></td>

              <td class="entry" headers="d829321e53" data-title="Description"><span class="ph" id="adapterError"><a name="adapterError"><!-- --></a>Adapter error.</span></td>

              <td class="entry" headers="d829321e56" data-title="Available Version">55.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d829321e47" data-title="Property Name"><samp class="codeph apex_code">status</samp></td>

              <td class="entry" headers="d829321e50" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#TaxTransactionStatusEnum"><samp class="codeph apex_code">ConnectApi.​TaxTransaction​Status</samp></a></td>

              <td class="entry" headers="d829321e53" data-title="Description">Status of a tax transaction.
                Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Committed</samp>—Tax has been committed to the transaction.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">Uncommitted</samp>—Tax hasn’t been committed to the transaction.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d829321e56" data-title="Available Version">55.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d829321e47" data-title="Property Name"><samp class="codeph apex_code">taxEngineLogs</samp></td>

              <td class="entry" headers="d829321e50" data-title="Type">
                <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list" title="Contains methods for the List collection type.">List</a>&lt;<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_tax_engine_log_output.htm" title="Shows the results of the tax calculation request to the tax engine."><samp class="codeph apex_code">ConnectApi.​TaxEngine​LogResponse</samp></a>&gt;
              </td>

              <td class="entry" headers="d829321e53" data-title="Description"><span class="ph" id="taxEngineLogs"><a name="taxEngineLogs"><!-- --></a>Tax engine logs.</span></td>

              <td class="entry" headers="d829321e56" data-title="Available Version">55.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d829321e47" data-title="Property Name"><samp class="codeph apex_code">taxTransactionType</samp></td>

              <td class="entry" headers="d829321e50" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#TaxTransactionTypeEnum"><samp class="codeph apex_code">ConnectApi.​TaxTransaction​Type</samp></a></td>

              <td class="entry" headers="d829321e53" data-title="Description">Type of tax transaction.
                Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Credit</samp>—Transaction is a credit transaction.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">Debit</samp>—Transaction is a debit transaction.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">Void</samp>—Reserved for internal use in case of input. In case of output, this value specifies that the tax engine has voided the document that's mentioned as the <samp class="codeph nolang">referenceDocumentCode</samp> property value.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d829321e56" data-title="Available Version">55.0</td>

            </tr>

            <tr>
              <td class="entry" headers="d829321e47" data-title="Property Name"><samp class="codeph apex_code">taxType</samp></td>

              <td class="entry" headers="d829321e50" data-title="Type"><a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/connectAPI_enums.htm#CalculateTaxTypeEnum"><samp class="codeph apex_code">ConnectApi.​CalculateTax​Type</samp></a></td>

              <td class="entry" headers="d829321e53" data-title="Description">Type of tax calculation.
                Values are:<ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">Actual</samp>—Calculated tax represents the final taxed amount for the transaction.
                  </li>
                  <li class="li">
                    <samp class="codeph nolang">Estimated</samp>—Calculated tax represents only an estimated value before the transaction is finalized.
                  </li>
                </ul>
              </td>

              <td class="entry" headers="d829321e56" data-title="Available Version">55.0</td>

            </tr>

          </tbody>

        </table>