Hazır Örnek Sepetler

Bu sayfadaki örnek JSON'ları kullanarak kullanım senaryolarınızı hızlıca gerçekleyin.

Matrah Dışı Satış

{
  "documentType": 9008,
  "taxFreeAmount": 5000,
  "customerInfo": {
    "taxID": "11111111111"
  },
  "paymentItems": [
    {
      "amount": 5000,
      "description": "Nakit",
      "type": 1
    }
  ]
}

Matrah ve Ürün Satış

{
  "basketID": "a123ca24-ca2c-401c-8134-f0de2ec25c25",
  "documentType": 9008,
  "customerInfo": {
    "taxID": "11111111111"
  },
  "items": [
    {
      "name": "İLAÇ",
      "price": 1000,
      "quantity": 1000,
      "sectionNo": 1,
      "taxPercent": 1000,
      "type": 0
    }
  ],
  "taxFreeAmount": 5000,
  "paymentItems": [
    {
      "amount": 6000,
      "description": "Cash",
      "type": 1
    }
  ]
}

Cari Tahsilat

{
  "basketID": "35bc5937-f8ef-4c21-8e44-b59d02c25a79",
  "documentType": 9002,
  "customerInfo": {
    "name": "AD SOYAD",
    "taxID": "11111111111"
  },
  "infoReceiptInfo": {
    "documentDate": "29-10-2024",
    "documentNo": "ABC123"
  },
  "taxFreeAmount": 10000,
    "paymentItems": [
    {
      "amount": 10000,
      "type": 1
    }
  ]
}

Fatura Bilgi Fişi

{
  "basketID": "35bc5937-f8ef-4c21-8e44-b59d02c25a79",
  "documentType": 9005,
  "customerInfo": {
    "taxID": "11111111111"
  },
  "infoReceiptInfo": {
    "serialNo": "ABC123"
  },
    "items": [
    {
      "name": "YİYECEK",
      "price": 58300,
      "quantity": 1000,
      "sectionNo": 1,
      "taxPercent": 1000
    }
  ],
    "paymentItems": [
    {
      "amount": 58300,
      "type": 11
    }
  ]
}

E-arşiv Bilgi Fişi

{
  "basketID": "35bc5937-f8ef-4c21-8e44-b59d02c25a79",
  "documentType": 9007,
  "isWayBill": false,
  "customerInfo": {
    "taxID": "11111111111"
  },
  "infoReceiptInfo": {
    "serialNo": "TKN20240000000002"
  },
  "items": [
    {
      "name": "İLAÇ",
      "price": 5500,
      "quantity": 1000,
      "sectionNo": 1,
      "taxPercent": 1000
    }
  ],
  "paymentItems": [
    {
      "amount": 5500,
      "type": 2
    }
  ]
}

E-fatura Bilgi Fişi

{
  "basketID": "35bc5937-f8ef-4c21-8e44-b59d02c25a79",
  "documentType": 9006,
  "isWayBill":false,
  "customerInfo": {
    "taxID": "11111111111"
  },
  "infoReceiptInfo": {
    "serialNo": "TKN20240000000001"
  },
    "items": [
    {
      "name": "YİYECEK",
      "price": 58300,
      "quantity": 1000,
      "sectionNo": 1,
      "taxPercent": 1000
    }
  ],
    "paymentItems": [
    {
      "amount": 58300,
      "type": 11
    }
  ]
}

Last updated