Ana içeriğe geç

Fatura Detay - Show

GET https://webservis.ekupbilisim.com/api/outsource/invoice/{UUID}
Bu, canlı tabandır. Geliştirme ve entegrasyon testleri için /api/outsource-test tabanını kullanın — bkz. Test Ortamı / Sandbox.

Faturaya ait detay bilgilerini almak için kullanılan API uç noktası. Bu uç nokta, UUID bilgisi ile faturanın tüm detaylarını JSON formatında döner.

Üst Bilgi (Header) Parametreleri​

Authorization string required
Bearer token ile kimlik doğrulama yapılmalıdır.

İstek ( Query ) Parametreleri​

uuid guid required
Fatura UUID bilgisi. Bu UUID, fatura gönderim veya gelen belgelerden alınabilir.

Cevaplar ( Responses )​

200
OK
{
        "error": 0,
        "message": "İşlem başarıyla tamamlandı",
        "extra": {
          "id": "01k1x8rykgcnjv07zgf8h07sey",
          "UUID": "5da9e9d5-abd2-1111-9be0-fe35b58234b4",
          "Number": "EKB2025000015005",
          "IssueDate": "2025-01-15",
          "IssueTime": "10:20:30",
          "direction": 0,
          "status": 1,
          "gibStatus": "130",
          "envelope": {
            "uuid": "32a0fa61-1aa9-47ef-123d-30f72e326369"
          }
        }
      }
401
Unauthorized
{
  "error": 1,
  "message": "e-Posta veya şifre hatalı."
}
404
Not Found
{
  "error": 1,
  "message": "The route api/outsource/auth/login1 could not be found."
}
500
Server Error
{
  "error": 1,
  "message": "Sunucu Hatası"
}

Örnek İstek ( Curl )​


curl -X GET --location 'https://webservis.ekupbilisim.com/api/outsource-test/invoice/{UUID}' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'Authorization: ••••••'