ITA - Fattura elettronica - Emissione

l10n_it_fatturapa_out
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/16.0/l10n_it_fatturapa_out
VERSION
VERSION 1.9.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSeLBati, Sergio Zanchetta, Weblate, OCA-git-bot, Simone Rubino, Francesco Ballerini, micheledic, oca-ci, gianmarco, Docker @ kuntrawant, Alessandro Uffreduzzi, Marco Colombo, odooNextev, michelerusti, Borruso, LorenzoC0, TennyMKT, Salvo Rapisarda, mde-spring
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 19:11:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_account
    - l10n_it_fatturapa
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_vat_payability
    - l10n_it_fiscal_payment_term
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - attachment_indexation
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES elementpath
unidecode
xmlschema
asn1crypto
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
**Italiano**

Questo modulo consente di generare i file XML della fattura elettronica
versione 1.2

<http://www.fatturapa.gov.it/export/fatturazione/it/normativa/f-2.htm>

da inviare al Sistema di Interscambio (SdI).

<http://www.fatturapa.gov.it/export/fatturazione/it/sdi.htm>

**English**

This module allows you to generate the Electronic Invoice XML files
version 1.2

<http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-2.htm>

to be sent to the Exchange System (ES).

<http://www.fatturapa.gov.it/export/fatturazione/en/sdi.htm>

Code Analysis

Views touched (29)
XML IDNameModelTypeStatus
account_invoice_it_FatturaPA_export account_invoice_it_FatturaPA_export ir.ui.view qweb New
account_invoice_it_FatturaPA_sede account_invoice_it_FatturaPA_sede ir.ui.view qweb New
account_invoice_it_cedente_prestatore account_invoice_it_cedente_prestatore ir.ui.view qweb New
account_invoice_it_cessionario_committente account_invoice_it_cessionario_committente ir.ui.view qweb New
account_invoice_it_dati_bollo account_invoice_it_dati_bollo ir.ui.view qweb New
account_invoice_it_dati_cassa_previdenziale account_invoice_it_dati_cassa_previdenziale ir.ui.view qweb New
account_invoice_it_dati_ddt account_invoice_it_dati_ddt ir.ui.view qweb New
account_invoice_it_dati_documenti_correlati account_invoice_it_dati_documenti_correlati ir.ui.view qweb New
account_invoice_it_dati_documento_correlato account_invoice_it_dati_documento_correlato ir.ui.view qweb New
account_invoice_it_dati_ritenuta account_invoice_it_dati_ritenuta ir.ui.view qweb New
account_invoice_it_dati_trasmissione account_invoice_it_dati_trasmissione ir.ui.view qweb New
account_invoice_it_dati_trasporto account_invoice_it_dati_trasporto ir.ui.view qweb New
account_invoice_it_fattura_elettronica_body account_invoice_it_fattura_elettronica_body ir.ui.view qweb New
account_invoice_it_rappresentante_fiscale account_invoice_it_rappresentante_fiscale ir.ui.view qweb New
account_invoice_it_terzo_intermediario_soggetto_emittente account_invoice_it_terzo_intermediario_soggetto_emittente ir.ui.view qweb New
account_invoice_line_it_FatturaPA account_invoice_line_it_FatturaPA ir.ui.view qweb New
account_invoice_line_it_sconto_maggiorazione account_invoice_line_it_sconto_maggiorazione ir.ui.view qweb New
account_invoice_line_ritenuta account_invoice_line_ritenuta ir.ui.view qweb New
fatturapa_attachment_out_form_statusbar Allow to change status by clicking on the status bar fatturapa.attachment.out field Inherits l10n_it_fatturapa_out.view_fatturapa_out_attachment_form
view_account_config_settings view_account_config_settings res.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_account_invoice_fatturapa_out_filter view.account.invoice.fatturapa.out.filter account.move xpath Inherits account.view_account_invoice_filter
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form Inherits l10n_it_fatturapa.fatturapa_attachment_view_form
view_fatturapa_out_attachment_search fatturapa.attachment.out.search fatturapa.attachment.out search New
view_fatturapa_out_attachment_tree fatturapa.attachment.out.tree fatturapa.attachment.out tree New
view_invoice_fatturapa_out_tree view.invoice.fatturapa.out.tree account.move xpath Inherits account.view_invoice_tree
view_invoice_form_fatturapa account.invoice.fatturapa account.move button Inherits account.view_move_form
view_partner_form_fatturapa partner.form.fatturapa res.partner field Inherits l10n_it_fatturapa.view_partner_form_fatturapa
wizard_export_fatturapa_form_view Export Electronic Invoice wizard.export.fatturapa form New
wizard_export_fatturapa_form_view_regenerate Export Electronic Invoice Regenerate wizard.export.fatturapa xpath Inherits l10n_it_fatturapa_out.wizard_export_fatturapa_form_view
Models touched (8)

New fields (6)
  • e_invoice_hide_line_type Selection
    help='Choose which type of descriptive line will not be present in the e-invoice.\nIf empty, the same field in the partner is evaluated.' selection=E_INVOICE_HIDE_LINE_TYPE_SELECTION
  • fatturapa_attachment_out_id Many2one → fatturapa.attachment.out
    copy=False readonly=True args: 'fatturapa.attachment.out', 'E-invoice Export File'
  • fatturapa_payment_method_id Many2one → fatturapa.payment_method
    comodel_name='fatturapa.payment_method' compute='_compute_fatturapa_payment_term_data' help="Fiscal Payment Method used in the e-invoice, defaults to the Payment Term's Fiscal Payment Method." readonly=False store=True string='Fiscal Payment Method'
  • fatturapa_payment_term_id Many2one → fatturapa.payment_term
    comodel_name='fatturapa.payment_term' compute='_compute_fatturapa_payment_term_data' help="Fiscal Payment Term used in the e-invoice, defaults to the Payment Term's Fiscal Payment Term." readonly=False store=True string='Fiscal Payment Term'
  • fatturapa_state Selection
    compute='_compute_fatturapa_state' store='true' string='E-invoice State' args: [('ready', 'Ready to Send'), ('sent', 'Sent'), ('delivered', 'Delivered'), ('accepted', 'Accepted'), ('error', 'Error')]
  • has_pdf_invoice_print Boolean
    readonly=True related='fatturapa_attachment_out_id.has_pdf_invoice_print'
