furkankadioglu / efatura

eArşiv üzerinden Fatura Oluşturucu

Home Page:https://furkankadioglu.github.io/efatura/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bu işlem için yetkiniz yok

MCYBA opened this issue · comments

commented

Merhabalar,

kullanıcı adı ve parola ile hem test hem de canlı ortam için getToken kullanarak token alabiliyorum. ancak fatura oluturmaya çalıştığımda bu hatayı alıyorum:

{'date': '08/02/2020', 'uuid': '4c72cb57-b72d-4812-ac48-0a0bce83e771', 'error': '1', 'messages': [{'type': '7', 'text': 'Bu işlem için yetkiniz yok'}]}

Hatanın nedeni ne olabilir acaba?

Bu e-arşiv portal tarafından dönen hatadır. Uuid ile erişilen fatura için erişiminiz yok. Sebebi şu olabilir test ortamında oluşturduğunuz faturayı canlı ortamdan çekmeye çalışıyorsunuz veya tam tersi. Hangi kullanıcı ile oluşturulduysa o kullanıcı ile çekilmesi gerekmekte.