Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Importazione fattura elettronica con terzo intermediario in Gruppo IVA #3146

Open
1 of 3 tasks
SirTakobi opened this issue Jan 23, 2023 · 5 comments · May be fixed by #3810
Open
1 of 3 tasks

Importazione fattura elettronica con terzo intermediario in Gruppo IVA #3146

SirTakobi opened this issue Jan 23, 2023 · 5 comments · May be fixed by #3810
Labels
14.0 16.0 bug hotfix needs porting This issue has already been resolved for some version no stale Use this label to prevent the automated stale action from closing this PR/Issue.

Comments

@SirTakobi
Copy link
Contributor

SirTakobi commented Jan 23, 2023

Module

l10n_it_fatturapa_in

Describe the bug

Importando una fattura elettronica dove il terzo intermediario fa parte di un gruppo IVA, viene sollevato un errore tipo

Nel database sono già presenti due diversi partner con partita IVA IT03309970733 o codice fiscale MRORSS90E25B111T.

To Reproduce

Affected versions:

Steps to reproduce the behavior:

  1. Creare in anagrafica due partner nello stesso gruppo IVA:
    • un partner avente Partita IVA IT03309970733 e codice fiscale MRORSS90E25B111T
    • un partner avente Partita IVA IT03309970733 e codice fiscale 03533590174
  2. Importare una Fattura Elettronica dove il Terzo Intermediario ha solo Partita IVA IT03309970733

Expected behavior
Importazione della Fattura Elettronica

Additional context
Un'altra issue più generica riguardante i Gruppi IVA è #1667.

Le specifiche della Fattura Elettronica sono in https://www.agenziaentrate.gov.it/portale/web/guest/specifiche-tecniche-versione-1.7.1.
Più precisamente, il file delle specifiche è https://www.agenziaentrate.gov.it/portale/documents/20143/451259/Allegato+A+-+Specifiche+tecniche+vers+1.7.1.pdf/5c3de81a-7ad5-34a7-54b0-735b1456972c, qui tra i controlli è scritto che:

viene effettuato un controllo:

  • sulla coerenza tra partita IVA e codice fiscale del cedente/prestatore o del cessionario/committente quando entrambi valorizzati e/o nei casi di gruppi IVA.

Inoltre, solo nella descrizione dei nodi CedentePrestatore e CessionarioCommittente è scritto che:

Nel caso di IdFiscaleIVA di gruppo IVA, il sistema verifica che sia presente anche il CodiceFiscale e che appartenga a uno dei partecipanti al gruppo

Gli altri campi che durante l'importazione associamo ai partner (vettore, terzo intermediario e rappresentante fiscale) non vengono controllati lato SdI per quanto riguarda i gruppi IVA, quindi potrebbero corrispondere a più partner in anagrafica; questo però non deve bloccare l'importazione della fattura elettronica.

@matteoopenf
Copy link
Contributor

@SirTakobi per caso ora che è mergiata la pr su 12 farai anche quella su 14?
Grazie Mille

@SirTakobi
Copy link
Contributor Author

@SirTakobi per caso ora che è mergiata la pr su 12 farai anche quella su 14? Grazie Mille

Non è in programma, ma prima o poi ci servirà e se non ci sarà ancora la porteremo

@matteoopenf
Copy link
Contributor

@SirTakobi per caso ora che è mergiata la pr su 12 farai anche quella su 14? Grazie Mille

Non è in programma, ma prima o poi ci servirà e se non ci sarà ancora la porteremo

Grazie mille

@patrickt-oforce
Copy link
Contributor

@tafaRU @SirTakobi per v 14.0 la PR è #3513

@SirAionTech SirAionTech linked a pull request Jan 4, 2024 that will close this issue
1 task
@francesco-ooops francesco-ooops linked a pull request Jan 4, 2024 that will close this issue
1 task
Copy link

github-actions bot commented Jul 7, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 7, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2024
@francesco-ooops francesco-ooops added no stale Use this label to prevent the automated stale action from closing this PR/Issue. and removed stale PR/Issue without recent activity, it'll be soon closed automatically. labels Nov 21, 2024
@SirAionTech SirAionTech added needs porting This issue has already been resolved for some version and removed triaged labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
14.0 16.0 bug hotfix needs porting This issue has already been resolved for some version no stale Use this label to prevent the automated stale action from closing this PR/Issue.
Projects
None yet
6 participants