Public methods (2)
  • button_draft(self)
  • preventive_checks(self)

New fields (7)
  • delivered_date Datetime
    readonly=True
  • has_pdf_invoice_print Boolean
    compute='_compute_has_pdf_invoice_print' help='True if all the invoices have a printed report attached in the XML, False otherwise.' store=True
  • invoice_partner_id Many2one → res.partner
    compute='_compute_invoice_partner_id' store=True string='Customer' args: 'res.partner'
  • out_invoice_ids One2many → account.move
    readonly=True string='Out Invoices' args: 'account.move', 'fatturapa_attachment_out_id'
  • sending_date Datetime
    readonly=True args: 'Sent Date'
  • sending_user Many2one → res.users
    comodel_name='res.users' readonly=True
  • state Selection
    default='ready' selection=[('ready', 'Ready to Send'), ('sent', 'Sent'), ('sender_error', 'Sender Error'), ('recipient_error', 'Not delivered'), ('rejected', 'Rejected (PA)'), ('validated', 'Delivered'), ('accepted', 'Accepted')] tracking=True
Public methods (5)
  • file_name_exists(self, file_id)
  • get_file_vat(self)
    @api.model
  • reset_to_ready(self)
  • unlink(self)
  • write(self, vals)

New fields (1)
  • is_pdf_invoice_print Boolean
    help='This attachment contains the PDF report of the linked invoice'
Public methods (0)

No public methods.

New fields (4)
  • e_invoice_hide_line_type Selection
    help='Choose which type of descriptive line will not be present in e-invoices.' selection=E_INVOICE_HIDE_LINE_TYPE_SELECTION
  • e_invoice_transmitter_id Many2one → res.partner
    default=<expr> help='This partner will be used as transmitter in out invoice.' required=True args: 'res.partner', 'E-bill Transmitter'
  • max_invoice_in_xml Integer
    default=0 help='Customer default for maximum number of invoices to group in a single XML file. 0=Unlimited' string='Max Invoice # in XML'
  • xml_divisa_value Selection
    default=_DEFAULT_XML_DIVISA_VALUE string='XML Divisa value' args: [('keep_orig', 'Keep original'), ('force_eur', 'Force euro')]
Public methods (0)

No public methods.

New fields (4)
  • e_invoice_hide_line_type Selection
    readonly=False related='company_id.e_invoice_hide_line_type'
  • e_invoice_transmitter_id Many2one
    readonly=False related='company_id.e_invoice_transmitter_id'
  • max_invoice_in_xml Integer
    readonly=False related='company_id.max_invoice_in_xml'
  • xml_divisa_value Selection
    readonly=False related='company_id.xml_divisa_value'
Public methods (1)
  • onchange_company_id(self)
    @api.onchange('company_id')

New fields (2)
  • e_invoice_hide_line_type Selection
    help='Choose which type of descriptive line will not be present in the e-invoices of this partner.\nIf empty, the same field in the company is evaluated.' selection=E_INVOICE_HIDE_LINE_TYPE_SELECTION
  • max_invoice_in_xml Integer
    default=<expr> help='Maximum number of invoices to group in a single XML file.\nIf this is 0, then the number configured in the account settings is considered.' string='Max Invoice # in XML'
Public methods (0)

No public methods.

New fields (1)
  • report_print_menu Many2one → ir.actions.report
    help='This report will be automatically included in the created XML' args: 'ir.actions.report'
Public methods (12)
  • exportFatturaPA(self)
  • exportInvoiceXML(self, partner, invoice_ids, attach=False, context=None)
  • generate_attach_report(self, inv)
  • getAllTaxes(self, invoice)
    @api.model
    Generate summary data for taxes. Odoo does that for us, but only for nonzero taxes. SdI expects a summary for every tax mentioned in the invoice, even those with price_total == 0.
  • getImportoTotale(self, invoice)
    @api.model
    Entry point for other modules to override computation of ImportoTotaleDocumento
  • getPartnerId(self, invoice_ids)
  • getPayments(self, invoice)
    @api.model
    Entry point for other modules to override computation of DettaglioPagamento We use a specialized class to allow other modules change values w/o altering the original lines
  • getTemplateValues(self, template_values)
    @api.model
    Entry point for other modules to override values (and helper functions) passed to template
  • get_e_invoice_lines(self, invoice)
    @api.model
    Invoice lines are not all to be translated to e-invoice lines. For instance, some invoice lines will be translated to DatiCassaPrevidenziale nodes.
  • group_invoices_by_partner(self)
  • saveAttachment(self, fatturapa, number)
  • setProgressivoInvio(self, attach=False)

New fields (0)

No new fields.

Public methods (2)
  • exportFatturaPARegenerate(self)
  • updateAttachment(self, attach, fatturapa)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/14.0/l10n_it_fatturapa_out
VERSION
VERSION 3.9.3
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSeLBati, GitHub, Sergio Zanchetta, tafaRU, OCA Transbot, oca-travis, Weblate, OCA-git-bot, SimoRubi, sergiocorato, Simone Rubino, oca-ci, Docker @ kuntrawant, Giovanni, matteoopenf, Alessandro Uffreduzzi, Marco Colombo, michelerusti, Borruso, daniel-chionne, PicchiSeba, Alberto Re, Daniel Chionne, TennyMKT, Salvo Rapisarda
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:58
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_account
    - l10n_it_fatturapa
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_vat_payability
    - l10n_it_fiscal_payment_term
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - digest
    - resource
    - base_vat
    - attachment_indexation
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES elementpath
phonenumbers
unidecode
xmlschema
asn1crypto
codicefiscale
openupgradelib
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (29)
XML IDNameModelTypeStatus
account_invoice_it_FatturaPA_export account_invoice_it_FatturaPA_export ir.ui.view qweb New
account_invoice_it_FatturaPA_sede account_invoice_it_FatturaPA_sede ir.ui.view qweb New
account_invoice_it_cedente_prestatore account_invoice_it_cedente_prestatore ir.ui.view qweb New
account_invoice_it_cessionario_committente account_invoice_it_cessionario_committente ir.ui.view qweb New
account_invoice_it_dati_bollo account_invoice_it_dati_bollo ir.ui.view qweb New
account_invoice_it_dati_cassa_previdenziale account_invoice_it_dati_cassa_previdenziale ir.ui.view qweb New
account_invoice_it_dati_ddt account_invoice_it_dati_ddt ir.ui.view qweb New
account_invoice_it_dati_documenti_correlati account_invoice_it_dati_documenti_correlati ir.ui.view qweb New
account_invoice_it_dati_documento_correlato account_invoice_it_dati_documento_correlato ir.ui.view qweb New
account_invoice_it_dati_ritenuta account_invoice_it_dati_ritenuta ir.ui.view qweb New
account_invoice_it_dati_trasmissione account_invoice_it_dati_trasmissione ir.ui.view qweb New
account_invoice_it_dati_trasporto account_invoice_it_dati_trasporto ir.ui.view qweb New
account_invoice_it_fattura_elettronica_body account_invoice_it_fattura_elettronica_body ir.ui.view qweb New
account_invoice_it_rappresentante_fiscale account_invoice_it_rappresentante_fiscale ir.ui.view qweb New
account_invoice_it_terzo_intermediario_soggetto_emittente account_invoice_it_terzo_intermediario_soggetto_emittente ir.ui.view qweb New
account_invoice_line_it_FatturaPA account_invoice_line_it_FatturaPA ir.ui.view qweb New
account_invoice_line_it_sconto_maggiorazione account_invoice_line_it_sconto_maggiorazione ir.ui.view qweb New
account_invoice_line_ritenuta account_invoice_line_ritenuta ir.ui.view qweb New
fatturapa_attachment_out_form_statusbar Allow to change status by clicking on the status bar fatturapa.attachment.out field Inherits l10n_it_fatturapa_out.view_fatturapa_out_attachment_form
view_account_config_settings view_account_config_settings res.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_account_invoice_fatturapa_out_filter view.account.invoice.fatturapa.out.filter account.move xpath Inherits account.view_account_invoice_filter
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form Inherits l10n_it_fatturapa.fatturapa_attachment_view_form
view_fatturapa_out_attachment_search fatturapa.attachment.out.search fatturapa.attachment.out search New
view_fatturapa_out_attachment_tree fatturapa.attachment.out.tree fatturapa.attachment.out tree New
view_invoice_fatturapa_out_tree view.invoice.fatturapa.out.tree account.move xpath Inherits account.view_invoice_tree
view_invoice_form_fatturapa account.invoice.fatturapa account.move button Inherits account.view_move_form
view_partner_form_fatturapa partner.form.fatturapa res.partner field Inherits l10n_it_fatturapa.view_partner_form_fatturapa
wizard_export_fatturapa_form_view Export Electronic Invoice wizard.export.fatturapa form New
wizard_export_fatturapa_form_view_regenerate Export Electronic Invoice Regenerate wizard.export.fatturapa xpath Inherits l10n_it_fatturapa_out.wizard_export_fatturapa_form_view
Models touched (8)

New fields (3)
  • fatturapa_attachment_out_id Many2one → fatturapa.attachment.out
    copy=False readonly=True args: 'fatturapa.attachment.out', 'E-invoice Export File'
  • fatturapa_state Selection
    compute='_compute_fatturapa_state' store='true' string='E-invoice State' args: [('ready', 'Ready to Send'), ('sent', 'Sent'), ('delivered', 'Delivered'), ('accepted', 'Accepted'), ('error', 'Error')]
  • has_pdf_invoice_print Boolean
    readonly=True related='fatturapa_attachment_out_id.has_pdf_invoice_print'
Public methods (2)
  • button_draft(self)
  • preventive_checks(self)

New fields (7)
  • delivered_date Datetime
    readonly=True args: 'Delivered Date'
  • has_pdf_invoice_print Boolean
    compute='_compute_has_pdf_invoice_print' help='True if all the invoices have a printed report attached in the XML, False otherwise.' store=True
  • invoice_partner_id Many2one → res.partner
    compute='_compute_invoice_partner_id' store=True string='Customer' args: 'res.partner'
  • out_invoice_ids One2many → account.move
    readonly=True string='Out Invoices' args: 'account.move', 'fatturapa_attachment_out_id'
  • sending_date Datetime
    readonly=True args: 'Sent Date'
  • sending_user Many2one → res.users
    comodel_name='res.users' readonly=True string='Sending User'
  • state Selection
    default='ready' selection=[('ready', 'Ready to Send'), ('sent', 'Sent'), ('sender_error', 'Sender Error'), ('recipient_error', 'Not delivered'), ('rejected', 'Rejected (PA)'), ('validated', 'Delivered'), ('accepted', 'Accepted')] string='State' tracking=True
Public methods (5)
  • file_name_exists(self, file_id)
  • get_file_vat(self)
    @api.model
  • reset_to_ready(self)
  • unlink(self)
  • write(self, vals)

New fields (1)
  • is_pdf_invoice_print Boolean
    help='This attachment contains the PDF report of the linked invoice'
Public methods (0)

No public methods.

