SpecInvoicesService


Click here for a complete list of operations.

save_invoice_b_n

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 /specinvoices/SpecInvoicesService.asmx HTTP/1.1
Host: webserv.rs.ge
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/save_invoice_b_n"

<?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>
    <save_invoice_b_n xmlns="http://tempuri.org/">
      <invois_id>int</invois_id>
      <p_OPERATION_DT>dateTime</p_OPERATION_DT>
      <p_SELLER_UN_ID>int</p_SELLER_UN_ID>
      <p_BUYER_UN_ID>int</p_BUYER_UN_ID>
      <p_SSD_N>string</p_SSD_N>
      <p_SSAF_N>string</p_SSAF_N>
      <p_CALC_DATE>dateTime</p_CALC_DATE>
      <p_K_SSAF_N>string</p_K_SSAF_N>
      <p_TR_ST_DATE>dateTime</p_TR_ST_DATE>
      <p_OIL_ST_ADDRESS>string</p_OIL_ST_ADDRESS>
      <p_OIL_ST_N>string</p_OIL_ST_N>
      <p_OIL_FN_ADDRESS>string</p_OIL_FN_ADDRESS>
      <p_OIL_FN_N>string</p_OIL_FN_N>
      <p_TRANSPORT_TYPE>string</p_TRANSPORT_TYPE>
      <p_TRANSPORT_MARK>string</p_TRANSPORT_MARK>
      <p_DRIVER_INFO>string</p_DRIVER_INFO>
      <p_CARRIER_INFO>string</p_CARRIER_INFO>
      <p_CARRIE_S_NO>string</p_CARRIE_S_NO>
      <p_USER_ID>int</p_USER_ID>
      <p_S_USER_ID>int</p_S_USER_ID>
      <p_B_S_USER_ID>int</p_B_S_USER_ID>
      <p_SSD_DATE>dateTime</p_SSD_DATE>
      <p_SSAF_DATE>dateTime</p_SSAF_DATE>
      <p_PAY_TYPE>int</p_PAY_TYPE>
      <p_SELLER_PHONE>string</p_SELLER_PHONE>
      <p_BUYER_PHONE>string</p_BUYER_PHONE>
      <p_driver_no>string</p_driver_no>
      <p_SSAF_ALT_NUMBER>string</p_SSAF_ALT_NUMBER>
      <p_SSAF_ALT_TYPE>string</p_SSAF_ALT_TYPE>
      <p_SSD_ALT_NUMBER>string</p_SSD_ALT_NUMBER>
      <p_SSD_ALT_TYPE>string</p_SSD_ALT_TYPE>
      <p_SSAF_ALT_STATUS>int</p_SSAF_ALT_STATUS>
      <p_SSD_ALT_STATUS>int</p_SSD_ALT_STATUS>
      <p_driver_is_geo>int</p_driver_is_geo>
      <user_id>int</user_id>
      <invoiceType>int</invoiceType>
      <su>string</su>
      <sp>string</sp>
    </save_invoice_b_n>
  </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>
    <save_invoice_b_nResponse xmlns="http://tempuri.org/">
      <save_invoice_b_nResult>boolean</save_invoice_b_nResult>
      <invois_id>int</invois_id>
    </save_invoice_b_nResponse>
  </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 /specinvoices/SpecInvoicesService.asmx HTTP/1.1
Host: webserv.rs.ge
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>
    <save_invoice_b_n xmlns="http://tempuri.org/">
      <invois_id>int</invois_id>
      <p_OPERATION_DT>dateTime</p_OPERATION_DT>
      <p_SELLER_UN_ID>int</p_SELLER_UN_ID>
      <p_BUYER_UN_ID>int</p_BUYER_UN_ID>
      <p_SSD_N>string</p_SSD_N>
      <p_SSAF_N>string</p_SSAF_N>
      <p_CALC_DATE>dateTime</p_CALC_DATE>
      <p_K_SSAF_N>string</p_K_SSAF_N>
      <p_TR_ST_DATE>dateTime</p_TR_ST_DATE>
      <p_OIL_ST_ADDRESS>string</p_OIL_ST_ADDRESS>
      <p_OIL_ST_N>string</p_OIL_ST_N>
      <p_OIL_FN_ADDRESS>string</p_OIL_FN_ADDRESS>
      <p_OIL_FN_N>string</p_OIL_FN_N>
      <p_TRANSPORT_TYPE>string</p_TRANSPORT_TYPE>
      <p_TRANSPORT_MARK>string</p_TRANSPORT_MARK>
      <p_DRIVER_INFO>string</p_DRIVER_INFO>
      <p_CARRIER_INFO>string</p_CARRIER_INFO>
      <p_CARRIE_S_NO>string</p_CARRIE_S_NO>
      <p_USER_ID>int</p_USER_ID>
      <p_S_USER_ID>int</p_S_USER_ID>
      <p_B_S_USER_ID>int</p_B_S_USER_ID>
      <p_SSD_DATE>dateTime</p_SSD_DATE>
      <p_SSAF_DATE>dateTime</p_SSAF_DATE>
      <p_PAY_TYPE>int</p_PAY_TYPE>
      <p_SELLER_PHONE>string</p_SELLER_PHONE>
      <p_BUYER_PHONE>string</p_BUYER_PHONE>
      <p_driver_no>string</p_driver_no>
      <p_SSAF_ALT_NUMBER>string</p_SSAF_ALT_NUMBER>
      <p_SSAF_ALT_TYPE>string</p_SSAF_ALT_TYPE>
      <p_SSD_ALT_NUMBER>string</p_SSD_ALT_NUMBER>
      <p_SSD_ALT_TYPE>string</p_SSD_ALT_TYPE>
      <p_SSAF_ALT_STATUS>int</p_SSAF_ALT_STATUS>
      <p_SSD_ALT_STATUS>int</p_SSD_ALT_STATUS>
      <p_driver_is_geo>int</p_driver_is_geo>
      <user_id>int</user_id>
      <invoiceType>int</invoiceType>
      <su>string</su>
      <sp>string</sp>
    </save_invoice_b_n>
  </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>
    <save_invoice_b_nResponse xmlns="http://tempuri.org/">
      <save_invoice_b_nResult>boolean</save_invoice_b_nResult>
      <invois_id>int</invois_id>
    </save_invoice_b_nResponse>
  </soap12:Body>
</soap12:Envelope>