OdooWiki OCA HUB

ITA - Fattura elettronica - Integrazione DDT

l10n_it_fatturapa_out_ddt folder_open OCA/l10n-italy open_in_new
Hidden License: AGPL-3

Italiano

Questo modulo consente di scegliere se e come compilare i campi XML relativi ai DDT, nei due casi "fattura differita" e "fattura accompagnatoria".

English

The module allows to choose if and how to fill XML fields related to TDs, in the two cases 'deferred invoice' and 'accompanying invoice'.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds transport document (DDT) information to Italian electronic invoices. Users can choose whether to include DDT data or transport data in the XML file, and invoices created from a DDT automatically get the TD24 document type.

This module links transport documents (DDT) with Italian electronic invoice generation. When you create an invoice from a transport document, the system can automatically assign the TD24 document type code, unless the invoice already has a deferred invoice code (TD24 or TD25). This automatic behaviour is controlled by a new setting in Accounting configuration, enabled by default.

When exporting an electronic invoice, a new field 'TD Data' appears in the export wizard. You can choose: - 'Include TD Data': adds the DDT number, date and the related invoice line numbers to the XML. - 'Include transport data': adds transport details such as transport method, reason, number of parcels, goods description, gross and net weight, incoterms, and carrier information (including VAT number and fiscal code). If the carrier has no VAT number, an error is raised.

The wizard automatically pre-selects 'Include TD Data' if any invoice line is linked to a DDT line. The module affects the models res.company, res.config.settings, stock.picking.package.preparation, and wizard.export.fatturapa. It adds a setting in the Accounting configuration screen and a field in the electronic invoice export wizard.

Models and fields (4)
  • res.company · extends an existing modelauto_set_deferred_invoice_type (Automatically set document type for deferred invoices)
  • res.config.settings · extends an existing modelauto_set_deferred_invoice_type
  • wizard.export.fatturapa · extends an existing modelinclude_ddt_data (TD Data)
  • stock.picking.package.preparation · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 12.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/l10n-italy.

terminal Installation and usage

OCA documentation · Odoo 12.0

Italiano

Nelle impostazioni di configurazione della fatturazione elettronica è possibile disabilitare il campo "Impostare automaticamente il tipo di documento per le fatture differite".

English

In electronic invoicing configuration settings, you can disable the field "Automatically set document type for deferred invoices".

Italiano

Nella procedura guidata di esportazione della fattura elettronica è possibile scegliere "Includi dati DDT" oppure "Includi dati trasporto".

Nel primo caso il sistema aggiungerà al file XML i dati relativi a "fattura differita", per specificare i documenti di consegna merci (DDT).

Nel secondo i dati relativi alla "fattura accompagnatoria", per fornire le informazioni sul trasporto.

English

In export electronic invoice wizard, you can choose 'include TD data' or 'include transport data'.

In the first case, the system will add to XML file data related to 'deferred invoice', to specify the documents (TD) that delivered goods.

In the second one, data related to 'accompanying invoice', to specify information about transport.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.