New fields (3)
  • e_invoice_transmitter_id Many2one → res.partner
    default=<expr> help='This partner will be used as transmitter in out invoice.' required=True args: 'res.partner', 'E-bill Transmitter'
  • max_invoice_in_xml Integer
    default=0 help='Customer default for maximum number of invoices to group in a single XML file. 0=Unlimited' string='Max Invoice # in XML'
  • xml_divisa_value Selection
    default=_DEFAULT_XML_DIVISA_VALUE string='XML Divisa value' args: [('keep_orig', 'Keep original'), ('force_eur', 'Force euro')]
Public methods (0)

No public methods.

New fields (3)
  • e_invoice_transmitter_id Many2one
    readonly=False related='company_id.e_invoice_transmitter_id'
  • max_invoice_in_xml Integer
    readonly=False related='company_id.max_invoice_in_xml'
  • xml_divisa_value Selection
    readonly=False related='company_id.xml_divisa_value'
Public methods (1)
  • onchange_company_id(self)
    @api.onchange('company_id')

New fields (1)
  • max_invoice_in_xml Integer
    default=<expr> help='Maximum number of invoices to group in a single XML file.\nIf this is 0, then the number configured in the account settings is considered.' string='Max Invoice # in XML'
Public methods (0)

No public methods.

New fields (1)
  • report_print_menu Selection
    help='This report will be automatically included in the created XML' selection='_get_selection'
Public methods (12)
  • exportFatturaPA(self)
  • exportInvoiceXML(self, partner, invoice_ids, attach=False, context=None)
  • generate_attach_report(self, inv)
  • getAllTaxes(self, invoice)
    @api.model
    Generate summary data for taxes. Odoo does that for us, but only for nonzero taxes. SdI expects a summary for every tax mentioned in the invoice, even those with price_total == 0.
  • getImportoTotale(self, invoice)
    @api.model
    Entry point for other modules to override computation of ImportoTotaleDocumento
  • getPartnerId(self, invoice_ids)
  • getPayments(self, invoice)
    @api.model
    Entry point for other modules to override computation of DettaglioPagamento We use a specialized class to allow other modules change values w/o altering the original lines
  • getTemplateValues(self, template_values)
    @api.model
    Entry point for other modules to override values (and helper functions) passed to template
  • get_e_invoice_lines(self, invoice)
    @api.model
    Invoice lines are not all to be translated to e-invoice lines. For instance, some invoice lines will be translated to DatiCassaPrevidenziale nodes.
  • group_invoices_by_partner(self)
  • saveAttachment(self, fatturapa, number)
  • setProgressivoInvio(self, attach=False)

New fields (0)

No new fields.

Public methods (2)
  • exportFatturaPARegenerate(self)
  • updateAttachment(self, attach, fatturapa)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/12.0/l10n_it_fatturapa_out
VERSION
VERSION 3.2.3
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSLorenzo Battistini, eLBati, GitHub, OCA Transbot, Víctor Martínez, oca-travis, Weblate, OCA-git-bot, SimoRubi, sergiocorato, Simone Rubino, Lara Baggio, Roberto Fichera, oca-ci, Docker @ kuntrawant, Giovanni, andreinl, Marco Colombo
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/12.0/l10n_it_fatturapa_out
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:29:17
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_account
    - l10n_it_fatturapa
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - uom
    - analytic
    - portal
    - http_routing
    - digest
    - base_vat
    - document
    - base_iban
    - test_mail
    - test_performance
    - mail_bot
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyxb
unidecode
asn1crypto
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (11)
XML IDNameModelTypeStatus
fatturapa_attachment_out_form_statusbar Allow to change status by clicking on the status bar fatturapa.attachment.out field Inherits l10n_it_fatturapa_out.view_fatturapa_out_attachment_form
view_account_config_settings view_account_config_settings res.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_account_invoice_fatturapa_out_filter view.account.invoice.fatturapa.out.filter account.invoice xpath Inherits account.view_account_invoice_filter
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form Inherits l10n_it_fatturapa.fatturapa_attachment_view_form
view_fatturapa_out_attachment_search fatturapa.attachment.out.search fatturapa.attachment.out search New
view_fatturapa_out_attachment_tree fatturapa.attachment.out.tree fatturapa.attachment.out tree New
view_invoice_fatturapa_out_tree view.invoice.fatturapa.out.tree account.invoice xpath Inherits account.invoice_tree
view_invoice_form_fatturapa account.invoice.fatturapa account.invoice button Inherits account.invoice_form
view_partner_form_fatturapa partner.form.fatturapa res.partner xpath Inherits l10n_it_fatturapa.view_partner_form_fatturapa
wizard_export_fatturapa_form_view Export Electronic Invoice wizard.export.fatturapa form New
wizard_export_fatturapa_form_view_regenerate Export Electronic Invoice Regenerate wizard.export.fatturapa xpath Inherits l10n_it_fatturapa_out.wizard_export_fatturapa_form_view
Models touched (8)

New fields (3)
  • fatturapa_attachment_out_id Many2one → fatturapa.attachment.out
    copy=False readonly=True args: 'fatturapa.attachment.out', 'E-invoice Export File'
  • fatturapa_state Selection
    compute='_compute_fatturapa_state' store='true' string='E-invoice State' args: [('ready', 'Ready to Send'), ('sent', 'Sent'), ('delivered', 'Delivered'), ('accepted', 'Accepted'), ('error', 'Error')]
  • has_pdf_invoice_print Boolean
    readonly=True related='fatturapa_attachment_out_id.has_pdf_invoice_print'
Public methods (4)
  • action_invoice_cancel(self)
    @api.multi
  • get_first_non_zero_tax(self)
  • preventive_checks(self)
  • set_taxes_for_descriptive_lines(self)

