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

[IMP] l10n_it: add support for Declaration of Intent #161875

Open
wants to merge 1 commit into
base: 17.0
Choose a base branch
from

Conversation

svfu-odoo
Copy link
Contributor

In Italy, an operator who exports more than 10% of all his revenues is considered a regular exporter. Regular exporters can purchase without paying VAT within certain limits.

For this they have to do a Declaration of Intent with the authorities. The regular exporter then gives the declaration information to his suppliers. The supplier can then issue an invoice to the regular exported without taxes by noting the declaration of intent.

This commit adds support for this use case.
It is now possible to specify a declaration of intent on sales orders and invoices. They are also stated on the respective PDFs and electronic invoices. A dedicated tax and fiscal position was added to be applied in case a declaration of intent is used.

Restrictions:

  • The document currency has to be in EUR (more precisely the currency of the declaration of intent which defaults to EUR); else the declaration of intent cannot be applied
  • There must not be any taxes on the document at all (else the invoice cannot be confirmed)

task-3794632

@robodoo
Copy link
Contributor

robodoo commented Apr 15, 2024

@C3POdoo C3POdoo added the RD research & development, internal work label Apr 15, 2024
@svfu-odoo svfu-odoo force-pushed the master-l10n_it_declaration_of_intent-svfu branch 5 times, most recently from 1a45d9d to 05c4a4e Compare April 17, 2024 12:24
@svfu-odoo svfu-odoo changed the base branch from master to 17.0 April 22, 2024 14:33
@svfu-odoo svfu-odoo force-pushed the master-l10n_it_declaration_of_intent-svfu branch 2 times, most recently from 2f1aeba to 6e22a77 Compare April 22, 2024 14:34
@svfu-odoo
Copy link
Contributor Author

rebased / retargeted to 17.0 as a new module

@svfu-odoo svfu-odoo force-pushed the master-l10n_it_declaration_of_intent-svfu branch 3 times, most recently from d6e0ff8 to c6f4556 Compare April 24, 2024 09:07
@svfu-odoo svfu-odoo force-pushed the master-l10n_it_declaration_of_intent-svfu branch 4 times, most recently from d898a37 to 6e11515 Compare May 7, 2024 14:28
In Italy, an operator who exports more than 10% of all his revenues is considered a regular exporter.
Regular exporters can purchase without paying VAT within certain limits.

For this they have to do a declaration of intent with the authorities.
The regular exporter then gives the declaration information to his suppliers.
The supplier can then issue an invoice to the regular exported
without taxes by noting the declaration of intent.

This commit adds support for this use case.
It is now possible to specificy a declaration of intent on sales orders and invoices.
They are also stated on the PDF and electronic invoices.
A dedicated tax and fiscal position was added to be applied in case a declaration of intent is used.

Limitations:
- The document currency has to be in EUR
  (more precisely the currency of the declaration of intent which defaults to EUR);
  else the declaration of intent cannot be applied
- Lines containing the declaration of intent tax may not use any other tax
- When adding lines on a credit note linked to a sales order those lines do not count
  for the invoiced amount of the sales order. The sales order would have to be adapted.
  (It is not really a limitation because that is just how it works: the new lines are not linked to the sales order.)
- Documents can only use the declaration of intent if they lie inside the date range of the declaration of intent
  (This may be a problem if one wants to create refunds at a later time)
- On (confirmed) sales orders the warning amount is only updated after saving (technical limitation)
page.

task-3794632
@svfu-odoo svfu-odoo force-pushed the master-l10n_it_declaration_of_intent-svfu branch from 6e11515 to 8354865 Compare May 7, 2024 14:44
@tsb-odoo tsb-odoo requested a review from epictete May 7, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants