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:
- Support for multiple Declarations of Intent per invoice
- Dedicated tab in invoice form for managing DOI associations
- Automatic validation of DOI amounts and available thresholds
- Smart warnings when invoice amounts don't match DOI coverage
- Backward compatibility with single-declaration workflow
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:
- Supporto per dichiarazioni di intento multiple per fattura
- Tab dedicato nel form fattura per gestire le associazioni DOI
- Validazione automatica degli importi e soglie disponibili
- Avvisi intelligenti quando gli importi non corrispondono
- Retrocompatibilità con il flusso a dichiarazione singola
Table of contents
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:
- Go to the "Declarations of Intent" tab in the invoice form
- Add one or more declarations using the list
- For each declaration, specify the amount to be covered
- 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:
- Accedi al tab "Dichiarazioni di Intento" nel form della fattura
- Aggiungi una o più dichiarazioni usando la lista
- Per ogni dichiarazione, specifica l'importo da coprire
- 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.
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.
- Nextev Srl
- Nextev Srl<odoo@nextev.it>
This module is maintained by the OCA.
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.




