> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orkesta.com.tr/llms.txt
> Use this file to discover all available pages before exploring further.

# Günlük İşlem Raporu

> Belirtilen tarihteki tüm başarılı işlemleri Excel formatında export eder

## 📊 Günlük İşlem Raporu

Belirtilen tarihteki tüm başarılı işlemleri Excel formatında export eder.

**`GET`** `https://api-test.fincraft.com.tr/api/v1/general/reports/sales/daily-transactions`

<Warning>
  Bu endpoint bir dosya indirme işlemi gerçekleştirir. Response olarak Excel dosyası (.xlsx) döner. Tarih formatı **yyyy-MM-dd** olmalıdır.
</Warning>

## Query Parameters

| Parametre | Tip    | Zorunlu | Açıklama                                  |
| --------- | ------ | ------- | ----------------------------------------- |
| `date`    | String | Evet    | Rapor alınacak tarih (format: yyyy-MM-dd) |

## Response

**Content-Type:** `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`

Excel dosyası aşağıdaki kolonları içerir:

| Kolon Adı          | Açıklama                            |
| ------------------ | ----------------------------------- |
| Oluşturulma Tarihi | İşlemin oluşturulma tarihi ve saati |
| İşlem ID           | Benzersiz işlem kimliği             |
| Sipariş ID         | Sipariş numarası                    |
| Durum              | İşlem durumu                        |
| Tutar              | İşlem tutarı                        |
| Para Birimi        | Para birimi kodu                    |
| Komisyon           | Alınan komisyon tutarı              |
| Kart Numarası      | Kart numarası                       |
| Kart Sahibi        | Kart sahibi adı                     |
| Taksit             | Taksit sayısı                       |
| Auth Kodu          | Banka onay kodu                     |
| Referans ID        | Referans numarası                   |

## cURL Örneği

```bash theme={null}
curl -X GET "https://api-test.fincraft.com.tr/api/v1/general/reports/sales/daily-transactions?date=2025-01-15" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  --output report.xlsx
```
