Rahat Sistem
  1. Serbest Meslek Makbuzu
Rahat Sistem
  • Giriş
  • Listeler
  • Belge Entegrasyonu
    • Fatura
      • Fatura Oluşturma
      • Taslaktaki Faturayı Güncelleme
      • Taslaktaki Faturayı Gönderme
      • Taslaktaki Faturayı Silme
      • Fatura Dışa Aktarma
      • Fatura Listeleme
      • e-Arşiv Faturaları İptal Etme
      • e-Faturaları Yanıtlama
      • Faturayı Mail Olarak Gönderme
      • Fatura İşaretleme
    • İrsaliye
      • İrsaliye Oluşturma
      • Taslaktaki İrsaliyeyi Güncelleme
      • Taslaktaki İrsaliyeyi Silme
      • Taslaktaki İrsaliyeyi Gönderme
      • İrsaliye Dışa Aktarma
      • İrsaliye Listeleme
      • İrsaliye İşaretleme
    • Serbest Meslek Makbuzu
      • Makbuz Oluşturma
        POST
      • Taslaktaki Makbuzu Güncelleme
        POST
      • Taslaktaki Makbuzu Silme
        POST
      • Taslaktaki Makbuzu Gönderme
        POST
      • e-SMM Dışa Aktarma
        POST
      • e-SMM Listeleme
        POST
      • e-SMM İptal Etme
        POST
      • e-SMM Mail Olarak Gönderme
        POST
      • e-SMM İşaretleme
        POST
  1. Serbest Meslek Makbuzu

e-SMM Listeleme

RahatSistem Demo
https://apidemo.rahatsistem.com.tr
RahatSistem Demo
https://apidemo.rahatsistem.com.tr
POST
/v2/documents/sevoucher.list

Açıklama#

Bu endpoint, giden makbuzlarınızı listelemek için kullanılır.
TIP
sortBy bilgisi issue_date olarak gönderilirse, belirtilen başlangıç ve bitiş tarihleri, makbuz tarihi üzerinden filtrelenerek yanıt dönülür. Eğer received_at olarak gönderilse, makbuzlar zarf tarihlerine göre filtrelenerek yanıt dönülür.

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Body Params application/json

Example
{
    "query": {
        "startDate": "string",
        "endDate": "string",
        "sortBy": "issue_date",
        "sortDefs": [
            {
                "field": "issue_date",
                "direction": "asc"
            }
        ],
        "search": "string",
        "pageSize": 10,
        "page": 1,
        "statusCodes": [
            2001
        ],
        "includeErp": true,
        "printed": true,
        "readMarked": true
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://apidemo.rahatsistem.com.tr/v2/documents/sevoucher.list' \
--header 'Content-Type: application/json' \
--header 'x-api-key;' \
--data-raw '{
    "query": {
        "startDate": "string",
        "endDate": "string",
        "sortBy": "issue_date",
        "sortDefs": [
            {
                "field": "issue_date",
                "direction": "asc"
            }
        ],
        "search": "string",
        "pageSize": 10,
        "page": 1,
        "statusCodes": [
            2001
        ],
        "includeErp": true,
        "printed": true,
        "readMarked": true
    }
}'

Responses

🟢200OK
application/json
Body

Example
{
    "data": {
        "pagination": {
            "count": 0,
            "count_unfiltered": 0,
            "page_size": 0,
            "page_index": 0
        },
        "items": [
            {
                "integrator": "string",
                "uuid": "string",
                "id": "string",
                "profile_id": "string",
                "type_code": "string",
                "issue_date": "string",
                "issue_time": "string",
                "currency": "string",
                "note": "string",
                "notes": [
                    "string"
                ],
                "sender": {
                    "name": "string",
                    "vkn_tckn": "string",
                    "city": "string",
                    "city_subdivision": "string",
                    "tax_office": "string",
                    "email": "string"
                },
                "receiver": {
                    "name": "string",
                    "vkn_tckn": "string",
                    "city": "string",
                    "city_subdivision": "string",
                    "email": "string"
                },
                "line_extension": 0,
                "line_extension_currency": "string",
                "tax_exclusive": 0,
                "tax_exclusive_currency": "string",
                "tax_inclusive": 0,
                "tax_inclusive_currency": "string",
                "allowance": 0,
                "allowance_currency": "string",
                "payable": 0,
                "payable_currency": "string",
                "tax": {
                    "amount": 0,
                    "amount_currency": "string",
                    "subtotals": [
                        {
                            "name": "string",
                            "code": "string",
                            "percent": 0,
                            "taxable": 0,
                            "taxable_currency": "string",
                            "amount": 0,
                            "amount_currency": "string"
                        }
                    ]
                },
                "tax_totals": [
                    {
                        "amount": 0,
                        "amount_currency": "string",
                        "subtotals": [
                            {
                                "name": "string",
                                "code": "string",
                                "percent": 0,
                                "taxable": 0,
                                "taxable_currency": "string",
                                "amount": 0,
                                "amount_currency": "string"
                            }
                        ]
                    }
                ],
                "received_at": "string",
                "is_archived": true,
                "is_printed": true,
                "send_method": "string",
                "is_online_sale": true,
                "status": {
                    "summary": "string",
                    "status_code": 0,
                    "status": "string",
                    "gib_status_code": 0,
                    "message": "string",
                    "progress": {
                        "step": 0,
                        "step_count": 0,
                        "percentage": 0
                    }
                },
                "short_id": "string",
                "app_name": null,
                "lines": [
                    {
                        "id": "string",
                        "name": "string",
                        "quantity": 0,
                        "quantity_unit": "string",
                        "price": 0,
                        "price_currency": "string",
                        "extension_amount": 0,
                        "extension_amount_currency": "string",
                        "tax_totals": [
                            {
                                "amount": 0,
                                "amount_currency": "string",
                                "subtotals": [
                                    {
                                        "name": "string",
                                        "code": "string",
                                        "percent": 0,
                                        "taxable": 0,
                                        "taxable_currency": "string",
                                        "amount": 0,
                                        "amount_currency": "string"
                                    }
                                ]
                            }
                        ],
                        "tax": {
                            "amount": 0,
                            "amount_currency": "string",
                            "subtotals": [
                                {
                                    "name": "string",
                                    "code": "string",
                                    "percent": 0,
                                    "taxable": 0,
                                    "taxable_currency": "string",
                                    "amount": 0,
                                    "amount_currency": "string"
                                }
                            ]
                        }
                    }
                ]
            }
        ]
    }
}
🟠400Bad Request
Modified at 2024-05-03 14:44:19
Previous
e-SMM Dışa Aktarma
Next
e-SMM İptal Etme
Built with