Skip to main content

GİB e-Arşiv Portal e-Fatura, e-SMM, e-Müstahsil Oluşturucu

Project description

🧾 eArsivPortal

Boyut Görüntülenme

PyPI Yükleyici

PyPI PyPI - Yüklenme PyPI - Wheel

Python Version Lisans Durum

GİB e-Arşiv Portal e-Fatura, e-SMM, e-Müstahsil Oluşturucu

Bu paket Fatih Kadir Akın'ın hazırlamış olduğu fatura (js) paketinin Python dili ile yazılmış versiyonudur.

ForTheBadge made-with-python ForTheBadge built-with-love

🚀 Kurulum

PyPI

# Yüklemek
pip install eArsivPortal

# Güncellemek
pip install -U eArsivPortal

📝 Kullanım

Lib

from eArsivPortal import eArsivPortal

portal = eArsivPortal(
    kullanici_kodu = "33333301",
    sifre          = "1",
    test_modu      = True
)
portal.bilgilerim()
#--------------------------------------------------------------#
{
    "vknTckn": "3333333301",
    "unvan": "HOSAM ALDEEN ABUSHAWER TİCARİ GİRİŞİMİ",
    "ad": "",
    "soyad": "",
    "cadde": "şehit yusuf bey",
    "apartmanAdi": "yıldız",
    "apartmanNo": "8",
    "kapiNo": "2",
    "kasaba": "ortakapı",
    "ilce": "Merkez",
    "il": "Kars",
    "postaKodu": "36000",
    "ulke": "Türkiye",
    "telNo": "05524775288",
    "faksNo": "",
    "ePostaAdresi": "",
    "webSitesiAdresi": "",
    "vergiDairesi": "kars",
    "sicilNo": "8729",
    "isMerkezi": "",
    "mersisNo": "9962438036000001"
}
portal.kisi_getir(vkn_veya_tckn="3333333301")
#--------------------------------------------------------------#
{
    "unvan":"HOSAM ALDEEN ABUSHAWER TİCARİ GİRİŞİMİ",
    "adi":"",
    "soyadi":"",
    "vergiDairesi":"kars"
}
portal.fatura_olustur(
    tarih:str         = "07/10/1995",
    saat:str          = "14:28:37",
    vkn_veya_tckn:str = "11111111111",
    ad:str            = "Ömer Faruk",
    soyad:str         = "Sancak",
    unvan:str         = "",
    vergi_dairesi:str = "",
    urun_adi:str      = "Python Yazılım Hizmeti",
    fiyat:int | float = 100,
    fatura_notu:str   = "— QNB Finansbank —\nTR70 0011 1000 0000 0118 5102 59\nÖmer Faruk Sancak"
)
#--------------------------------------------------------------#
True
faturalar = portal.faturalari_getir(
    baslangic_tarihi = "01/05/2023",
    bitis_tarihi     = "28/05/2023"
)
#--------------------------------------------------------------#
[
    {
        'belgeNumarasi': 'GIB2023000002672',
        'aliciVknTckn': '16045751784',
        'aliciUnvanAdSoyad': 'Sercan AYDIN',
        'belgeTarihi': '28-05-2023',
        'belgeTuru': 'FATURA',
        'onayDurumu': 'Onaylanmadı',
        'ettn': '0c111c74-fcd4-11ed-8026-3ae56703837b'
    },
    {
        'belgeNumarasi': 'GIB2023000002673',
        'aliciVknTckn': '16045751784',
        'aliciUnvanAdSoyad': 'Sercan AYDIN',
        'belgeTarihi': '28-05-2023',
        'belgeTuru': 'FATURA',
        'onayDurumu': 'Silinmiş',
        'ettn': '234baa8e-fcd5-11ed-827f-3ae56703837b'
    }
]
html_fatura = portal.fatura_html(
    ettn        = faturalar[0].get("ettn")
    onay_durumu = faturalar[0].get("onayDurumu")
)

with open(f"{faturalar[0].get("aliciUnvanAdSoyad")}.html", "w", encoding="utf-8") as dosya:
    dosya.write(html_fatura)

🌐 Telif Hakkı ve Lisans

♻️ İletişim

Benimle iletişime geçmek isterseniz, Telegram'dan mesaj göndermekten çekinmeyin; @keyiflerolsun

💸 Bağış Yap

☕️ Kahve Ismarla


@KekikAkademi için yazılmıştır..

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eArsivPortal-0.0.5.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

eArsivPortal-0.0.5-py3-none-any.whl (21.7 kB view details)

Uploaded Python 3

File details

Details for the file eArsivPortal-0.0.5.tar.gz.

File metadata

  • Download URL: eArsivPortal-0.0.5.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for eArsivPortal-0.0.5.tar.gz
Algorithm Hash digest
SHA256 0368ae2af248d9b6b8013d280a80af29b3beb6b0a8d57563113c6d42b9917802
MD5 aed66ffae063beca74aef807b5c20f36
BLAKE2b-256 c2e639341e3f8ec182e6a4c7c5c9350e58b5f1996618c70fb431f26eaad3093e

See more details on using hashes here.

File details

Details for the file eArsivPortal-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: eArsivPortal-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 21.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for eArsivPortal-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5d9fa7b7d8c62ecde5e85c148dcec8fa60d130ee0fb1ace8947e968751fe0c2f
MD5 b18bdde386009a12609b7349f1b4ccf4
BLAKE2b-256 eef8498acc3e0baf54a256fa320dd4e571f7094ef9115810367e8f12ffcfa8a9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page