Giter VIP home page Giter VIP logo

Comments (3)

muratcesmecioglu avatar muratcesmecioglu commented on August 18, 2024

Merhaba.
Fatura tipini "özel matrah" seçip. malHizmetTable bölümünde her satır için "ozelMatrahNedeni" ve "ozelMatrahTutari" bilgisi göndermeyi denediniz mi?
Benim firmamda özel matrah kesmediğim için test portalından bakıp yanıtlıyorum. "ozelMatrahNedeni" bölümünde e-arşiv portaldaki kodları string olarak göndermeniz gerekecek.

Portal üzerinden oluşturduğum örnek malHizmetTable

"malHizmetTable": [
    {
      "malHizmet": "232",
      "miktar": 1,
      "birim": "TNE",
      "birimFiyat": "1000",
      "fiyat": "1000",
      "iskontoOrani": 0,
      "iskontoTutari": "0",
      "iskontoNedeni": "",
      "malHizmetTutari": "1000",
      "kdvOrani": "0",
      "vergiOrani": 0,
      "kdvTutari": "0",
      "vergininKdvTutari": "0",
      "ozelMatrahNedeni": "802",
      "ozelMatrahTutari": "0",
      "hesaplananotvtevkifatakatkisi": "0"
    }
  ]

from efatura.

werfection16 avatar werfection16 commented on August 18, 2024

Merhabalar denedim fakat yine faturayı oluşturamıyor.

$fatura_detaylari["malHizmetTable"][] = [
			    "malHizmet"  =>  $urun_baslik,
			    "miktar"  =>  $adet,  
			    "birim"  =>  "C62", // ADET SEÇİMİ YAPIYOR
			    "birimFiyat"  =>  $birim_fiyat, // BURASINI DOLDUR KDVSİZ FİYATI
			    "fiyat"  =>  $s_toplam_tutar,   // BURASINI YÜKLENEN TUTAR
			    "iskontoArttm"  =>  "İskonto",
			    "iskontoOrani"  =>  0,
			    "iskontoTutari"  =>  "0",
			    "iskontoNedeni"  =>  "",
			    "malHizmetTutari"  =>  $birim_fiyat,   // BURASINI BİRİM FİYATI
			    "kdvOrani"  =>  0,  
			    "vergiOrani" => 0,
			    "kdvTutari"  =>  0,   // BURASINI DOLDUR KDV TUTARI
			    "vergininKdvTutari"  =>  "0",
			    "ozelMatrahNedeni" => "802",
			    "ozelMatrahTutari"=> "0",
			    ];

from efatura.

muratcesmecioglu avatar muratcesmecioglu commented on August 18, 2024

https://gist.github.com/muratcesmecioglu/2f97a40f6b8dc53102d448a896b8263d

Bu kodlar ile test ortamında bir özel matrah fatura oluşturup ekrana yazdırabiliyorum.

from efatura.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.