Odoo Community Association

Declaration of Intent for Italy (OCA)

Beta License: AGPL-3 OCA/l10n-italy Translate me on Weblate Try me on Runboat

English

This module extends the functionality of l10n_it_edi_doi, enabling the use of the Declaration of Intent (Dichiarazione di Intento) for incoming vendor bills and purchase orders.

Key features:

Italiano

Questo modulo estende la funzionalità di l10n_it_edi_doi, permettendo l’utilizzo della Dichiarazione di Intento per le fatture di acquisto in ingresso e gli ordini di acquisto.

Caratteristiche principali:

Table of contents

Usage

English

In the company configuration, it is necessary to define a dedicated tax for the Declaration of Intent for incoming vendor bills.

In the contacts, you can create a Declaration of Intent by choosing between two types:

  • “Issued from company”: for declarations issued by the company.
  • “Received from customer”: for declarations received from suppliers.

Multiple Declarations of Intent:

When creating or editing a vendor bill, you can now associate multiple Declarations of Intent:

  1. Go to the “Declarations of Intent” tab in the invoice form
  2. Add one or more declarations using the list
  3. For each declaration, specify the amount to be covered
  4. The module will automatically:
    • Validate that amounts don’t exceed available thresholds
    • Show a warning if total DOI amounts don’t match invoice amount
    • Update the invoiced amounts on each declaration
    • Generate protocol numbers in the XML export

You can also use the traditional single-declaration field for backward compatibility, or mix both approaches for different invoices.

Italiano

Nella configurazione dell’azienda è necessario definire un’imposta dedicata alla Dichiarazione di Intento per le fatture in ingresso. Nei contatti è possibile creare una Dichiarazione di Intento scegliendo tra due tipologie:

  • “Issued from company”: per le dichiarazioni emesse dall’azienda.
  • “Received from customer”: per le dichiarazioni ricevute dai fornitori.

Dichiarazioni di Intento Multiple:

Durante la creazione o modifica di una fattura fornitore, è ora possibile associare più Dichiarazioni di Intento:

  1. Accedi al tab “Dichiarazioni di Intento” nel form della fattura
  2. Aggiungi una o più dichiarazioni usando la lista
  3. Per ogni dichiarazione, specifica l’importo da coprire
  4. Il modulo automaticamente:
    • Valida che gli importi non superino le soglie disponibili
    • Mostra un avviso se il totale DOI non corrisponde all’importo fattura
    • Aggiorna gli importi fatturati su ogni dichiarazione
    • Genera i numeri di protocollo nell’esportazione XML

È possibile continuare ad usare il campo tradizionale a dichiarazione singola per retrocompatibilità, o combinare entrambi gli approcci per fatture diverse.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Nextev Srl

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/l10n-italy project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.