New fields (7)
  • delivered_date Datetime
    readonly=True args: 'Delivered Date'
  • has_pdf_invoice_print Boolean
    compute='_compute_has_pdf_invoice_print' help='True if all the invoices have a printed report attached in the XML, False otherwise.' store=True
  • invoice_partner_id Many2one → res.partner
    compute='_compute_invoice_partner_id' store=True string='Customer' args: 'res.partner'
  • out_invoice_ids One2many → account.invoice
    readonly=True string='Out Invoices' args: 'account.invoice', 'fatturapa_attachment_out_id'
  • sending_date Datetime
    readonly=True args: 'Sent Date'
  • sending_user Many2one → res.users
    comodel_name='res.users' readonly=True string='Sending User'
  • state Selection
    default='ready' selection=[('ready', 'Ready to Send'), ('sent', 'Sent'), ('sender_error', 'Sender Error'), ('recipient_error', 'Not delivered'), ('rejected', 'Rejected (PA)'), ('validated', 'Delivered'), ('accepted', 'Accepted')] string='State' track_visibility='onchange'
Public methods (5)
  • file_name_exists(self, file_id)
  • get_file_vat(self)
    @api.model
  • reset_to_ready(self)
    @api.multi
  • unlink(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (1)
  • is_pdf_invoice_print Boolean
    help='This attachment contains the PDF report of the linked invoice'
Public methods (0)

No public methods.

New fields (2)
  • max_invoice_in_xml Integer
    default=0 help='Customer default for maximum number of invoices to group in a single XML file. 0=Unlimited' string='Max Invoice # in XML'
  • xml_divisa_value Selection
    default=_DEFAULT_XML_DIVISA_VALUE string='XML Divisa value' args: [('keep_orig', 'Keep original'), ('force_eur', 'Force euro')]
Public methods (0)

No public methods.

New fields (2)
  • max_invoice_in_xml Integer
    readonly=False related='company_id.max_invoice_in_xml'
  • xml_divisa_value Selection
    readonly=False related='company_id.xml_divisa_value'
Public methods (1)
  • onchange_company_id(self)
    @api.onchange('company_id')

New fields (1)
  • max_invoice_in_xml Integer
    default=<expr> help='Maximum number of invoices to group in a single XML file. 0=Unlimited' string='Max Invoice # in XML'
Public methods (0)

No public methods.

New fields (1)
  • report_print_menu Many2one → ir.actions.actions
    comodel_name='ir.actions.actions' domain=_domain_ir_values help='This report will be automatically included in the created XML'
Public methods (24)
  • exportFatturaPA(self)
  • exportInvoiceXML(self, company, partner, invoice_ids, attach=False, context=None)
  • generate_attach_report(self, inv)
  • getPartnerId(self, invoice_ids)
  • group_invoices_by_partner(self)
  • saveAttachment(self, fatturapa, number)
  • setAttachments(self, invoice, body)
  • setCedentePrestatore(self, company, fatturapa)
  • setCessionarioCommittente(self, partner, fatturapa)
  • setDatiDDT(self, invoice, body)
  • setDatiGeneraliDocumento(self, invoice, body)
  • setDatiPagamento(self, invoice, body)
  • setDatiRiepilogo(self, invoice, body)
  • setDatiTrasmissione(self, company, partner, fatturapa)
  • setDatiTrasporto(self, invoice, body)
  • setDettaglioLinea(self, line_no, line, body, price_precision, uom_precision)
  • setDettaglioLinee(self, invoice, body)
  • setFatturaElettronicaBody(self, inv, FatturaElettronicaBody)
  • setFatturaElettronicaHeader(self, company, partner, fatturapa)
  • setProgressivoInvio(self, fatturapa, attach=False)
  • setRappresentanteFiscale(self, company, fatturapa)
  • setRelatedDocumentTypes(self, invoice, body)
  • setScontoMaggiorazione(self, line)
  • setTerzoIntermediarioOSoggettoEmittente(self, company, fatturapa)

New fields (0)

No new fields.

Public methods (2)
  • exportFatturaPARegenerate(self)
  • updateAttachment(self, attach, fatturapa)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/11.0/l10n_it_fatturapa_out
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSLorenzo Battistini, eLBati, tafaRU, Francesco Apruzzese, OCA Transbot, oca-travis, Weblate, OCA-git-bot, SimoRubi, As400it, Sergio Corato, alex_cam
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/11.0/l10n_it_fatturapa_out
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:23:57
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-reporting:
    - account_tax_balance
OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_account
    - l10n_it_fatturapa
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
OCA/server-ux:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - analytic
    - web_planner
    - portal
    - http_routing
    - base_vat
    - document
    - base_iban
    - account_invoicing
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyxb
unidecode
asn1crypto
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form New
view_fatturapa_out_attachment_search fatturapa.attachment.out.search fatturapa.attachment.out search New
view_fatturapa_out_attachment_tree fatturapa.attachment.out.tree fatturapa.attachment.out tree New
view_invoice_form_fatturapa account.invoice.fatturapa account.invoice button Inherits account.invoice_form
wizard_export_fatturapa_form_view Export Electronic Invoice wizard.export.fatturapa form New
Models touched (4)

New fields (2)
  • fatturapa_attachment_out_id Many2one → fatturapa.attachment.out
    copy=False readonly=True args: 'fatturapa.attachment.out', 'E-invoice Export File'
  • has_pdf_invoice_print Boolean
    readonly=True related='fatturapa_attachment_out_id.has_pdf_invoice_print'
Public methods (2)
  • action_invoice_cancel(self)
    @api.multi
  • preventive_checks(self)

New fields (5)
  • att_name Char
    related='ir_attachment_id.name' store=True string='E-invoice file name'
  • has_pdf_invoice_print Boolean
    compute='_compute_has_pdf_invoice_print' help='True if all the invoices have a printed report attached in the XML, False otherwise.' store=True
  • invoice_partner_id Many2one → res.partner
    compute='_compute_invoice_partner_id' store=True string='Customer' args: 'res.partner'
  • ir_attachment_id Many2one → ir.attachment
    ondelete='cascade' required=True args: 'ir.attachment', 'Attachment'
  • out_invoice_ids One2many → account.invoice
    readonly=True string='Out Invoices' args: 'account.invoice', 'fatturapa_attachment_out_id'
Public methods (3)
  • file_name_exists(self, file_id)
  • get_file_vat(self)
    @api.model
  • write(self, vals)
    @api.multi

New fields (1)
  • is_pdf_invoice_print Boolean
    help='This attachment contains the PDF report of the linked invoice'
Public methods (0)

No public methods.

New fields (1)
  • report_print_menu Many2one → ir.actions.actions
    comodel_name='ir.actions.actions' domain=_domain_ir_values help='This report will be automatically included in the created XML'
Public methods (23)
  • exportFatturaPA(self)
  • generate_attach_report(self, inv)
  • getPartnerId(self, invoice_ids)
  • group_invoices_by_partner(self)
  • saveAttachment(self, fatturapa, number)
  • setAttachments(self, invoice, body)
  • setCedentePrestatore(self, company, fatturapa)
  • setCessionarioCommittente(self, partner, fatturapa)
  • setDatiDDT(self, invoice, body)
  • setDatiGeneraliDocumento(self, invoice, body)
  • setDatiPagamento(self, invoice, body)
  • setDatiRiepilogo(self, invoice, body)
  • setDatiTrasmissione(self, company, partner, fatturapa)
  • setDatiTrasporto(self, invoice, body)
  • setDettaglioLinea(self, line_no, line, body, price_precision, uom_precision)
  • setDettaglioLinee(self, invoice, body)
  • setFatturaElettronicaBody(self, inv, FatturaElettronicaBody)
  • setFatturaElettronicaHeader(self, company, partner, fatturapa)
  • setProgressivoInvio(self, fatturapa)
  • setRappresentanteFiscale(self, company, fatturapa)
  • setRelatedDocumentTypes(self, invoice, body)
  • setScontoMaggiorazione(self, line)
  • setTerzoIntermediarioOSoggettoEmittente(self, company, fatturapa)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/10.0/l10n_it_fatturapa_out
VERSION
VERSION 2.0.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSLorenzo Battistini, eLBati, Pedro M. Baeza, GitHub, Sergio Zanchetta, tafaRU, Alex Comba, OCA Transbot, oca-travis, Weblate, OCA-git-bot, SimoRubi, Sergio Corato, Roberto Fichera
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/10.0/l10n_it_fatturapa_out
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:19:56
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/account-financial-tools:
    - account_fiscal_year
OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
OCA/server-tools:
    - date_range
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - web_tour
    - report
    - analytic
    - web_planner
    - base_vat
    - document
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES pyxb
unidecode
asn1crypto
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (7)
XML IDNameModelTypeStatus
view_account_config_settings view_account_config_settings account.config.settings xpath Inherits l10n_it_fatturapa.view_account_config_settings
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form New
view_fatturapa_out_attachment_search fatturapa.attachment.out.search fatturapa.attachment.out search New
view_fatturapa_out_attachment_tree fatturapa.attachment.out.tree fatturapa.attachment.out tree New
view_invoice_form_fatturapa account.invoice.fatturapa account.invoice button Inherits account.invoice_form
view_partner_form_fatturapa partner.form.fatturapa res.partner field Inherits l10n_it_fatturapa.view_partner_form_fatturapa
wizard_export_fatturapa_form_view Export Electronic Invoice wizard.export.fatturapa form New
Models touched (7)

New fields (1)
  • max_invoice_in_xml Integer
    related='company_id.max_invoice_in_xml'
Public methods (1)
  • onchange_company_id(self)
    @api.onchange('company_id')

New fields (2)
  • fatturapa_attachment_out_id Many2one → fatturapa.attachment.out
    copy=False readonly=True args: 'fatturapa.attachment.out', 'E-invoice Export File'
  • has_pdf_invoice_print Boolean
    readonly=True related='fatturapa_attachment_out_id.has_pdf_invoice_print'
Public methods (2)
  • action_invoice_cancel(self)
    @api.multi
  • preventive_checks(self)

New fields (5)
  • att_name Char
    related='ir_attachment_id.name' store=True
  • has_pdf_invoice_print Boolean
    compute='_compute_has_pdf_invoice_print' help='True if all the invoices have a printed report attached in the XML, False otherwise.' store=True
  • invoice_partner_id Many2one → res.partner
    compute='_compute_invoice_partner_id' store=True string='Customer' args: 'res.partner'
  • ir_attachment_id Many2one → ir.attachment
    ondelete='cascade' required=True args: 'ir.attachment', 'Attachment'
  • out_invoice_ids One2many → account.invoice
    readonly=True string='Out Invoices' args: 'account.invoice', 'fatturapa_attachment_out_id'
Public methods (3)
  • file_name_exists(self, file_id)
  • get_file_vat(self)
    @api.model
  • write(self, vals)
    @api.multi

New fields (1)
  • is_pdf_invoice_print Boolean
    help='This attachment contains the PDF report of the linked invoice'
Public methods (0)

No public methods.

New fields (1)
  • max_invoice_in_xml Integer
    default=0 help='Customer default for maximum number of invoices to group in a single XML file. 0=Unlimited' string='Max Invoice # in XML'
Public methods (0)

No public methods.

New fields (1)
  • max_invoice_in_xml Integer
    default=<expr> help='Maximum number of invoices to group in a single XML file. 0=Unlimited' string='Max Invoice # in XML'
Public methods (0)

No public methods.

New fields (1)
  • report_print_menu Many2one → ir.values
    comodel_name='ir.values' domain=_domain_ir_values help='This report will be automatically included in the created XML'
Public methods (24)
  • exportFatturaPA(self)
  • exportInvoiceXML(self, company, partner, invoice_ids, attach=False, context=None)
  • generate_attach_report(self, inv)
  • getPartnerId(self, invoice_ids)
  • group_invoices_by_partner(self)
  • saveAttachment(self, fatturapa, number)
  • setAttachments(self, invoice, body)
  • setCedentePrestatore(self, company, fatturapa)
  • setCessionarioCommittente(self, partner, fatturapa)
  • setDatiDDT(self, invoice, body)
  • setDatiGeneraliDocumento(self, invoice, body)
  • setDatiPagamento(self, invoice, body)
  • setDatiRiepilogo(self, invoice, body)
  • setDatiTrasmissione(self, company, partner, fatturapa)
  • setDatiTrasporto(self, invoice, body)
  • setDettaglioLinea(self, line_no, line, body, price_precision, uom_precision)
  • setDettaglioLinee(self, invoice, body)
  • setFatturaElettronicaBody(self, inv, FatturaElettronicaBody)
  • setFatturaElettronicaHeader(self, company, partner, fatturapa)
  • setProgressivoInvio(self, fatturapa, attach=False)
  • setRappresentanteFiscale(self, company, fatturapa)
  • setRelatedDocumentTypes(self, invoice, body)
  • setScontoMaggiorazione(self, line)
  • setTerzoIntermediarioOSoggettoEmittente(self, company, fatturapa)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/9.0/l10n_it_fatturapa_out
VERSION
VERSION 0.1.1
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSAgile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSAgile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSAlexandre Fayolle, Pedro M. Baeza, Stéphane Bidoul (ACSONE)
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:15:20
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_base
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_split_payment
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - bus
    - report
    - analytic
    - web_tip
    - web_planner
    - base_vat
    - document
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
pyxb
codicefiscale
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form New
view_invoice_form_fatturapa account.invoice.fatturapa account.invoice xpath Inherits account.invoice_form
wizard_export_fatturapa_form_view Export FatturaPA wizard.export.fatturapa form New
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (19)
  • exportFatturaPA(self, cr, uid, ids, context=None)
  • getPartnerId(self, cr, uid, invoice_ids, context=None)
  • saveAttachment(self, cr, uid, context=None)
  • setAttachments(self, cr, uid, invoice, body, context=None)
  • setCedentePrestatore(self, cr, uid, company, context=None)
  • setCessionarioCommittente(self, cr, uid, partner, context=None)
  • setDatiGeneraliDocumento(self, cr, uid, invoice, body, context=None)
  • setDatiPagamento(self, cr, uid, invoice, body, context=None)
  • setDatiRiepilogo(self, cr, uid, invoice, body, context=None)
  • setDatiTrasmissione(self, cr, uid, company, partner, context=None)
  • setDatiTrasporto(self, cr, uid, invoice, body, context=None)
  • setDettaglioLinee(self, cr, uid, invoice, body, context=None)
  • setFatturaElettronicaBody(self, cr, uid, inv, FatturaElettronicaBody, context=None)
  • setFatturaElettronicaHeader(self, cr, uid, company, partner, context=None)
  • setProgressivoInvio(self, cr, uid, context=None)
  • setRappresentanteFiscale(self, cr, uid, company, context=None)
  • setRelatedDocumentTypes(self, cr, uid, invoice, body, context=None)
  • setSoggettoEmittente(self, cr, uid, context=None)
  • setTerzoIntermediarioOSoggettoEmittente(self, cr, uid, company, context=None)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/8.0/l10n_it_fatturapa_out
VERSION
VERSION 4.0.0
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSStéphane Bidoul, Lorenzo Battistini, Alexandre Fayolle, eLBati, GitHub, Stéphane Bidoul (ACSONE), Alex Comba, OCA Transbot, Leonardo Donelli, archetipo, oca-travis, Weblate, OCA-git-bot, SimoRubi, v.terzulli, sergiocorato, As400it, Sergio Corato, andrea4ever
WEBSITE
WEBSITEhttps://github.com/OCA/l10n-italy/tree/8.0/l10n_it_fatturapa_out
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:11:22
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-italy:
    - l10n_it_account
    - l10n_it_fiscalcode
    - l10n_it_base
    - l10n_it_fatturapa
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_account_tax_kind
    - l10n_it_esigibilita_iva
    - l10n_it_fiscal_payment_term
    - l10n_it_split_payment
    - l10n_it_fiscal_document_type
OCA/partner-contact:
    - partner_firstname
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - decimal_precision
    - mail
    - report
    - analytic
    - board
    - edi
    - email_template
    - base_vat
    - document
    - knowledge
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
codicefiscale
asn1crypto
pyxb
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (5)
XML IDNameModelTypeStatus
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form New
view_fatturapa_out_attachment_search fatturapa.attachment.out.search fatturapa.attachment.out search New
view_fatturapa_out_attachment_tree fatturapa.attachment.out.tree fatturapa.attachment.out tree New
view_invoice_form_fatturapa account.invoice.fatturapa account.invoice button Inherits account.invoice_form
wizard_export_fatturapa_form_view Export Electronic Invoice wizard.export.fatturapa form New
Models touched (5)

New fields (2)
  • fatturapa_attachment_out_id Many2one → fatturapa.attachment.out
    copy=False readonly=True args: 'fatturapa.attachment.out', 'FatturaPA Export File'
  • has_pdf_invoice_print Boolean
    readonly=True related='fatturapa_attachment_out_id.has_pdf_invoice_print'
Public methods (2)
  • action_cancel(self)
    @api.multi
  • preventive_checks(self)

New fields (4)
  • has_pdf_invoice_print Boolean
    compute='_compute_has_pdf_invoice_print' help='True if all the invoices have a printed report attached in the XML, False otherwise.' store=True
  • invoice_partner_id Many2one → res.partner
    compute='_compute_invoice_partner_id' store=True string='Customer' args: 'res.partner'
  • ir_attachment_id Many2one → ir.attachment
    ondelete='cascade' required=True args: 'ir.attachment', 'Attachment'
  • out_invoice_ids One2many → account.invoice
    readonly=True string='Out Invoices' args: 'account.invoice', 'fatturapa_attachment_out_id'
Public methods (5)
  • action_show_preview(self)
    @api.multi
  • file_name_exists(self, file_id)
  • get_file_vat(self)
    @api.model
  • unlink(self)
    @api.multi
  • write(self, vals)
    @api.multi

New fields (1)
  • is_pdf_invoice_print Boolean
    help='This attachment contains the PDF report of the linked invoice'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • report_print_menu Many2one → ir.values
    comodel_name='ir.values' domain=_domain_ir_values help='This report will be automatically included in the created XML'
Public methods (23)
  • exportFatturaPA(self)
    @api.multi
  • generate_attach_report(self, inv)
    @api.v8
  • getPartnerId(self, invoice_ids)
  • group_invoices_by_partner(self)
  • saveAttachment(self, fatturapa, number)
  • setAttachments(self, invoice, body)
  • setCedentePrestatore(self, company, fatturapa)
  • setCessionarioCommittente(self, partner, fatturapa)
  • setDatiDDT(self, invoice, body)
  • setDatiGeneraliDocumento(self, invoice, body)
  • setDatiPagamento(self, invoice, body)
  • setDatiRiepilogo(self, invoice, body)
  • setDatiTrasmissione(self, company, partner, fatturapa)
  • setDatiTrasporto(self, invoice, body)
  • setDettaglioLinea(self, line_no, line, body, price_precision, uom_precision)
  • setDettaglioLinee(self, invoice, body)
  • setFatturaElettronicaBody(self, inv, FatturaElettronicaBody)
  • setFatturaElettronicaHeader(self, company, partner, fatturapa)
  • setProgressivoInvio(self, fatturapa)
  • setRappresentanteFiscale(self, company, fatturapa)
  • setRelatedDocumentTypes(self, invoice, body)
  • setScontoMaggiorazione(self, line)
  • setTerzoIntermediarioOSoggettoEmittente(self, company, fatturapa)
REPOSITORY
REPOSITORYOCA/l10n-italy
GIT
GIThttps://github.com/OCA/l10n-italy.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/l10n-italy/tree/7.0/l10n_it_fatturapa_out
VERSION
VERSION 0.1.1
CATEGORY
CATEGORYLocalization/Italy
LICENSE
LICENSEAGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), Agile Business Group, Davide Corio, Innoviu
COMMITTERS
COMMITTERSLorenzo Battistini, Alexandre Fayolle, eLBati, Stéphane Bidoul (ACSONE), OCA Transbot, hurrinico, archetipo
WEBSITE
WEBSITEhttp://www.agilebg.com
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:07:13
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/l10n-italy:
    - l10n_it_fatturapa
    - l10n_it_base
    - l10n_it_fiscalcode
    - l10n_it_ipa
    - l10n_it_rea
    - l10n_it_split_payment
