OdooWiki OCA HUB

ITA - Fattura elettronica - Cassa previdenziale

l10n_it_fatturapa_out_welfare folder_open OCA/l10n-italy open_in_new
Localization/Italy License: AGPL-3

Italiano

Aggiungere la cassa previdenziale alla fattura e alla fattura elettronica.

English

Add Welfare Amount to Invoice and Electronic Invoice.

auto_awesome What this module does

AI-generated from the code · Odoo 12.0

Adds Italian social security fund (cassa previdenziale) amounts to customer invoices and includes them in the electronic invoice XML sent to the Italian tax authority.

This module lets you record Italian social security fund contributions (cassa previdenziale) on customer invoices and transmit them correctly in the electronic invoice.

  • A new configuration screen, 'Welfare Fund Type Amounts', is available under the Italian e-invoice menu. There you define each fund type with its percentage amount and an optional administration reference. The combination of fund type and amount must be unique.
  • On each invoice line you can select one or more welfare fund amounts. A 'Generate Welfare Lines' button appears on the invoice when needed; it creates separate grouping lines that carry the computed welfare amount (percentage applied to the subtotal of the related lines) and copies the account and taxes from the first related line.
  • You cannot validate an invoice while welfare lines still need to be regenerated: Odoo blocks it with an error asking you to regenerate them first.
  • When the electronic invoice is generated, the welfare data is written into the DatiCassaPrevidenziale section, including fund type, rate, contribution amount, VAT rate, taxable amount, withholding flag, VAT nature code and administration reference. The grouping lines themselves are excluded from the ordinary invoice line list in the XML.

It extends account.invoice, account.invoice.line and the electronic invoice export wizard, and adds the welfare.fund.type.amount model.

Models and fields (4)
  • account.invoice · extends an existing modelshould_regenerate_welfare_lines
  • account.invoice.line · extends an existing modelwelfare_fund_type_amount_ids (Welfare Fund Type Amounts), welfare_grouped_invoice_line_ids (Grouped Welfare Invoice Lines), welfare_grouping_invoice_line_ids (Grouping Welfare Invoice Lines), welfare_grouping_fund_type_amount_id (Grouped Welfare Amount)
  • wizard.export.fatturapa · extends an existing model
  • welfare.fund.type.amount · new modelname, amount, welfare_fund_type_id, administration_reference

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

In Fatturazione > Configurazione > Contabilità > Fiscalità italiana > Fatturazione elettronica > Importi cassa previdenziale, creare le casse previdenziali.

English

In Accounting > Configuration > Accounting > Italian Localization > Electronic invoicing > Welfare Fund Type Amounts, create the welfare amounts.

Italiano

Nella fattura, impostare le casse previdenziali configurate e cliccare su "Genera righe cassa previdenziale".

English

In the invoice, set the configured welfares and click on "Generate Welfare Lines".

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.