TaxCloud API Base Documentation

Click here for a complete list of operations.

MerchantUSStateInformation

Returns a list of states with information about whether this account is collecting tax in that state or not

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 /TaxCloud.asmx HTTP/1.1
Host: api.taxcloud.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://taxcloud.net/MerchantUSStateInformation"

<?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>
    <MerchantUSStateInformation xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
    </MerchantUSStateInformation>
  </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>
    <MerchantUSStateInformationResponse xmlns="http://taxcloud.net">
      <MerchantUSStateInformationResult>
        <StateItems>
          <StateItem>
            <StateAbbr>string</StateAbbr>
            <Collecting>string</Collecting>
          </StateItem>
          <StateItem>
            <StateAbbr>string</StateAbbr>
            <Collecting>string</Collecting>
          </StateItem>
        </StateItems>
      </MerchantUSStateInformationResult>
    </MerchantUSStateInformationResponse>
  </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 /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>
    <MerchantUSStateInformation xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
    </MerchantUSStateInformation>
  </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>
    <MerchantUSStateInformationResponse xmlns="http://taxcloud.net">
      <MerchantUSStateInformationResult>
        <StateItems>
          <StateItem>
            <StateAbbr>string</StateAbbr>
            <Collecting>string</Collecting>
          </StateItem>
          <StateItem>
            <StateAbbr>string</StateAbbr>
            <Collecting>string</Collecting>
          </StateItem>
        </StateItems>
      </MerchantUSStateInformationResult>
    </MerchantUSStateInformationResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

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

POST /TaxCloud.asmx/MerchantUSStateInformation HTTP/1.1
Host: api.taxcloud.net
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apiLoginID=string&apiKey=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<WhereAmICollectingTaxRsp xmlns="http://taxcloud.net">
  <StateItems>
    <StateItem>
      <StateAbbr>string</StateAbbr>
      <Collecting>string</Collecting>
    </StateItem>
    <StateItem>
      <StateAbbr>string</StateAbbr>
      <Collecting>string</Collecting>
    </StateItem>
  </StateItems>
</WhereAmICollectingTaxRsp>

©2009-2024 The Federal Tax Authority, LLC (FedTax)