odoo/odoo:
    - account
    - base_setup
    - base
    - web_kanban
    - web
    - product
    - process
    - decimal_precision
    - mail
    - analytic
    - board
    - edi
    - email_template
    - document
    - knowledge
    - base_iban
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES unidecode
pyxb
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
    :alt: License


Italian Localization - FatturaPA - Emission
===========================================

This module allows you to generate the fatturaPA XML file version 1.1
http://www.fatturapa.gov.it/export/fatturazione/en/normativa/f-2.htm
to be sent to the Exchange System
http://www.fatturapa.gov.it/export/fatturazione/en/sdi.htm


Configuration
=============

See l10n_it_fatturapa


Usage
=====

 * Fill invoice data you need to export. For instance, in
   'related documents' TAB, or in 'related documents' section
   within invoice line.

 * Select N invoices and run 'Export FatturaPA' wizard

Credits
=======

Contributors
------------

* Davide Corio <davide.corio@abstract.it>
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Roberto Onnis <roberto.onnis@innoviu.com>
* Alessio Gerace <alessio.gerace@agilebg.com>

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: http://odoo-community.org

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.

To contribute to this module, please visit http://odoo-community.org.

Code Analysis

Views touched (3)
XML IDNameModelTypeStatus
view_fatturapa_out_attachment_form fatturapa.attachment.out.form fatturapa.attachment.out form New
view_invoice_form_fatturapa account.invoice.fatturapa account.invoice xpath Inherits account.invoice_form
wizard_export_fatturapa_form_view Export FatturaPA wizard.export.fatturapa form New
Models touched (3)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (19)
  • exportFatturaPA(self, cr, uid, ids, context=None)
  • getPartnerId(self, cr, uid, invoice_ids, context=None)
  • saveAttachment(self, cr, uid, context=None)
  • setAttachments(self, cr, uid, invoice, body, context=None)
  • setCedentePrestatore(self, cr, uid, company, context=None)
  • setCessionarioCommittente(self, cr, uid, partner, context=None)
  • setDatiGeneraliDocumento(self, cr, uid, invoice, body, context=None)
  • setDatiPagamento(self, cr, uid, invoice, body, context=None)
  • setDatiRiepilogo(self, cr, uid, invoice, body, context=None)
  • setDatiTrasmissione(self, cr, uid, company, partner, context=None)
  • setDatiTrasporto(self, cr, uid, invoice, body, context=None)
  • setDettaglioLinee(self, cr, uid, invoice, body, context=None)
  • setFatturaElettronicaBody(self, cr, uid, inv, FatturaElettronicaBody, context=None)
  • setFatturaElettronicaHeader(self, cr, uid, company, partner, context=None)
  • setProgressivoInvio(self, cr, uid, context=None)
  • setRappresentanteFiscale(self, cr, uid, company, context=None)
  • setRelatedDocumentTypes(self, cr, uid, invoice, body, context=None)
  • setSoggettoEmittente(self, cr, uid, context=None)
  • setTerzoIntermediarioOSoggettoEmittente(self, cr, uid, company, context=None)