İzibiz Developer Portal
E-Müstahsil REST API

Preview Document

GET{{baseUrl}}/{{version}}/ecreditnotes/{{creditNoteId}}/preview/{{previewFormat}}

Previews the producer receipt in HTML, PDF or UBL format.

Pick the format from the Ready scenario list. The selected scenario writes the {{previewFormat}} variable to the active environment and the request goes to the matching address:

Scenario Address
HTML Görüntüleme /ecreditnotes/{{creditNoteId}}/preview/html
PDF Görüntüleme /ecreditnotes/{{creditNoteId}}/preview/pdf
UBL Görüntüleme /ecreditnotes/{{creditNoteId}}/preview/ubl

{{creditNoteId}} is the id of the document record (e.g. 7611). Its value comes from the selected environment; you can change it in the environment variables panel.

Header Parameters

NameTypeRequiredDescription
Authorization text Yes v1/auth/token endpointten alınan token

Response Codes

CodeDescription
200