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

Implement italian e-invoicing support #573

Closed
syjer opened this issue Dec 30, 2018 · 5 comments
Closed

Implement italian e-invoicing support #573

syjer opened this issue Dec 30, 2018 · 5 comments
Assignees
Milestone

Comments

@syjer
Copy link
Member

syjer commented Dec 30, 2018

From the notes:

Add a new configuration key:

  • ENABLE_ITALY_E_INVOICING : boolean

If the flag is enabled, when gathering the data, add the following 3 fields (that appears if the user has selected italy as a residence):

  • field "Codice Fiscale"
  • select box: "Codice destinatario", "PEC", or "Nessuno dei due"
  • field "Codice destinatario" (7 chars alphanumeric) or PEC (email), mandatory if the user has selected the corresponding value

This new data will be saved in the tickets_reservation table.

As a change of the flow: the billing document (pdf) must not be sent to the customer but to the organizer, as it must be processed manually with the italian tax authority.

The user cannot download the invoice.

Note: some text may need some changes too when this flow is enabled.
Note: when enabling the functionality, GENERATE_ONLY_INVOICE is considered true too.

@syjer
Copy link
Member Author

syjer commented Dec 30, 2018

All the work is done in the branch IT-e-invoicing

@syjer syjer self-assigned this Dec 30, 2018
@syjer syjer changed the title Implement italian e-billing support Implement italian e-invoicing support Dec 30, 2018
syjer added a commit that referenced this issue Dec 30, 2018
syjer added a commit that referenced this issue Dec 30, 2018
syjer added a commit that referenced this issue Dec 30, 2018
syjer added a commit that referenced this issue Dec 31, 2018
@syjer
Copy link
Member Author

syjer commented Dec 31, 2018

note: selecting the radio button: "Codice destinatario" / "PEC" / "Nessuno dei due" is mandatory.

When selecting the radio button, the corresponding field is then mandatory, and the other disabled

@syjer
Copy link
Member Author

syjer commented Dec 31, 2018

note: the new data must be shown in:

  • admin: in the reservation detail
  • confirmation email to admin

syjer added a commit that referenced this issue Dec 31, 2018
syjer added a commit that referenced this issue Dec 31, 2018
@syjer
Copy link
Member Author

syjer commented Dec 31, 2018

TODO:

  • validation on the public side + ui activation
  • admin: display info in the reservation
  • admin: add information in email to admin if presents
  • admin: edit info in the reservation
  • update some texts

syjer added a commit that referenced this issue Dec 31, 2018
syjer added a commit that referenced this issue Dec 31, 2018
syjer added a commit that referenced this issue Jan 2, 2019
syjer added a commit that referenced this issue Jan 2, 2019
syjer added a commit that referenced this issue Jan 2, 2019
syjer added a commit that referenced this issue Jan 2, 2019
syjer added a commit that referenced this issue Jan 2, 2019
syjer added a commit that referenced this issue Jan 2, 2019
syjer added a commit that referenced this issue Jan 4, 2019
- initial step for implementing the italian e-invoicing: send invoice only to organizer

- only disallow anonymous user to download the invoice when it-e-invoicing is enabled

- fix build

- initial ui work

- persist new data

- fix typo

- expose new data in ticket reservation

- fix build

- fix build, take2

- display information in admin

- first stab at validation+ui/ux

- fix ui/ux

- add missing validation

- fix tests

- PEC address is an e-mail

- add admin modification

- fix test

- add info to confirmation email and invoice
syjer added a commit that referenced this issue Jan 4, 2019
- initial step for implementing the italian e-invoicing: send invoice only to organizer

- only disallow anonymous user to download the invoice when it-e-invoicing is enabled

- fix build

- initial ui work

- persist new data

- fix typo

- expose new data in ticket reservation

- fix build

- fix build, take2

- display information in admin

- first stab at validation+ui/ux

- fix ui/ux

- add missing validation

- fix tests

- PEC address is an e-mail

- add admin modification

- fix test

- add info to confirmation email and invoice
@syjer
Copy link
Member Author

syjer commented Jan 4, 2019

done, has been imported to master too!

@syjer syjer closed this as completed Jan 4, 2019
@syjer syjer added this to the 2.0-M1 milestone Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant