TIP: You can type at any time to perform a new search.
Italy - E-invoicing
l10n_it_edi · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 0.5
- Category
- Accounting/Localizations/EDI
- Folder size
- 0.84 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- Yes
- Website
- http://www.odoo.com/
- Last tracking update
- 2026-08-19 10:15:33
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Xavier Morel, odoo, Josse Colpaert, Odoo Translation Bot, Nicolas Lempereur, qdp-odoo, Aaron Bohy, Laurent Smet, Julien Castiaux, Andrea Grazioso (agr-odoo), Paul Morelle, Anh Thao Pham (pta), Gorash, Pierre Paridans, william-andre, John Laterre (jol), Maximilien (malb), Thomas Becquevort (thbe), Gauthier Wala (gawa), Ali Alfie (alal), Yosua Nicolaus, Dylan Kiss (dyki), Paolo Gatti, Julien Alardot (jual), micheledic, guva-odoo, Paul Stroobant, Louis (loti), Sven Fuehr, Mohamed GadAlrab, kcv-odoo, Louis Gobert, dijo-odoo, Harsh Shah, aamo-odoo, Mathieu Coutant, yagp-odoo, Claire (clbr), gteboul, Abdo Mongy, Léo Gizard, Antoine Dupuis, Maira Salazar (srma), Ahmed Abdelaziz Hasaneen, AhmedElemary57, Mohammad Abdulmoneim (abdu), khsr-odoo, Pierre Pulinckx, Anton Romanova (roan), Michaël Mattiello, Corentin Heinix (cohe), Corentin Lombard, Carmine, Sherif Gabr, MaximeNoirhomme, Krzysztof Magusiak (krma), Omar (OSAH), Hazem Ibrahim, utma-odoo, Ester Andreetto, bhra-odoo, mojem, MAGREMENT, Jacob Was (jacw), suma-odoo, shzi-odoo, Alberto Giardino
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- l10n_it_edi_doi, l10n_it_edi_sale, l10n_it_stock_ddt
- Description
E-invoice implementation
Code Analysis ⓘ
Views touched (21)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_invoice_FatturaPA_origin_document |
account_invoice_FatturaPA_origin_document | ir.ui.view | qweb | New |
account_invoice_form_l10n_it |
account.move.form.l10n.it | account.move | form | Inherits account.view_move_form |
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_simplified_FatturaPA_export |
account_invoice_it_simplified_FatturaPA_export | ir.ui.view | qweb | New |
account_invoice_line_it_FatturaPA |
account_invoice_line_it_FatturaPA | ir.ui.view | qweb | New |
account_invoice_line_it_simplified_FatturaPA |
account_invoice_line_it_simplified_FatturaPA | ir.ui.view | qweb | New |
account_view_tax_form_l10n_it_edi_extended |
account.tax.form.l10n.it.edi.extended | account.tax | form | Inherits l10n_it.account_tax_form_l10n_it |
address_form_fields |
Show l10n_it fields | ir.ui.view | qweb | Inherits portal.address_form_fields |
l10n_it_ddt |
ddt.form.l10n.it | l10n_it.ddt | form | New |
l10n_it_ddt_list_view |
l10n_it.ddt.list.view | l10n_it.ddt | list | New |
l10n_it_document_type_form |
l10n_it.document.type.form | l10n_it.document.type | form | New |
l10n_it_document_type_tree |
Document Type Tree | l10n_it.document.type | list | New |
report_invoice_document |
report_invoice_document | ir.ui.view | qweb | Inherits account.report_invoice_document |
res_company_form_l10n_it |
res.company.form.l10n.it | res.company | form | Inherits base.view_company_form |
res_config_settings_view_form |
res.config.settings.view.form.inherit.proxy.user | res.config.settings | form | Inherits account.res_config_settings_view_form |
res_partner_form_l10n_it |
res.partner.form.l10n.it | res.partner | form | Inherits account.view_partner_property_form |
res_partner_tree_l10n_it |
res.partner.list.l10n.it | res.partner | list | Inherits base.view_partner_tree |
view_account_invoice_filter |
account.invoice.select.inherit | account.move | Inherits account.view_account_invoice_filter | |
view_account_journal_form_l10n_it |
account.journal.form | account.journal | form | Inherits account.view_account_journal_form |
view_invoice_tree_inherit |
account.move.list.inherit | account.move | list | Inherits account.view_invoice_tree |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (11)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (19)
-
l10n_it_cigCharcopy=Falsehelp='Tender Unique Identifier'string='CIG' -
l10n_it_cupCharcopy=Falsehelp='Public Investment Unique Identifier'string='CUP' -
l10n_it_ddt_idMany2one → l10n_it.ddtcopy=Falsestring='DDT' args: 'l10n_it.ddt' -
l10n_it_document_typeMany2one → l10n_it.document.typecomodel_name='l10n_it.document.type'compute='_compute_l10n_it_document_type'copy=Falsereadonly=Falsestore=True -
l10n_it_edi_attachment_fileBinaryattachment=Truecopy=False -
l10n_it_edi_attachment_nameCharstring='FatturaPA Attachment' -
l10n_it_edi_button_labelCharcompute='_compute_l10n_it_edi_button_label' -
l10n_it_edi_headerHtmlcopy=Falsehelp='User description of the current state, with hints to make the flow progress'readonly=True -
l10n_it_edi_is_self_invoiceBooleancompute='_compute_l10n_it_edi_is_self_invoice' -
l10n_it_edi_proxy_modeSelectiondepends=['company_id']related='company_id.l10n_it_edi_proxy_user_id.edi_mode' -
l10n_it_edi_stateSelectioncopy=Falsehelp='This state is updated by default, but you can force the value. 'inverse='_inverse_l10n_it_edi_state'selection=[('being_sent', 'Being Sent To SdI'), ('requires_user_signature', 'Requires user signature'), ('processing', 'SdI Processing'), ('rejected', 'SdI Rejected'), ('forwarded', 'SdI Accepted, Forwarded to Partner'), ('forward_failed', 'SdI Accepted, Forward to Partner Failed'), ('forward_attempt', 'SdI Accepted, Forwarding to Partner'), ('accepted_by_pa_partner', 'SdI Accepted, Accepted by the PA Partner'), ('rejected_by_pa_partner', 'SdI Accepted, Rejected by the PA Partner'), ('accepted_by_pa_partner_after_expiry', 'SdI Accepted, PA Partner Expired Terms')]string='SDI State'tracking=True -
l10n_it_edi_transactionCharcopy=Falsestring='FatturaPA Transaction' -
l10n_it_origin_document_dateDatecopy=Falsestring='Origin Document Date' -
l10n_it_origin_document_nameCharcopy=Falsestring='Origin Document Name' -
l10n_it_origin_document_typeSelectioncopy=Falseselection=[('purchase_order', 'Purchase Order'), ('contract', 'Contract'), ('agreement', 'Agreement')]string='Origin Document Type' -
l10n_it_partner_is_public_administrationBooleancompute='_compute_l10n_it_partner_is_public_administration'help='Only partners that have a 6-chars long l10n_it_pa_index actually belong to the Public Administration' -
l10n_it_partner_paBooleancompute='_compute_l10n_it_partner_pa' -
l10n_it_payment_methodSelectioncompute='_compute_l10n_it_payment_method'readonly=Falseselection=L10N_IT_PAYMENT_METHOD_SELECTIONstore=True -
l10n_it_stamp_dutyFloatstring='Dati Bollo'
-
action_check_l10n_it_edi(self) -
action_invoice_download_fatturapa(self) -
action_l10n_it_edi_send(self)Checks that the invoice data is coherent. Attaches the XML file to the invoice. Sends the invoice to the SdI. -
button_draft(self) -
cron_l10n_it_edi_download_and_update(self)Crons run with sudo(), with empty recordset. Remember that. -
get_extra_print_items(self)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (1)
-
l10n_it_payment_methodSelectiondefault='MP05'selection=L10N_IT_PAYMENT_METHOD_SELECTIONstring='Italian Payment Method'
No public methods.
New fields (3)
-
l10n_it_pension_fund_typeSelectionhelp='Pension Fund Type. Only for Italian accounting EDI.'string='Pension fund type (Italy)' args: PENSION_FUND_TYPE_SELECTION -
l10n_it_withholding_reasonSelectionhelp='Withholding tax reason. Only for Italian accounting EDI.'string='Withholding tax reason (Italy)' args: WITHHOLDING_REASON_SELECTION -
l10n_it_withholding_typeSelectionhelp='Withholding tax type. Only for Italian accounting EDI.'string='Withholding tax type (Italy)' args: WITHHOLDING_TYPE_SELECTION
No public methods.
New fields (1)
-
proxy_typeSelectionondelete={'l10n_it_edi': 'cascade'}selection_add=[('l10n_it_edi', 'Italian EDI')]
No public methods.
New fields (3)
-
dateDatehelp='Transport document date'required=Truestring='Data DDT' -
invoice_idOne2many → account.movestring='Invoice Reference' args: 'account.move', 'l10n_it_ddt_id' -
nameCharhelp='Transport document number'required=Truesize=20string='Numero DDT'
No public methods.
New fields (3)
-
codeCharrequired=True -
nameCharhelp='The document type name'required=Truetranslate=True -
typeSelectionselection=[('sale', 'Sale'), ('purchase', 'Purchase')]
No public methods.
New fields (13)
-
l10n_it_codice_fiscaleCharhelp='Fiscal code of your company'readonly=Falserelated='partner_id.l10n_it_codice_fiscale'size=16store=Truestring='Codice Fiscale' -
l10n_it_eco_index_liquidation_stateSelectionstring='Liquidation state' args: [('LS', 'The company is in a state of liquidation'), ('LN', 'The company is not in a state of liquidation')] -
l10n_it_eco_index_numberCharhelp='This field must contain the number under which the seller/provider is listed on the register of companies.'size=20string='Number in register of companies' -
l10n_it_eco_index_officeMany2one → res.country.statedomain="[('country_id','=','IT')]"string='Province of the register-of-companies office' args: 'res.country.state' -
l10n_it_eco_index_share_capitalFloathelp='Mandatory if the seller/provider is a company with share capital (SpA, SApA, Srl), this field must contain the amount of share capital actually paid up as resulting from the last financial statement'string='Share capital actually paid up' -
l10n_it_eco_index_sole_shareholderSelectionstring='Shareholder' args: [('NO', 'Not a limited liability company'), ('SU', 'Socio unico'), ('SM', 'Più soci')] -
l10n_it_edi_proxy_user_idMany2one → account_edi_proxy_client.usercomodel_name='account_edi_proxy_client.user'compute='_compute_l10n_it_edi_proxy_user_id' -
l10n_it_edi_purchase_journal_idMany2one → account.journalcomodel_name='account.journal'compute='_compute_l10n_it_edi_purchase_journal_id'domain=[('type', '=', 'purchase')]readonly=Falsestore=Truestring='Italian Default Purchase Journal' -
l10n_it_edi_registerBooleandefault=False -
l10n_it_has_eco_indexBooleanhelp='The seller/provider is a company listed on the register of companies and as such must also indicate the registration data on all documents (art. 2250, Italian Civil Code)' -
l10n_it_has_tax_representativeBooleanhelp='The seller/provider is a non-resident subject which carries out transactions in Italy with relevance for VAT purposes and which takes avail of a tax representative in Italy' -
l10n_it_tax_representative_partner_idMany2one → res.partnerstring='Tax representative partner' args: 'res.partner' -
l10n_it_tax_systemSelectionhelp='Please select the Tax system to which you are subjected.'selection=TAX_SYSTEMstring='Tax System'
No public methods.
New fields (4)
-
l10n_it_edi_purchase_journal_idMany2onereadonly=Falserelated='company_id.l10n_it_edi_purchase_journal_id' -
l10n_it_edi_registerBooleancompute='_compute_l10n_it_edi_register'inverse='_set_l10n_it_edi_register'readonly=False -
l10n_it_edi_show_purchase_journal_idBooleancompute='_compute_l10n_it_edi_show_purchase_journal_id' -
use_root_proxy_userBooleancompute='_compute_use_root_proxy_user'
No public methods.
New fields (4)
-
invoice_edi_formatSelectionselection_add=[('it_edi_xml', 'Italy (Factura PA)')] -
l10n_it_codice_fiscaleCharsize=16string='Codice Fiscale' -
l10n_it_pa_indexCharhelp='Must contain the 6-character (or 7) code, present in the PA Index in the information relative to the electronic invoicing service, associated with the office which, within the addressee administration, deals with receiving (and processing) the invoice.'size=7string='Destination Code (SDI)' -
l10n_it_pec_emailCharstring='PEC e-mail'
-
create_company(self) -
validate_codice_fiscale(self)@api.constrains('l10n_it_codice_fiscale')
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…