Repository navigation
La PEC del destinatario privato ora compare nella fattura elettronica - #1932
Open
Andrea-Bruno wants to merge 1 commit into
Open
Andrea-Bruno wants to merge 1 commit into
Andrea-Bruno wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Quando si emette una fattura elettronica verso un cliente privato che ha una PEC in anagrafica, questa PEC non veniva inserita nel file XML inviato allo Sistema di Interscambio. Il risultato era che chi non è un'azienda ma ha comunque una PEC, per esempio un'associazione di volontariato con codice fiscale numerico, non poteva ricevere la fattura sulla propria casella di posta certificata, e bisognava modificare il file XML a mano aggiungendo la voce del destinatario.
Con questa modifica, quando il cliente è un privato che ha una PEC e non ha un codice destinatario, la sua PEC viene ora riportata correttamente nel file della fattura elettronica, così come già avveniva per le aziende. In questo modo la fattura può arrivare direttamente alla casella PEC del destinatario senza correzioni manuali.
La modifica è piccola e sta nel punto del codice che prepara l'intestazione della fattura elettronica: si allarga la condizione che decide quando inserire la PEC del destinatario, includendo anche i privati oltre alle aziende.