OdooWiki OCA HUB

ITA - Fattura elettronica - Integrazione sconto triplo

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

Italiano

Questo modulo consente di generare correttamente la fattura elettronica (XML) quando il modulo account_invoice_triple_discount è installato.

English

The module allows to use correctly generate the Electronic Invoice (XML) when the module account_invoice_triple_discount is installed.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Automatically makes Italian electronic invoices (XML) include all three discount percentages from the triple discount module, instead of only one.

This is a bridge module that installs itself automatically when both the Italian electronic invoice module and the triple discount module are present. It does not add any new menu or screen; it changes how the electronic invoice file is generated.

When you generate the Italian electronic invoice (XML) from an invoice that uses multiple discounts on its lines, the module reads each discount percentage on the line and writes a separate discount entry (ScontoMaggiorazione, type SC) for every discount that is not zero. Discounts equal to zero are skipped, and each percentage is formatted with two decimals.

It works by extending the electronic invoice export wizard (wizard.export.fatturapa) and by overriding the invoice line template used to build the XML, so the standard single-discount output is replaced by the list of all applicable discounts.

Business effect: the XML sent to the Italian tax authority reflects the real discounts applied on the invoice lines, keeping the electronic invoice consistent with the invoice content. No checks, emails or scheduled actions are added.

Models and fields (1)
  • wizard.export.fatturapa · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 16.0

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

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.