TaxCloud API Base Documentation

Click here for a complete list of operations.

AddTransactions

Add a batch of transactions from offline sources.

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/AddTransactions"

<?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>
    <AddTransactions xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <transactions>
        <Transaction>
          <customerID>string</customerID>
          <cartID>string</cartID>
          <orderID>string</orderID>
          <cartItems>
            <TransactionCartItem xsi:nil="true" />
            <TransactionCartItem xsi:nil="true" />
          </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>
          <deliveredBySeller>boolean</deliveredBySeller>
          <exemptCert>
            <CertificateID>string</CertificateID>
            <Detail xsi:nil="true" />
          </exemptCert>
          <dateTransaction>dateTime</dateTransaction>
          <dateAuthorized>dateTime</dateAuthorized>
          <dateCaptured>dateTime</dateCaptured>
        </Transaction>
        <Transaction>
          <customerID>string</customerID>
          <cartID>string</cartID>
          <orderID>string</orderID>
          <cartItems>
            <TransactionCartItem xsi:nil="true" />
            <TransactionCartItem xsi:nil="true" />
          </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>
          <deliveredBySeller>boolean</deliveredBySeller>
          <exemptCert>
            <CertificateID>string</CertificateID>
            <Detail xsi:nil="true" />
          </exemptCert>
          <dateTransaction>dateTime</dateTransaction>
          <dateAuthorized>dateTime</dateAuthorized>
          <dateCaptured>dateTime</dateCaptured>
        </Transaction>
      </transactions>
    </AddTransactions>
  </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>
    <AddTransactionsResponse xmlns="http://taxcloud.net">
      <AddTransactionsResult />
    </AddTransactionsResponse>
  </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>
    <AddTransactions xmlns="http://taxcloud.net">
      <apiLoginID>string</apiLoginID>
      <apiKey>string</apiKey>
      <transactions>
        <Transaction>
          <customerID>string</customerID>
          <cartID>string</cartID>
          <orderID>string</orderID>
          <cartItems>
            <TransactionCartItem xsi:nil="true" />
            <TransactionCartItem xsi:nil="true" />
          </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>
          <deliveredBySeller>boolean</deliveredBySeller>
          <exemptCert>
            <CertificateID>string</CertificateID>
            <Detail xsi:nil="true" />
          </exemptCert>
          <dateTransaction>dateTime</dateTransaction>
          <dateAuthorized>dateTime</dateAuthorized>
          <dateCaptured>dateTime</dateCaptured>
        </Transaction>
        <Transaction>
          <customerID>string</customerID>
          <cartID>string</cartID>
          <orderID>string</orderID>
          <cartItems>
            <TransactionCartItem xsi:nil="true" />
            <TransactionCartItem xsi:nil="true" />
          </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>
          <deliveredBySeller>boolean</deliveredBySeller>
          <exemptCert>
            <CertificateID>string</CertificateID>
            <Detail xsi:nil="true" />
          </exemptCert>
          <dateTransaction>dateTime</dateTransaction>
          <dateAuthorized>dateTime</dateAuthorized>
          <dateCaptured>dateTime</dateCaptured>
        </Transaction>
      </transactions>
    </AddTransactions>
  </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>
    <AddTransactionsResponse xmlns="http://taxcloud.net">
      <AddTransactionsResult />
    </AddTransactionsResponse>
  </soap12:Body>
</soap12:Envelope>

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