e-fatura
37 uç · /api/erp/v1/e-fatura
İstek örnekleri ucun GERÇEK metodu ve yolundan üretilir. 37 ucun elle doğrulanmış gövde örneği henüz yok; o uçlarda iskelet gövdesizdir — uydurma bir alan yazmıyoruz.
Entegratör konnektörü kaydet/güncelle (provider başına tek; upsert). erp.einvoice.manage.
Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Tek konnektörü getir. erp.einvoice.view.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Konnektörü sil. erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X DELETE "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Konnektörü aktive et. erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>/activate" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Set einvoice credentials
OturumYol parametresi:
idİstek
curl -X PUT "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>/credentials" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}EF15: mühürlü API anahtarını sil (konnektör dürüst stub'a döner). erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X DELETE "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>/credentials" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Konnektörü deaktive et (varsayılanlığı da düşer). erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>/deactivate" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Set einvoice environment
OturumYol parametresi:
idİstek
curl -X PUT "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>/environment" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Konnektör sağlık durumunu kaydet (stub; canlı ping = EF15). erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>/health" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Konnektörü tenant varsayılanı yap. erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/connectors/<id>/set-default" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Tek gelen e-faturayı getir. erp.einvoice.view.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/inbox/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Gelen e-faturayı kabul et (opsiyonel alış faturası eşleştirmesi). erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/inbox/<id>/accept" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Gelen e-faturayı reddet. erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/inbox/<id>/reject" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Kabul edilmiş gelen e-faturanın alış faturası eşleşmesini düzelt/temizle. erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/inbox/<id>/rematch" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Profil kuralı ekle/güncelle (belge tipi başına tek). erp.einvoice.manage.
Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/profiles" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Tek profil kuralını getir. erp.einvoice.view.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/profiles/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Profil kuralını sil. erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X DELETE "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/profiles/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Belge tipine göre çözülen e-Fatura profilini döndür (queue seçimini önizler). erp.einvoice.view.
Oturum
İstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/profiles/resolve" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Gönderim kuyruğunu listele (opsiyonel durum + keyset). erp.einvoice.view.
Oturum
İstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/send-queue" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Kuyruğa alınmış e-belgeyi toplu-gönderim kuyruğuna al. erp.einvoice.manage.
Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/send-queue" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Tek kuyruk girişini getir. erp.einvoice.view.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/send-queue/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Kuyruk girişini iptal et (queued/failed → cancelled). erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/send-queue/<id>/cancel" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Due partiyi stub-gönder (worker simülasyonu; canlı = EF15). erp.einvoice.manage.
Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/send-queue/dispatch" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Kuyruğa alınmış tüm e-belgeleri toplu kuyruğa al. erp.einvoice.manage.
Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/send-queue/enqueue-pending" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Öksüz 'sending' girişleri geri al (visibility-timeout). erp.einvoice.manage.
Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/send-queue/reclaim" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Tek mükellef kaydını getir. erp.einvoice.view.
OturumYol parametresi:
idİstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/taxpayers/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Mükellef cache kaydını sil. erp.einvoice.manage.
OturumYol parametresi:
idİstek
curl -X DELETE "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/taxpayers/<id>" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}VKN/TCKN ile mükellef durumu (cache) + e-Fatura mükellefi mi. erp.einvoice.view.
Oturum
İstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/taxpayers/lookup" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Mükellefi entegratörden tazele (anahtar takılıysa CANLI GİB sorgusu). erp.einvoice.manage.
Oturum
İstek
curl -X POST "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/taxpayers/refresh" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Yeniden-sorgulanacak bayat mükellefler (checked_at eşiği). erp.einvoice.view.
Oturum
İstek
curl -X GET "https://{slug}.erp.blesyum.app/api/erp/v1/e-fatura/taxpayers/stale" \
-H "Authorization: Bearer <oturum-token>" \
-H "Accept: application/json"Yanıt
{
"data": "…",
"trace_id": "01JC…"
}Bu sayfa işine yaradı mı?