TIP: You can type at any time to perform a new search.
Italy - E-invoicing - Base Feature
l10n_it_edi_extension · OCA/l10n-italy
- Repository
- OCA/l10n-italy · module folder · Try on Runboat
- Module version
- 1.12.0
- Category
- Accounting/Localizations/EDI
- Folder size
- 1.37 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/l10n-italy
- Last tracking update
- 2026-08-07 08:42:51
- Authors
- Odoo Community Association (OCA), Giuseppe Borruso
- Maintainers
- Odoo Community Association (OCA), Giuseppe Borruso
- Committers
- eLBati, tafaRU, micheledic, Simone Rubino, sergiocorato, Weblate, Alberto Giardino, Michele Di Croce, OCA-git-bot, oca-ci, Marco Colombo, odooNextev, Borruso, Lorenzo Allegrucci, stenext, marcelofrare
- Odoo dependencies
- Python dependencies
- codicefiscale, openupgradelib, cryptography
- System dependencies
- None
- Required by
- l10n_it_edi_sender_partner, l10n_it_edi_td29, l10n_it_website_portal_fiscalcode
- Description
**Italiano** Questo modulo estende le funzionalità standard della fatturazione elettronica italiana di Odoo, introducendo strumenti utili come l'anteprima XML ed il calcolo dei codici fiscali e miglioramenti nell'importazione e nell'esportazione delle fatture XML. Le funzionalità principali incluse sono: 1. Anteprima e Download del file XML: - Aggiunge un pulsante ("Preview") direttamente nel form della fattura, sia per fatture inviate che ricevute. - Dalla stessa finestra della fattura, è possibile scaricare il file XML generato. 2. Valorizza i seguenti campi/nodi della fattura elettronica esportata: - `<RiferimentoAmministrazione>` (sia sulla riga o nell'azienda): identificativo utilizzato per uso amministrativo/gestionale interno. È un campo libero che può essere utilizzato per inserire riferimenti specifici richiesti dalla Pubblica Amministrazione o altri riferimenti utili per la gestione amministrativa. - `<StabileOrganizzazione>`: rappresenta i dati della sede operativa stabile del cedente/prestatore in Italia se diversa dalla sede legale. Da impostare in odoo nell'azienda, tab "Informazioni Generali" - `<Causale>`: in questo caso non c'è un campo apposito, ma trascrive i "Termini e condizioni" della fattura - `<Art73>`: indica se il documento è stato emesso secondo modalità e termini stabiliti con decreto ministeriale ai sensi dell'articolo 73 del DPR 633/72. Da impostare in odoo nell'azienda o direttamente in fattura. - `<AltriDatiGestionali>` (2.2.1.16): dati gestionali aggiuntivi che possono essere inseriti manualmente su ogni riga fattura ed esportati nel file XML FatturaPA. Ogni voce include: - `<TipoDato>`: tipo di dato (max 10 caratteri, obbligatorio) - `<RiferimentoTesto>`: riferimento testuale (max 60 caratteri) - `<RiferimentoNumero>`: riferimento numerico (fino a 8 decimali) - `<RiferimentoData>`: riferimento data - Per aggiungere questi dati, aprire la riga fattura e compilare la sezione "Altri Dati Gestionali". - `<IndirizzoResa>`: rappresenta l'indirizzo di consegna della merce. 3. Miglioramenti nell'import delle fatture XML: - Aggiunge un'opzione per creare i contatti presenti in una fattura elettronica se non esistono in anagrafica tra cui: - `<CessionarioCommittente>` e `<CedentePrestatore>` invece di scrivere solamente i dettagli nel chatter. - Creazione di altri contatti presenti in una fattura elettronica se non esistono in anagrafica tra cui: - `<RappresentanteFiscale>` - Nome e cognome vengono assegnati ai nuovi contatti in base ai nodi `<Nome>` e `<Cognome>` della fattura elettronica. - Gestione delle Fatture Elettroniche Multiple: - Supporto per la suddivisione automatica di file XML contenenti più fatture - Ogni `<FatturaElettronicaBody>` viene convertito in una fattura separata mantenendo l'header originale - Aggiunge la possibilità di scegliere tra 3 modalità di importazione: - senza righe - una riga per ogni aliquota - tutte le righe (default) - Importazione dei `<DatiRiepilogo>`: - `<AliquotaIVA>` - `<Natura>`: Indica il motivo per cui un'operazione non prevede l'IVA - `<SpeseAccessorie>`: es. trasporto, imballaggio - `<Arrotondamento>` - `<ImponibileImporto>` - `<Imposta>` - `<EsigibilitaIVA>`: Indica quando l'IVA diventa esigibile (immediata, differita o scissione dei pagamenti) - `<RiferimentoNormativo>`: Obbligatorio quando si usa il campo `<Natura>` - Importazione dei `<DatiGeneraliDocumento>`: - `<Arrotondamento>` - `<Art73>`: indica se il documento è stato emesso secondo modalità e termini stabiliti con decreto ministeriale ai sensi dell'articolo 73 del DPR 633/72 - `<DatiSAL>` e `<RiferimentoFase>`: utilizzati per indicare lo stato di avanzamento dei lavori in caso di fatturazione dilazionata/progressiva (contratti di appalto, servizi continuativi o lavori in corso d'opera) - Importazione dei dati della fattura principale (`<NumeroFatturaPrincipale>` e `<DataFatturaPrincipale>`) - Scrittura nel chatter dei nodi di `<DatiGenerali><DatiTrasporto>` e `<DatiVeicoli>` - Gestione avanzata dei Dati delle Righe Fattura: - Creazione dei codici articolo in fase di importazione. Questi codici servono per identificare univocamente i prodotti/servizi secondo diversi standard di codifica. Nel file XML, questi codici sono nel nodo `<CodiceArticolo>` che può contenere: - `<CodiceTipo>`: identifica il tipo di codifica utilizzata - `<CodiceValore>`: il valore effettivo del codice - Registrazione dello sconto o maggiorazione, nodo `<ScontoMaggiorazione>`, nelle righe di dettaglio della fattura. - Importazione dei dati del nodo `<AltriDatiGestionali>` (informazioni supplementari che non trovano posto negli altri campi standard della fattura elettronica) che può contenere: - `<TipoDato>`: identifica il tipo di informazione aggiuntiva che si sta inserendo - `<RiferimentoTesto>`: contiene un valore testuale dell'informazione aggiuntiva - `<RiferimentoNumero>`: contiene un valore numerico dell'informazione aggiuntiva - `<RiferimentoData>`: contiene un valore data dell'informazione aggiuntiva - Importazione dei nodi: - `<NumeroLinea>`: numero progressivo della riga all'interno della fattura - `<TipoCessionePrestazione>`: indica la tipologia della cessione o prestazione e può contenere valori come: - "SC" (Sconto) - "PR" (Premio) - "AB" (Abbuono) - "AC" (Spesa accessoria) - `<DataInizioPeriodo>` e `<DataFinePeriodo>`: indicano il periodo di riferimento di una prestazione e sono utili per servizi continuativi o prestazioni che si estendono su un periodo di tempo - `<RiferimentoAmministrazione>`: identificativo utilizzato per uso amministrativo/gestionale interno. È un campo libero che può essere utilizzato per inserire riferimenti specifici richiesti dalla Pubblica Amministrazione o altri riferimenti utili per la gestione amministrativa. - Convalida della fattura importata: se i seguenti importi sono diversi da quelli presenti nel file XML, nella fattura viene visualizzato un messaggio: - importo totale imponibile - IVA totale - IVA inclusa - I dati del partner possono essere aggiornati per corrispondere a quelli nella fattura elettronica. 4. Aggiunge di un wizard per calcolare i codici fiscali \<<https://www.fatturapa.gov.it>\> **English** This module extends Odoo's standard Italian electronic invoicing functionality, introducing useful tools such as XML preview and fiscal code calculation and improvements in importing and exporting XML invoices. The main features included are: 1. XML File Preview and Download: - Adds a button ("Preview") directly in the invoice form, both for exported and imported invoices. - From the same invoice form, you can download the generated XML file. 2. Adds fields in XML invoice export: - `<RiferimentoAmministrazione>` (both on line or on company): identifier used for internal administrative/management purposes. It's a free field that can be used to insert specific references required by Public Administration or other useful references for administrative management. - `<StabileOrganizzazione>`: represents the data of the seller/provider's permanent establishment in Italy if different from the registered office - `<Causale>`: in this case there is no specific field, but it transcribes the "Terms and conditions" of the invoice. - `<Art73>`: indicates if the document was issued according to methods and terms established by ministerial decree pursuant to article 73 of DPR 633/72 - `<AltriDatiGestionali>` (2.2.1.16): additional management data that can be manually entered on each invoice line and exported to the FatturaPA XML file. Each entry includes: - `<TipoDato>`: data type (max 10 characters, required) - `<RiferimentoTesto>`: text reference (max 60 characters) - `<RiferimentoNumero>`: numeric reference (up to 8 decimal places) - `<RiferimentoData>`: date reference - To add this data, open the invoice line and fill in the "Other Management Data" section. - `<IndirizzoResa>`: represents the shipping address of the goods. 3. Improvements in XML invoice import: - Adds an option to create contacts present in an electronic invoice if they don't exist in the address book, including: - `<CessionarioCommittente>` and `<CedentePrestatore>` instead of just writing the details in the chatter. - Creation of other contacts present in an electronic invoice if they don't exist in the address book, including: - `<RappresentanteFiscale>` - Name and surname are set in the new contacts based on the `<Nome>` and `<Cognome>` nodes of the E-Bill. - Multiple Electronic Invoice Management: - Support for automatic splitting of XML files containing multiple invoices - Each `<FatturaElettronicaBody>` is converted into a separate invoice maintaining the original header - Adds the ability to choose between 3 import modes: - without lines - one line for each VAT rate - all lines (default) - Import of `<DatiRiepilogo>`: - `<AliquotaIVA>` - `<Natura>`: Indicates the reason why an operation does not include VAT - `<SpeseAccessorie>`: e.g., transport, packaging - `<Arrotondamento>` - `<ImponibileImporto>` - `<Imposta>` - `<EsigibilitaIVA>`: Indicates when VAT becomes payable (immediate, deferred, or split payment) - `<RiferimentoNormativo>`: Required when using the `<Natura>` field - Import of `<DatiGeneraliDocumento>`: - `<Arrotondamento>` - `<Art73>`: indicates if the document was issued according to methods and terms established by ministerial decree pursuant to article 73 of DPR 633/72 - `<DatiSAL>` and `<RiferimentoFase>`: used to indicate the progress status of work in case of deferred/progressive invoicing (procurement contracts, continuous services, or work in progress) - Import of main invoice data (`<NumeroFatturaPrincipale>` and `<DataFatturaPrincipale>`) - Writing in chatter of `<DatiGenerali><DatiTrasporto>` and `<DatiVeicoli>` nodes - Advanced management of Invoice Line Data: - Creation of article codes during import. These codes are used to uniquely identify products/services according to different coding standards. In the XML file, these codes are in the `<CodiceArticolo>` node which can contain: - `<CodiceTipo>`: identifies the type of coding used - `<CodiceValore>`: the actual code value - Recording of discounts or surcharges, `<ScontoMaggiorazione>`, in the invoice detail lines. - Import of `<AltriDatiGestionali>` node data (supplementary information that doesn't fit in other standard electronic invoice fields) which can contain: - `<TipoDato>`: identifies the type of additional information being entered - `<RiferimentoTesto>`: contains a textual value of the additional information - `<RiferimentoNumero>`: contains a numerical value of the additional information - `<RiferimentoData>`: contains a date value of the additional information - Import of nodes: - `<NumeroLinea>`: progressive line number within the invoice - `<TipoCessionePrestazione>`: indicates the type of transfer or service and can contain values such as: - "SC" (Discount) - "PR" (Prize) - "AB" (Allowance) - "AC" (Ancillary expense) - `<DataInizioPeriodo>` and `<DataFinePeriodo>`: indicate the reference period of a service and are useful for continuous services or services that extend over a period of time - `<RiferimentoAmministrazione>`: identifier used for internal administrative/management purposes. It's a free field that can be used to insert specific references required by Public Administration or other useful references for administrative management. - Validation of imported bill: if the following amounts are different than the amount in the XML a message is shown in the bill: - total taxable amount - total VAT - total including VAT - Partner's data can be updated to match the data in the e-bill 4. Adds a wizard to calculate fiscal codes \<<https://www.fatturapa.gov.it>\>
Code Analysis ⓘ
Views touched (11)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
account_invoice_form_l10n_it_inherit_view |
account.move.form.l10n.it.inherit.view | account.move | form | Inherits l10n_it_edi.account_invoice_form_l10n_it |
account_invoice_it_FatturaPA_export_inherit |
account_invoice_it_FatturaPA_export_inherit | ir.ui.view | qweb | Inherits l10n_it_edi.account_invoice_it_FatturaPA_export |
account_invoice_line_it_FatturaPA_inherit |
account_invoice_line_it_FatturaPA_inherit | ir.ui.view | qweb | Inherits l10n_it_edi.account_invoice_line_it_FatturaPA |
l10n_it_edi_import_file_wizard_form |
l10n_it_edi_import_file_wizard_form_view | l10n_it_edi.import_file_wizard | form | New |
l10n_it_edi_move_line_other_data_form_view |
l10n_it_edi.line_other_data.form | l10n_it_edi.line_other_data | form | New |
l10n_it_edi_move_line_other_data_list_view |
l10n_it_edi.line_other_data.list | l10n_it_edi.line_other_data | list | New |
res_company_form_l10n_it_inherit_view |
res.company.form.l10n.it.inherit.view | res.company | form | Inherits l10n_it_edi.res_company_form_l10n_it |
res_partner_form_inherit_view |
res.partner.form.inherit.view | res.partner | form | Inherits account.view_partner_property_form |
res_partner_form_l10n_it_button |
res.partner.form.l10n.it.button | res.partner | form | Inherits l10n_it_edi.res_partner_form_l10n_it |
view_account_config_settings_create_partner |
view_account_config_settings_create_partner | res.config.settings | form | Inherits l10n_it_edi.res_config_settings_view_form |
wizard_compute_fc_form |
wizard.compute.fc.form | wizard.compute.fc | form | New |
HTTP endpoints (1)
| Route(s) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/fatturapa/preview/<attachment_id> |
FatturaPAController.fatturapa_preview |
user | http | ALL | website |
Models touched (17)
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (23)
-
l10n_edi_it_art73Booleancopy=Falsehelp='Indicates whether the document has been issued according to methods and terms laid down in a ministerial decree under the terms of Article 73 of Italian Presidential Decree 633/72 (this enables the seller/provider to issue in the same year several documents with same number)'readonly=Truestring='Art. 73' -
l10n_it_edi_activity_progress_idsOne2many → l10n_it_edi.activity_progresscopy=Falsestring='E-Invoice Activity Progress' args: 'l10n_it_edi.activity_progress', 'invoice_id' -
l10n_it_edi_amount_taxMonetaryreadonly=Truestring='E-Invoice Tax Amount' -
l10n_it_edi_amount_totalMonetarycompute='_compute_l10n_it_amount_total'readonly=Truestring='E-Invoice Total Amount' -
l10n_it_edi_amount_untaxedMonetaryreadonly=Truestring='E-Invoice Untaxed Amount' -
l10n_it_edi_attachment_preview_linkCharcompute='_compute_l10n_it_edi_attachment_preview_link'string='Preview link' -
l10n_it_edi_ext_attachment_in_idMany2one → ir.attachmentcomodel_name='ir.attachment'readonly=Truestring='Imported Electronic Bill' -
l10n_it_edi_ext_attachment_in_preview_linkCharcompute='_compute_l10n_it_edi_ext_attachment_in_preview_link'string='Preview link for imported Electronic Bill' -
l10n_it_edi_line_idsOne2many → l10n_it_edi.linecopy=Falsereadonly=Truestring='E-Invoice Lines' args: 'l10n_it_edi.line', 'invoice_id' -
l10n_it_edi_protocol_numberCharcopy=Falsesize=64 -
l10n_it_edi_related_invoice_codeCharcopy=Falsestring='Related Invoice Code' -
l10n_it_edi_related_invoice_dateDatecopy=Falsestring='Related Invoice Date' -
l10n_it_edi_roundingFloatcopy=Falsehelp='Possible total amount rounding on the document (negative sign allowed)'readonly=Truestring='Rounding' -
l10n_it_edi_senderSelectionstring='Sender' args: [('CC', 'Assignee / Partner'), ('TZ', 'Third Person')] -
l10n_it_edi_stabile_organizzazione_capCharcopy=Falsehelp='ZIP Code'readonly=Truestring='Organization ZIP' -
l10n_it_edi_stabile_organizzazione_civicoCharcopy=Falsehelp='Street number of the address (no need to specify if already present in the address field)'readonly=Truestring='Organization Street Number' -
l10n_it_edi_stabile_organizzazione_comuneCharcopy=Falsehelp='Municipality or city to which the Stable Organization refers'readonly=Truestring='Organization Municipality' -
l10n_it_edi_stabile_organizzazione_indirizzoCharcopy=Falsehelp='The fields must be entered only when the seller/provider is non-resident, with a stable organization in Italy. Address of the stable organization in Italy (street name, square, etc.)'readonly=Truestring='Organization Address' -
l10n_it_edi_stabile_organizzazione_nazioneCharcopy=Falsehelp='Country code according to the ISO 3166-1 alpha-2 code standard'readonly=Truestring='Organization Country' -
l10n_it_edi_stabile_organizzazione_provinciaCharcopy=Falsehelp='Acronym of the Province to which the municipality indicated in the information element 1.2.3.4 <Comune> belongs. Must be filled if the information element 1.2.3.6 <Nazione> is equal to IT'readonly=Truestring='Organization Province' -
l10n_it_edi_summary_idsOne2many → l10n_it_edi.summary_datacopy=Falsestring='E-Invoice Summary Data' args: 'l10n_it_edi.summary_data', 'invoice_id' -
l10n_it_edi_tax_representative_idMany2one → res.partnerstring='Tax Representative' args: 'res.partner' -
l10n_it_edi_validation_messageTextcompute='_compute_l10n_it_edi_validation_message'
-
action_l10n_it_edi_attachment_preview(self) -
action_l10n_it_edi_ext_attachment_in_preview(self)
New fields (2)
-
l10n_it_edi_admin_refCharcopy=Falsesize=20string='Admin. ref.' -
l10n_it_edi_other_data_idsOne2many → l10n_it_edi.line_other_datacopy=Truehelp='Additional management data (AltriDatiGestionali) to be exported in the FatturaPA XML.'string='Other Management Data' args: 'l10n_it_edi.line_other_data', 'move_line_id'
-
action_open_other_data(self)Open a popup to manage Other Management Data for this invoice line.
New fields (0)
No new fields.
Public methods (3)-
get_fattura_elettronica_preview(self) -
get_fatturapa_preview_style_name(self)@api.modelHook to have a clean inheritance. -
get_xml_string(self)
New fields (2)
-
activity_progressInteger -
invoice_idMany2one → account.moveindex=Trueondelete='cascade'string='Related Invoice' args: 'account.move'
No public methods.
New fields (3)
-
code_valCharstring='Code Value' -
l10n_it_edi_line_idMany2one → l10n_it_edi.linereadonly=Truestring='Related E-invoice Line' args: 'l10n_it_edi.line' -
nameCharstring='Code Type'
No public methods.
New fields (6)
-
amountFloatdigits='Discount' -
invoice_idMany2one → account.moveindex=Trueondelete='cascade'string='Related Invoice' args: 'account.move' -
invoice_line_idMany2one → account.move.lineindex=Trueondelete='cascade'string='Related Invoice from line' args: 'account.move.line' -
l10n_it_edi_line_idMany2one → l10n_it_edi.linereadonly=Truestring='Related E-invoice Line' args: 'l10n_it_edi.line' -
nameSelectionstring='Type' args: [('SC', 'Discount'), ('MG', 'Supplement')] -
percentageFloat
No public methods.
New fields (2)
-
l10n_it_edi_attachmentBinary -
l10n_it_edi_attachment_filenameChar
-
action_import(self)
New fields (17)
-
invoice_idMany2one → account.moveondelete='cascade'readonly=Truestring='Invoice' args: 'account.move' -
invoice_line_idMany2one → account.move.lineondelete='cascade'readonly=Truestring='Invoice Line' args: 'account.move.line' -
l10n_it_edi_article_code_idsOne2many → l10n_it_edi.article_codereadonly=Truestring='Articles Code' args: 'l10n_it_edi.article_code', 'l10n_it_edi_line_id' -
l10n_it_edi_discount_rise_price_idsOne2many → l10n_it_edi.discount_rise_pricereadonly=Truestring='Discount and Supplement Details' args: 'l10n_it_edi.discount_rise_price', 'l10n_it_edi_line_id' -
l10n_it_edi_line_other_data_idsOne2many → l10n_it_edi.line_other_datareadonly=Truestring='Other Administrative Data' args: 'l10n_it_edi.line_other_data', 'l10n_it_edi_line_id' -
line_numberIntegerreadonly=True -
nameCharreadonly=Truestring='Description' -
period_end_dateDatereadonly=True -
period_start_dateDatereadonly=True -
qtyFloatdigits='Product Unit of Measure'readonly=Truestring='Quantity' -
service_typeCharreadonly=Truestring='Sale Provision Type' -
tax_amountFloatreadonly=Truestring='VAT Rate' -
tax_kindCharreadonly=Truestring='Nature' -
total_priceFloatreadonly=True -
unit_priceFloatdigits='Product Price'readonly=True -
uomCharreadonly=Truestring='Unit of measure' -
wt_amountCharreadonly=Truestring='Tax Withholding'
No public methods.
New fields (6)
-
date_refDatehelp='RiferimentoData: Date reference'string='Date Reference' -
l10n_it_edi_line_idMany2one → l10n_it_edi.linereadonly=Truestring='Related E-bill Line' args: 'l10n_it_edi.line' -
move_line_idMany2one → account.move.lineindex=Trueondelete='cascade'string='Invoice Line' args: 'account.move.line' -
nameCharhelp='TipoDato: Type of additional data (max 10 characters)'required=Truesize=10string='Data Type' -
num_refFloatdigits=(16, 8)help='RiferimentoNumero: Numeric reference (up to 8 decimal places)'string='Number Reference' -
text_refCharhelp='RiferimentoTesto: Text reference (max 60 characters)'size=60string='Text Reference'
-
action_delete(self)
New fields (9)
-
amount_taxFloat -
amount_untaxedFloat -
incidental_chargesFloat -
invoice_idMany2one → account.moveindex=Trueondelete='cascade'string='Related Invoice' args: 'account.move' -
law_referenceCharsize=128string='Law reference' -
non_taxable_natureSelectionselection=[('N1', '[N1] Escluse ex art. 15'), ('N2', '[N2] Non soggette'), ('N2.1', '[N2.1] Non soggette ad IVA ai sensi degli artt. Da 7 a 7-septies del DPR 633/72'), ('N2.2', '[N2.2] Non soggette - altri casi'), ('N3', '[N3] Non imponibili'), ('N3.1', '[N3.1] Non imponibili - esportazioni'), ('N3.2', '[N3.2] Non imponibili - cessioni intracomunitarie'), ('N3.3', '[N3.3] Non imponibili - cessioni verso San Marino'), ('N3.4', "[N3.4] Non imponibili - operazioni assimilate alle cessioni all'esportazione"), ('N3.5', "[N3.5] Non imponibili - a seguito di dichiarazioni d'intento"), ('N3.6', '[N3.6] Non imponibili - altre operazioni che non concorrono alla formazione del plafond'), ('N4', '[N4] Esenti'), ('N5', '[N5] Regime del margine / IVA non esposta in fattura'), ('N6', '[N6] Inversione contabile (per le operazioni in reverse charge ovvero nei casi di autofatturazione per acquisti extra UE di servizi ovvero per importazioni di beni nei soli casi previsti)'), ('N6.1', '[N6.1] Inversione contabile - cessione di rottami e altri materiali di recupero'), ('N6.2', '[N6.2] Inversione contabile - cessione di oro e argento puro'), ('N6.3', '[N6.3] Inversione contabile - subappalto nel settore edile'), ('N6.4', '[N6.4] Inversione contabile - cessione di fabbricati'), ('N6.5', '[N6.5] Inversione contabile - cessione di telefoni cellulari'), ('N6.6', '[N6.6] Inversione contabile - cessione di prodotti elettronici'), ('N6.7', '[N6.7] Inversione contabile - prestazioni comparto edile esettori connessi'), ('N6.8', '[N6.8] Inversione contabile - operazioni settore energetico'), ('N6.9', '[N6.9] Inversione contabile - altri casi'), ('N7', '[N7] IVA assolta in altro stato UE (prestazione di servizi di telecomunicazioni, tele-radiodiffusione ed elettronici ex art. 7-octies, comma 1 lett. a, b, art. 74-sexies DPR 633/72)')]string='Non taxable nature' -
payabilitySelectionstring='VAT payability' args: [('I', 'Immediate payability'), ('D', 'Deferred payability'), ('S', 'Split payment')] -
roundingFloat -
tax_rateFloat
No public methods.
New fields (11)
-
cadastre_codeCharsize=4 args: 'Belfiore cadastre code (not used anymore)' -
cadastre_code_varCharsize=4 args: 'Cadastre code variation' -
creation_dateDate -
nameChar -
name_varCharsize=100 args: 'Name variation' -
national_codeCharsize=4 args: 'National code' -
national_code_varCharsize=4 args: 'National code variation' -
notesCharsize=4 -
provinceCharsize=5 -
province_varCharsize=5 args: 'Province variation' -
var_dateDateargs: 'Variation date'
No public methods.
New fields (1)
-
nameCharsize=100
-
init(self)
New fields (4)
-
l10n_edi_it_admin_refCharstring='Public Administration Reference Code' -
l10n_edi_it_art73Booleanhelp='Indicates whether the document has been issued according to methods and terms laid down in a ministerial decree under the terms of Article 73 of Italian Presidential Decree 633/72 (this enables the company to issue in the same year several documents with same number)'string='Art. 73' -
l10n_edi_it_stable_organizationMany2one → res.partnerhelp='The fields must be entered only when the seller/provider is non-resident, with a stable organization in Italy'string='Stable Organization' args: 'res.partner' -
l10n_it_edi_import_detail_levelSelectiondefault='max'help='Minimum: the bill is created with no lines; the user will have to create them, according to what specified in the electronic bill.\nTax rate: every tax rate present in the electronic bill will create a line in the bill.\nMaximum (default): every line contained in the electronic bill will create a line in the bill.'required=Trueselection=[('min', 'Minimum'), ('tax', 'Tax rate'), ('max', 'Maximum')]string='E-bills import detail level'
No public methods.
New fields (1)
-
l10n_it_edi_import_detail_levelSelectionreadonly=Falserelated='company_id.l10n_it_edi_import_detail_level'
No public methods.
New fields (9)
-
l10n_edi_it_admin_refCharstring='Administrative Reference' -
l10n_edi_it_electronic_invoice_no_contact_updateBooleanstring='Do not update the contact from Electronic Invoice Details' -
l10n_edi_it_eori_codeCharstring='EORI Code' -
l10n_edi_it_registerCharstring='Professional Register' -
l10n_edi_it_register_codeCharstring='Register Registration Number' -
l10n_edi_it_register_province_idMany2one → res.country.statestring='Register Province' args: 'res.country.state' -
l10n_edi_it_register_regdateDatestring='Register Registration Date' -
l10n_it_edi_ext_default_product_idMany2one → product.productcomodel_name='product.product'help='Used by electronic invoice XML import. If filled in, generated bill lines will use this product when no other possible product is found.'string='E-bills default Product' -
l10n_it_edi_import_detail_levelSelectionhelp="Override the 'E-bills import detail level' of the company for bills of this supplier.\nMinimum: the bill is created with no lines; the user will have to create them, according to what specified in the electronic bill.\nTax rate: every tax rate present in the electronic bill will create a line in the bill.\nMaximum: every line contained in the electronic bill will create a line in the bill."selection=[('min', 'Minimum'), ('tax', 'Tax rate'), ('max', 'Maximum')]string='E-bills import detail level'
-
validate_codice_fiscale(self)@api.constrains('l10n_it_codice_fiscale', 'company_type')
New fields (6)
-
birth_cityMany2one → res.city.it.code.distinctrequired=Truestring='City of birth' args: 'res.city.it.code.distinct' -
birth_dateDaterequired=True args: 'Date of birth' -
birth_provinceMany2one → res.country.staterequired=Truestring='Province' args: 'res.country.state' -
fiscalcode_firstnameCharrequired=Truesize=64 args: 'First name' -
fiscalcode_surnameCharrequired=Truesize=64 args: 'Surname' -
sexSelectionrequired=True args: [('M', 'Male'), ('F', 'Female')]
-
compute_fc(self) -
onchange_birth_city(self)@api.onchange('birth_city')
- Status
- Open migration PR — not merged yet for this version
- CI status
- checks failing
- Open since
- 195 days ago
- Last activity
- 47 days ago
- Repository
- OCA/l10n-italy
- Pull request
- [19.0][MIG] l10n_it_edi_extension: Migration to 19.0 (#5083)