{"action":"created","issue":{"url":"https://api.github.com/repos/devcode-it/openstamanager/issues/200","repository_url":"https://api.github.com/repos/devcode-it/openstamanager","labels_url":"https://api.github.com/repos/devcode-it/openstamanager/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/devcode-it/openstamanager/issues/200/comments","events_url":"https://api.github.com/repos/devcode-it/openstamanager/issues/200/events","html_url":"https://github.com/devcode-it/openstamanager/issues/200","id":308880040,"number":200,"title":"FATTURE calcolo iva in presenza di sconto globale ","user":{"login":"cicalo","id":24680908,"avatar_url":"https://avatars0.githubusercontent.com/u/24680908?v=4","gravatar_id":"","url":"https://api.github.com/users/cicalo","html_url":"https://github.com/cicalo","followers_url":"https://api.github.com/users/cicalo/followers","following_url":"https://api.github.com/users/cicalo/following{/other_user}","gists_url":"https://api.github.com/users/cicalo/gists{/gist_id}","starred_url":"https://api.github.com/users/cicalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cicalo/subscriptions","organizations_url":"https://api.github.com/users/cicalo/orgs","repos_url":"https://api.github.com/users/cicalo/repos","events_url":"https://api.github.com/users/cicalo/events{/privacy}","received_events_url":"https://api.github.com/users/cicalo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-27T08:59:29Z","updated_at":"2018-03-27T13:01:45Z","closed_at":null,"author_association":"NONE","body":"OPENSTAMAN 2.3.1 modulo fatture\r\n\r\nFattura immediata: inserito sconto globale in EURO (no percentuale)\r\nInserito righe generiche nel dettaglio. \r\nSconto globale OK con importo ed iva a zero.\r\n\r\nPROBLEMA:\r\nIl calcolo dell'va sulle righe è calcolato facendo una somma degli importi dell'iva di ogni singola riga, ovviamente nellosconto globale iva è zero, quindi nel totale iva esce importo di tutta iva e non tiene conto che bisognerebbe togliere importo iva dello sconto.\r\n\r\nVi allego estratto di dettaglio per meglio comprendere.\r\nSbaglio qualche cosa io, oppure avete già una patch per risolvere? dovrei fatturare entro fine mese.\r\ngrazie\r\n![fattura con sconto globale non calcola iva correttamente](https://user-images.githubusercontent.com/24680908/37965848-ce0649dc-31c6-11e8-9ed4-f7955f2d9632.JPG)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/devcode-it/openstamanager/issues/comments/376516222","html_url":"https://github.com/devcode-it/openstamanager/issues/200#issuecomment-376516222","issue_url":"https://api.github.com/repos/devcode-it/openstamanager/issues/200","id":376516222,"user":{"login":"lucasalva87","id":30728163,"avatar_url":"https://avatars3.githubusercontent.com/u/30728163?v=4","gravatar_id":"","url":"https://api.github.com/users/lucasalva87","html_url":"https://github.com/lucasalva87","followers_url":"https://api.github.com/users/lucasalva87/followers","following_url":"https://api.github.com/users/lucasalva87/following{/other_user}","gists_url":"https://api.github.com/users/lucasalva87/gists{/gist_id}","starred_url":"https://api.github.com/users/lucasalva87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucasalva87/subscriptions","organizations_url":"https://api.github.com/users/lucasalva87/orgs","repos_url":"https://api.github.com/users/lucasalva87/repos","events_url":"https://api.github.com/users/lucasalva87/events{/privacy}","received_events_url":"https://api.github.com/users/lucasalva87/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T13:01:45Z","updated_at":"2018-03-27T13:01:45Z","author_association":"CONTRIBUTOR","body":"Ciao @cicalo grazie per la segnalazione. Ho verificato, effettivamente abbiamo lo stesso problema nella 2.4. Il problema si presenta solo con lo sconto unitario, mentre lo imposti in % dovrebbe funzionare correttamente. "}}
{"actor":{"display_login":"lucasalva87"}}