TaxCloud API Base Documentation

Click here for a complete list of operations.

GetLocations

Retrieve your Locations (addresses) saved in TaxCloud.

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

<?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>
    <GetLocations xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
    </GetLocations>
  </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>
    <GetLocationsResponse xmlns="http://taxcloud.net">
      <GetLocationsResult>
        <Locations>
          <Location>
            <LocationID>string</LocationID>
            <Name>string</Name>
            <PrimaryBusinessAddress>boolean</PrimaryBusinessAddress>
            <MailingAddress>boolean</MailingAddress>
            <Created>string</Created>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
            <Zip5>string</Zip5>
            <Zip4>string</Zip4>
            <Country>string</Country>
          </Location>
          <Location>
            <LocationID>string</LocationID>
            <Name>string</Name>
            <PrimaryBusinessAddress>boolean</PrimaryBusinessAddress>
            <MailingAddress>boolean</MailingAddress>
            <Created>string</Created>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
            <Zip5>string</Zip5>
            <Zip4>string</Zip4>
            <Country>string</Country>
          </Location>
        </Locations>
      </GetLocationsResult>
    </GetLocationsResponse>
  </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/ 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>
    <GetLocations xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
    </GetLocations>
  </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>
    <GetLocationsResponse xmlns="http://taxcloud.net">
      <GetLocationsResult>
        <Locations>
          <Location>
            <LocationID>string</LocationID>
            <Name>string</Name>
            <PrimaryBusinessAddress>boolean</PrimaryBusinessAddress>
            <MailingAddress>boolean</MailingAddress>
            <Created>string</Created>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
            <Zip5>string</Zip5>
            <Zip4>string</Zip4>
            <Country>string</Country>
          </Location>
          <Location>
            <LocationID>string</LocationID>
            <Name>string</Name>
            <PrimaryBusinessAddress>boolean</PrimaryBusinessAddress>
            <MailingAddress>boolean</MailingAddress>
            <Created>string</Created>
            <Address1>string</Address1>
            <Address2>string</Address2>
            <City>string</City>
            <State>string</State>
            <Zip5>string</Zip5>
            <Zip4>string</Zip4>
            <Country>string</Country>
          </Location>
        </Locations>
      </GetLocationsResult>
    </GetLocationsResponse>
  </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 /1.0//GetLocations 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"?>
<GetLocationsResp xmlns="http://taxcloud.net">
  <Locations>
    <Location>
      <LocationID>string</LocationID>
      <Name>string</Name>
      <PrimaryBusinessAddress>boolean</PrimaryBusinessAddress>
      <MailingAddress>boolean</MailingAddress>
      <Created>string</Created>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <City>string</City>
      <State>string</State>
      <Zip5>string</Zip5>
      <Zip4>string</Zip4>
      <Country>string</Country>
    </Location>
    <Location>
      <LocationID>string</LocationID>
      <Name>string</Name>
      <PrimaryBusinessAddress>boolean</PrimaryBusinessAddress>
      <MailingAddress>boolean</MailingAddress>
      <Created>string</Created>
      <Address1>string</Address1>
      <Address2>string</Address2>
      <City>string</City>
      <State>string</State>
      <Zip5>string</Zip5>
      <Zip4>string</Zip4>
      <Country>string</Country>
    </Location>
  </Locations>
</GetLocationsResp>

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