InventoryWebService


Click here for a complete list of operations.

Settlement_Customer

Test

The test form is only available for requests from the local machine.

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 /InventoryWebService.asmx HTTP/1.1
Host: tciws.compulinerp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/Settlement_Customer"

<?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>
    <Settlement_Customer xmlns="http://tempuri.org/">
      <receiptMast>
        <COMPCODE>string</COMPCODE>
        <REC_NO>string</REC_NO>
        <REC_DATE>dateTime</REC_DATE>
        <REC_TIME>string</REC_TIME>
        <CUST>string</CUST>
        <CUST_NAME>string</CUST_NAME>
        <REFNO>string</REFNO>
        <REFSYS>string</REFSYS>
        <AMOUNT>decimal</AMOUNT>
        <TOTCHQS>decimal</TOTCHQS>
        <TOTCASH>decimal</TOTCASH>
        <REC_MEMO>string</REC_MEMO>
        <DEPBANK>string</DEPBANK>
        <GLCSHDB>string</GLCSHDB>
        <GLCHQDB>string</GLCHQDB>
        <USERCODE>string</USERCODE>
        <CANCEL>int</CANCEL>
        <CUSER>string</CUSER>
        <PRINTED>int</PRINTED>
        <POSTED>int</POSTED>
        <CANPOSTED>int</CANPOSTED>
        <ISREBANK>int</ISREBANK>
        <OVERPAYMENT>decimal</OVERPAYMENT>
        <PAY_TYPE>string</PAY_TYPE>
        <REC_TYPE>string</REC_TYPE>
        <ISADVANCE>int</ISADVANCE>
        <BALANCE_AMT>decimal</BALANCE_AMT>
        <AMOUNT_IN_WORDS>string</AMOUNT_IN_WORDS>
        <REFERENCE_DETAILS>string</REFERENCE_DETAILS>
        <IS_ALL_CASH>int</IS_ALL_CASH>
        <IS_ALL_BANK>int</IS_ALL_BANK>
        <DIRECT_SETTLE_USER>string</DIRECT_SETTLE_USER>
        <DIRECT_SETTLE_DATE>dateTime</DIRECT_SETTLE_DATE>
        <DIRECT_SETTLE_TIME>string</DIRECT_SETTLE_TIME>
      </receiptMast>
      <receiptInv>
        <RECEIPT_INV>
          <COMPCODE>string</COMPCODE>
          <REC_NO>string</REC_NO>
          <REC_TYPE>string</REC_TYPE>
          <INV_NO>string</INV_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA>string</LOCA>
          <TXN_DATE>dateTime</TXN_DATE>
          <SETTLED_AMT>decimal</SETTLED_AMT>
          <BAL_AMT>decimal</BAL_AMT>
          <SEQ_NO>int</SEQ_NO>
        </RECEIPT_INV>
        <RECEIPT_INV>
          <COMPCODE>string</COMPCODE>
          <REC_NO>string</REC_NO>
          <REC_TYPE>string</REC_TYPE>
          <INV_NO>string</INV_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA>string</LOCA>
          <TXN_DATE>dateTime</TXN_DATE>
          <SETTLED_AMT>decimal</SETTLED_AMT>
          <BAL_AMT>decimal</BAL_AMT>
          <SEQ_NO>int</SEQ_NO>
        </RECEIPT_INV>
      </receiptInv>
    </Settlement_Customer>
  </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>
    <Settlement_CustomerResponse xmlns="http://tempuri.org/">
      <Settlement_CustomerResult>string</Settlement_CustomerResult>
    </Settlement_CustomerResponse>
  </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 /InventoryWebService.asmx HTTP/1.1
Host: tciws.compulinerp.com
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>
    <Settlement_Customer xmlns="http://tempuri.org/">
      <receiptMast>
        <COMPCODE>string</COMPCODE>
        <REC_NO>string</REC_NO>
        <REC_DATE>dateTime</REC_DATE>
        <REC_TIME>string</REC_TIME>
        <CUST>string</CUST>
        <CUST_NAME>string</CUST_NAME>
        <REFNO>string</REFNO>
        <REFSYS>string</REFSYS>
        <AMOUNT>decimal</AMOUNT>
        <TOTCHQS>decimal</TOTCHQS>
        <TOTCASH>decimal</TOTCASH>
        <REC_MEMO>string</REC_MEMO>
        <DEPBANK>string</DEPBANK>
        <GLCSHDB>string</GLCSHDB>
        <GLCHQDB>string</GLCHQDB>
        <USERCODE>string</USERCODE>
        <CANCEL>int</CANCEL>
        <CUSER>string</CUSER>
        <PRINTED>int</PRINTED>
        <POSTED>int</POSTED>
        <CANPOSTED>int</CANPOSTED>
        <ISREBANK>int</ISREBANK>
        <OVERPAYMENT>decimal</OVERPAYMENT>
        <PAY_TYPE>string</PAY_TYPE>
        <REC_TYPE>string</REC_TYPE>
        <ISADVANCE>int</ISADVANCE>
        <BALANCE_AMT>decimal</BALANCE_AMT>
        <AMOUNT_IN_WORDS>string</AMOUNT_IN_WORDS>
        <REFERENCE_DETAILS>string</REFERENCE_DETAILS>
        <IS_ALL_CASH>int</IS_ALL_CASH>
        <IS_ALL_BANK>int</IS_ALL_BANK>
        <DIRECT_SETTLE_USER>string</DIRECT_SETTLE_USER>
        <DIRECT_SETTLE_DATE>dateTime</DIRECT_SETTLE_DATE>
        <DIRECT_SETTLE_TIME>string</DIRECT_SETTLE_TIME>
      </receiptMast>
      <receiptInv>
        <RECEIPT_INV>
          <COMPCODE>string</COMPCODE>
          <REC_NO>string</REC_NO>
          <REC_TYPE>string</REC_TYPE>
          <INV_NO>string</INV_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA>string</LOCA>
          <TXN_DATE>dateTime</TXN_DATE>
          <SETTLED_AMT>decimal</SETTLED_AMT>
          <BAL_AMT>decimal</BAL_AMT>
          <SEQ_NO>int</SEQ_NO>
        </RECEIPT_INV>
        <RECEIPT_INV>
          <COMPCODE>string</COMPCODE>
          <REC_NO>string</REC_NO>
          <REC_TYPE>string</REC_TYPE>
          <INV_NO>string</INV_NO>
          <CSH_CRD>string</CSH_CRD>
          <LOCA>string</LOCA>
          <TXN_DATE>dateTime</TXN_DATE>
          <SETTLED_AMT>decimal</SETTLED_AMT>
          <BAL_AMT>decimal</BAL_AMT>
          <SEQ_NO>int</SEQ_NO>
        </RECEIPT_INV>
      </receiptInv>
    </Settlement_Customer>
  </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>
    <Settlement_CustomerResponse xmlns="http://tempuri.org/">
      <Settlement_CustomerResult>string</Settlement_CustomerResult>
    </Settlement_CustomerResponse>
  </soap12:Body>
</soap12:Envelope>