İzibiz Developer Portal
e-Sigorta Komisyon Gider Belgesi

Taslak Kaydetme (JSON)

POST{{baseUrl}}/{{v2}}/einsurance-commissions/load

JSON gövde ile sigorta komisyon gider belgesi kaydeder. Yalnızca {{v2}} altında çalışır.

Kurallar:

  • seriePrefix hesapta tanımlı bir seri olmalıdır (doğrulanan: SGR).
  • content.supplierParty.identifier oturum açan hesabın VKN değeriyle aynı olmalıdır.
  • Her gönderimde content.uuid ve content.documentNo benzersiz olmalıdır.
  • xsltName ile görüntüleme şablonu belirtilir (örn. DEFAULT).

Yanıtta dönen documentStatus IdAssigned (Numara Atandı) olur ve webKey alanı belgenin portal görüntüleme adresini taşır.

Header Parameters

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

Body Parameters

NameTypeRequiredDescription
seriePrefix text No Belge seri ön eki
assignNumber text No Numaranın İzibiz tarafından atanıp atanmayacağı
idAssigned text No Numaranın önceden atanmış olup olmadığı
xsltName text No Görüntüleme şablonu adı
content text Yes Belge içeriği: profile (EARSIVBELGE), documentTypeCode (SIGORTAKOMISYONGIDERBELGESI), documentNo, uuid, issueDate, issueTime, currencyCode, supplierParty, customerParty, legalMonetaryTotal, lines

Sample Response

{
    "data": {
        "id": 226,
        "documentType": "SIGORTAKOMISYONGIDERBELGESI",
        "issueDate": "2026-09-01",
        "issueTime": "11:23:09",
        "uuid": "bc8b8524-4a89-482d-ae24-5cc5257b9644",
        "documentNo": "SGR2026000000014",
        "currency": "TRY",
        "direction": "OUT",
        "documentStatus": {
            "value": "IdAssigned",
            "label": "Numara Atandı"
        },
        "amount": 85,
        "taxAmount": 0,
        "profile": "EARSIVBELGE",
        "sender": {
            "identifier": "4840847211",
            "name": "IZIBIZ BILISIM TEKNOLOJILERI"
        },
        "receiver": {
            "identifier": "11111111111",
            "name": "Taha Dönük"
        },
        "webKey": "https://portaltest.izibiz.com.tr/belge/goruntule?...",
        "accountId": 404,
        "lineCount": 1
    },
    "error": null,
    "warning": null
}

Response Codes

CodeDescription
200