Defterin HTML görüntüsünü UID yerine dönem bilgisiyle döner.
Kurallar:
PERIODYYYYMMformatında olmalıdır (örn.202601); ay01–12aralığında olmalıdır. Format hatalıysa istek arka uca gitmedenDönem YYYYMM formatında olmalıdır! (Örn: 202501)hatası döner.BRANCH_CODEboş bırakılırsa1,PART_NOboş bırakılırsa0kullanılır.
Yanıt: HTML içeriği Content alanında döner.
Hata yönetimi: Hatalar SOAP Fault olarak dönmez. Hata durumunda normal yanıt döner ve
ERRORbloğu dolu gelir; her yanıtta önceERRORbloğu kontrol edilmelidir.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
SESSION_ID |
text |
Yes | Kimlik doğrulama servisi (AuthenticationWS) Login metodundan alınan oturum bilgisi. Tüm metotlarda zorunludur. |
PERIOD |
text |
Yes | Dönem, YYYYMM formatında (ay 01–12). |
TYPE |
text |
Yes | Defter tipi. |
VIEW_TYPE |
text |
Yes | Görüntüleme tipi. |
BRANCH_CODE |
text |
No | Şube kodu. Boş bırakılırsa 1 kullanılır. |
PART_NO |
text |
No | Parça numarası. Boş bırakılırsa 0 kullanılır. |
Sample Response (XML)
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:ViewLedgerByPeriodResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<ViewLedgerByPeriod>
<Content><html>...</html></Content>
</ViewLedgerByPeriod>
</ns2:ViewLedgerByPeriodResponse>
</S:Body>
</S:Envelope>
Fault Response
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:ViewLedgerByPeriodResponse xmlns:ns2="http://ws.efatura.izibiz.com/">
<ViewLedgerByPeriod>
<ERROR>
<CODE>-1</CODE>
<MESSAGE>Dönem YYYYMM formatında olmalıdır! (Örn: 202501)</MESSAGE>
</ERROR>
</ViewLedgerByPeriod>
</ns2:ViewLedgerByPeriodResponse>
</S:Body>
</S:Envelope>