TaxCloud Sales Tax API : LookupForDate
TaxCloud API Base Documentation

Click here for a complete list of operations.

LookupForDate

Perform a Lookup for a specific date.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /1.0/taxcloud.asmx HTTP/1.1
Host: api.taxcloud.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://taxcloud.net/LookupForDate"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <LookupForDate xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <customerID>string</customerID>
      <cartID>string</cartID>
      <cartItems>
        <CartItem>
          <Index>int</Index>
          <ItemID>string</ItemID>
          <TIC>int</TIC>
          <Price>double</Price>
          <Qty>float</Qty>
          <Tax>string</Tax>
        </CartItem>
        <CartItem>
          <Index>int</Index>
          <ItemID>string</ItemID>
          <TIC>int</TIC>
          <Price>double</Price>
          <Qty>float</Qty>
          <Tax>string</Tax>
        </CartItem>
      </cartItems>
      <origin>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <Zip5>string</Zip5>
        <Zip4>string</Zip4>
      </origin>
      <destination>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <Zip5>string</Zip5>
        <Zip4>string</Zip4>
      </destination>
      <useDate>dateTime</useDate>
      <exemptCert>
        <CertificateID>string</CertificateID>
        <Detail>
          <ExemptStates>
            <ExemptState xsi:nil="true" />
            <ExemptState xsi:nil="true" />
          </ExemptStates>
          <SinglePurchase>boolean</SinglePurchase>
          <SinglePurchaseOrderNumber>string</SinglePurchaseOrderNumber>
          <PurchaserFirstName>string</PurchaserFirstName>
          <PurchaserLastName>string</PurchaserLastName>
          <PurchaserTitle>string</PurchaserTitle>
          <PurchaserAddress1>string</PurchaserAddress1>
          <PurchaserAddress2>string</PurchaserAddress2>
          <PurchaserCity>string</PurchaserCity>
          <PurchaserState>string</PurchaserState>
          <PurchaserZip>string</PurchaserZip>
          <PurchaserTaxID>
            <TaxType>string</TaxType>
            <IDNumber>string</IDNumber>
            <StateOfIssue>string</StateOfIssue>
          </PurchaserTaxID>
          <PurchaserBusinessType>string</PurchaserBusinessType>
          <PurchaserBusinessTypeOtherValue>string</PurchaserBusinessTypeOtherValue>
          <PurchaserExemptionReason>string</PurchaserExemptionReason>
          <PurchaserExemptionReasonValue>string</PurchaserExemptionReasonValue>
          <CreatedDate>dateTime</CreatedDate>
        </Detail>
      </exemptCert>
      <deliveredBySeller>boolean</deliveredBySeller>
    </LookupForDate>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <LookupForDateResponse xmlns="http://taxcloud.net">
      <LookupForDateResult>
        <CartID>string</CartID>
        <CartItemsResponse>
          <CartItemResponse>
            <CartItemIndex>int</CartItemIndex>
            <TaxAmount>float</TaxAmount>
          </CartItemResponse>
          <CartItemResponse>
            <CartItemIndex>int</CartItemIndex>
            <TaxAmount>float</TaxAmount>
          </CartItemResponse>
        </CartItemsResponse>
      </LookupForDateResult>
    </LookupForDateResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /1.0/taxcloud.asmx HTTP/1.1
Host: api.taxcloud.net
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LookupForDate xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <customerID>string</customerID>
      <cartID>string</cartID>
      <cartItems>
        <CartItem>
          <Index>int</Index>
          <ItemID>string</ItemID>
          <TIC>int</TIC>
          <Price>double</Price>
          <Qty>float</Qty>
          <Tax>string</Tax>
        </CartItem>
        <CartItem>
          <Index>int</Index>
          <ItemID>string</ItemID>
          <TIC>int</TIC>
          <Price>double</Price>
          <Qty>float</Qty>
          <Tax>string</Tax>
        </CartItem>
      </cartItems>
      <origin>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <Zip5>string</Zip5>
        <Zip4>string</Zip4>
      </origin>
      <destination>
        <Address1>string</Address1>
        <Address2>string</Address2>
        <City>string</City>
        <State>string</State>
        <Zip5>string</Zip5>
        <Zip4>string</Zip4>
      </destination>
      <useDate>dateTime</useDate>
      <exemptCert>
        <CertificateID>string</CertificateID>
        <Detail>
          <ExemptStates>
            <ExemptState xsi:nil="true" />
            <ExemptState xsi:nil="true" />
          </ExemptStates>
          <SinglePurchase>boolean</SinglePurchase>
          <SinglePurchaseOrderNumber>string</SinglePurchaseOrderNumber>
          <PurchaserFirstName>string</PurchaserFirstName>
          <PurchaserLastName>string</PurchaserLastName>
          <PurchaserTitle>string</PurchaserTitle>
          <PurchaserAddress1>string</PurchaserAddress1>
          <PurchaserAddress2>string</PurchaserAddress2>
          <PurchaserCity>string</PurchaserCity>
          <PurchaserState>string</PurchaserState>
          <PurchaserZip>string</PurchaserZip>
          <PurchaserTaxID>
            <TaxType>string</TaxType>
            <IDNumber>string</IDNumber>
            <StateOfIssue>string</StateOfIssue>
          </PurchaserTaxID>
          <PurchaserBusinessType>string</PurchaserBusinessType>
          <PurchaserBusinessTypeOtherValue>string</PurchaserBusinessTypeOtherValue>
          <PurchaserExemptionReason>string</PurchaserExemptionReason>
          <PurchaserExemptionReasonValue>string</PurchaserExemptionReasonValue>
          <CreatedDate>dateTime</CreatedDate>
        </Detail>
      </exemptCert>
      <deliveredBySeller>boolean</deliveredBySeller>
    </LookupForDate>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <LookupForDateResponse xmlns="http://taxcloud.net">
      <LookupForDateResult>
        <CartID>string</CartID>
        <CartItemsResponse>
          <CartItemResponse>
            <CartItemIndex>int</CartItemIndex>
            <TaxAmount>float</TaxAmount>
          </CartItemResponse>
          <CartItemResponse>
            <CartItemIndex>int</CartItemIndex>
            <TaxAmount>float</TaxAmount>
          </CartItemResponse>
        </CartItemsResponse>
      </LookupForDateResult>
    </LookupForDateResponse>
  </soap12:Body>
</soap12:Envelope>

©2009-2017 The Federal Tax Authority, LLC (FedTax) - 1400.1222.2000.M