İzibiz Developer Portal
SOAP-WS · E-Gider Pusulası WS (EVoucherWS)

Gider Pusulası İptal (CancelDocument)

SOAPCancelDocumentRequest

Gönderilmiş bir e-Gider Pusulası belgesini iptal eder.

DELETE_FLAG alanı iki farklı davranışı ayırır:

  • N — belge iptal edilir, kaydı sistemde iptal statüsüyle kalır ve GİB'e iptal olarak raporlanır.
  • Y — belge kaydı silinir. Yalnızca henüz raporlanmamış belgelerde kullanılabilir.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://schemas.i2i.com/ei/wsdl">
  <soapenv:Header/>
  <soapenv:Body>
    <wsdl:CancelDocumentRequest>
      <REQUEST_HEADER>
        <SESSION_ID>{{SESSION_ID}}</SESSION_ID>
        <COMPRESSED>N</COMPRESSED>
      </REQUEST_HEADER>
      <UUID>a1e5c9f0-1101-4b21-9c31-000000009201</UUID>
      <DELETE_FLAG>N</DELETE_FLAG>
    </wsdl:CancelDocumentRequest>
  </soapenv:Body>
</soapenv:Envelope>

Parametreler

AdTipZorunluAciklama
REQUEST_HEADER object Evet Her webservis isteğinde gönderilmesi beklenen ortak elemandır.
└ SESSION_ID text Evet AuthenticationWS/Login metodundan alınan oturum bilgisi.
└ CLIENT_TXN_ID text Hayir İstemci tarafından üretilen işlem numarası. request/response eşleştirmek için kullanılır.
└ APPLICATION_NAME text Hayir Metodu çağıran uygulamanın adı.
└ COMPRESSED text Hayir Y/N. İçeriğin sıkıştırılmış (zip) gönderilip gönderilmediğini belirtir.
UUID text Evet İptal edilecek belgenin ETTN bilgisi.
DELETE_FLAG text Hayir N: belge iptal edilir. Y: belge kaydı silinir (yalnızca raporlanmamış belgelerde).

Ornek Yanit (XML)

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
  <S:Body>
    <ns3:CancelDocumentResponse xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:ns3="http://schemas.i2i.com/ei/wsdl">
      <REQUEST_RETURN>
        <INTL_TXN_ID>0</INTL_TXN_ID>
        <CLIENT_TXN_ID>0</CLIENT_TXN_ID>
        <RETURN_CODE>0</RETURN_CODE>
      </REQUEST_RETURN>
    </ns3:CancelDocumentResponse>
  </S:Body>
</S:Envelope>