Italia

Módulos

The following modules are installed automatically with the Italian localization:

Nombre

Nombre técnico

Descripción

Italia - Contabilidad

l10n_it

Paquete de localización fiscal predeterminado

Italia - Facturación Electrónica

l10n_it_edi

Implementación de la factura electrónica

Italy - Declaration of Intent

l10n_it_edi_doi

Support for the Declaration of Intent (Dichiarazione di Intento)

Italy - Sale E-invoicing

l10n_it_edi_sale

Sale modifications for E-invoicing

Italy - Point of Sale

l10n_it_pos

Integration of Odoo PoS with the Italian fiscal printer

Italia - informes contables

l10n_it_reports

Italian reports

Italy - Bank Receipts (Ri.Ba.)

l10n_it_riba

Generation of Ri.Ba. files from batch payments in Odoo

Italia - DDT de stock

l10n_it_stock_ddt

Documentos de transporte - Documento di Trasporto (DDT)

Nota

In some cases, such as when upgrading to a version with additional modules, it is possible that modules may not be installed automatically. Any missing modules can be manually installed.

Empresa

To use all the features of this fiscal localization, the following fields are required on the company record:

  • Nombre de la empresa

  • Address: the address of the company

  • VAT: VAT of the company

  • Codice Fiscale: the fiscal code of the company

  • Tax System: the tax system under which the company falls

Información de la empresa a proporcionar

Configuración de impuestos

Muchas de las funciones de facturación electrónica se implementan con el sistema de impuestos de Odoo. Por lo tanto, debe configurar bien los impuestos para que las facturas se generen correctamente y pueda trabajar con otros casos de uso de facturación.

La localización italiana contiene ejemplos predefinidos de impuestos para varios casos.

Exención fiscal

El uso de impuestos sobre la venta que ascienden a cero por ciento (0%) es requerido por las autoridades italianas para llevar un registro exacto del Tipo de exención fiscal (Natura) y Referencia legal que justifican la exención operada en una línea de factura.

Example

El impuesto de exportación en la Unión Europea se puede usar como referencia (0% EU, etiqueta de la factura 00eu). Lo puede encontrar en Contabilidad ‣ Configuración ‣ Impuestos. Las exportaciones están exentas de IVA, por lo tanto, necesitan el tipo Exoneración y que se llene la Referencia legal.

Ajustes de exenciones fiscales

Ver también

Hay muchos códigos de tipo de exención fiscal (Natura) y Referencias legales. Asegúrese de revisar la última versión disponible para obtener la información más reciente en:

Nota

Si necesita usar un tipo de exención diferente, vaya a Contabilidad ‣ Configuración ‣ Impuestos, seleccione u impuesto similar, después haga clic en el icono de engranaje y seleccione Duplicar. En la pestaña Opciones avanzadas agregue la Exención y la Referencia legal. Para confirmar haga clic en Guardar.

Truco

Renombre sus impuestos en el campo Nombre según su Exoneración para diferenciarlos con facilidad.

Revertir un cargo

The reverse charge mechanism is a VAT rule that shifts the liability to pay VAT from the supplier to the customer. The customers pay the VAT themselves to the AdE instead. There are different types:

  • Revertir un cargo interno (para ventas nacionales)
    La responsabilidad de IVA cambia al comprador para ciertas categorías de productos y servicios.
  • Revertir un cargo externo (para ventas dentro de la UE)
    El IVA se debe pagar en el país de la entrega o en el país donde se realiza el servicio. Cuando el comprador es una empresa italiana, entonces la UE ofrece un mecanismo que permite que el vendedor transfiera la responsabilidad al comprador.

Facturas

Reverse-charged customer invoices show no VAT amount, but the AdE requires the seller to specify the Tax Exemption reason and the Law Reference that enable the reverse-charge mechanism. Odoo provides a set of special 0% taxes that can be assigned to each reverse-charged invoice lines, representing the most commonly used configurations.

Facturas de proveedor

Italian companies subject to reverse charge must send bill details to the AdE.

Nota

Self-reported VAT XML files must be issued and sent to the AdE for reverse charged bills.

Al crear una factura de proveedor podrá agregar los impuestos de cargo revertido al campo Impuestos. Puede revisar qué impuestos están disponibles si va a Contabilidad ‣ Configuración ‣ Impuestos. Allí verá que los impuestos del 10% para bienes y del 22 % para servicios están activados, entre otros. Debido a la configuración automática de la posición fiscal italiana, estos se activan en automático en la lista de impuestos.

Tablas de impuestos

The Italian localization has a specific tax grid section for reverse charge taxes. These tax grids are identifiable by the VJ tag, and can be found by going to Accounting ‣ Reporting ‣ Tax Return.

Tablas de impuestos de cargo revertido de la sección VJ de la declaración fiscal

Facturación electrónica

Nota

Make sure all the Italian-specific e-invoicing modules are installed.

The SdI is the electronic invoicing system used in Italy. It enables the sending and receiving of electronic invoices to and from customers. The documents must be in an XML EDI format called FatturaPA and formally validated by the system before being delivered.

To be able to receive invoices and notifications, the SdI service must be notified that the user’s files need to be sent to Odoo and processed on their behalf. To do so, you must set up Odoo’s Destination Code on the AdE portal.

  1. Go to the Italian authorities portal and authenticate.

  2. Go to the Fatture e Corrispettivi section.

  3. Set the user as Legal Party for the VAT number you wish to configure the electronic address.

  4. Vaya a Servizi Disponibili ‣ Fatturazione Elettronica ‣ Registrazione dell’indirizzo telematico dove ricevere tutte le fatture elettroniche, escriba el Codice Destinatario K95IV18 de Odoo y confirme.

Demo and production modes

Nota

  • Demo mode is enabled by default and remains active until the option By checking this box, I authorize Odoo to send and receive my invoices through the Sistema di Interscambio (SDI) is enabled in the Fattura Electronica (FatturaPA) section. Once this option is activated, production mode is enabled and cannot be disabled.

  • Demo mode simulates an environment in which invoices are sent to the government. In this mode, invoices must be manually downloaded as XML files and uploaded to the AdE’s website.

Since files are transmitted through Odoo’s server before being sent to the SdI or received by your database, authorization is required for Odoo to process them. To activate production mode and enable transmission to the SdI, follow these steps:

  1. Make sure the Codice Fiscale field is completed in the Company information.

  2. Go to Accounting ‣ Configuration ‣ Settings and scroll to the Italian Electronic Invoicing section.

  3. In the Fattura Electronica (FatturaPA) section, enable the option By checking this box, I authorize Odoo to send and receive my invoices through the Sistema di Interscambio (SDI).

  4. Haga clic en Guardar.

Procesar

The submission of invoices to the SdI for Italy is an electronic process used for the mandatory transmission of tax documents in XML format between companies and the AdE to reduce errors and verify the correctness of operations.

Nota

Puede verificar el estado actual de una factura en el campo SdI State. El archivo XML se adjunta a la factura.

Arquitectura del sistema EDI

XML documents creation

Odoo generates the required XML files as attachments to invoices in the FatturaPA format required by the AdE. Once the invoices needed are selected, go to Action and click on Send and Print.

Menú de enviar e imprimir

Cuando la ventana emergente se abre hay una selección de acciones que puede realizar. Generar archivo XML genera los archivos adjuntos.

Diálogo de enviar e imprimir

Tanto el archivo XML como el PDF pueden encontrarse como archivos en la factura.

Archivos adjuntos EDI

Enviar a SDI

The Send to Tax Agency option in the Send and Print dialog sends the attachment to the Proxy Server, which gathers all requests and then forwards them via a WebServices channel to the SdI. Check the sending status of the invoice through the Check Sending button at the top of the invoice’s view.

Procesamiento con SDI

The SdI receives the document and verifies for any errors. At this stage, the invoice is in the SdI Processing state, as shown on the invoice. The invoice also gets assigned a FatturaPA Transaction number that is shown in the Electronic Invoicing tab. The checks may take variable time, ranging from a few seconds up to a day, depending on the queue of invoices sent throughout Italy.

Botón para enviar cheques y el estado de procesamiento de Sdi

Aceptación

If the document is valid, it is recorded and considered fiscally valid by the AdE, which will proceed with archiving in Substitute Storage (Conservazione Sostitutiva) if explicitly requested on the Agency’s portal.

Advertencia

Odoo does not offer the Conservazione Sostitutiva requirements. Other providers and AdE supply free and certified storage to meet the specifications requested by law.

The SdI Destination Code attempts to forward the invoice to the customer at the provided address, whether it is a PEC email address or a SdI Destination Code for their ERP’s WebServices channels. A maximum of 6 attempts are made every 12 hours, so even if unsuccessful, this process can take up to three days. The invoice status is Accepted by SDI, Forwarding to Partner.

Possible rejection

The SdI may find inaccuracies in the compilation, possibly even formal ones. In this case, the invoice is in the SDI Rejected state. The SdI’s observations are inserted at the top of the Invoice tab. To resolve the issue, it is sufficient to delete the attachments of the invoice, return the invoice to Draft, and fix the errors. Once the invoice is ready, it can be resent.

Nota

Para regenerar el XML, tanto el XML adjunto como el informe PDF deben borrarse para que después se regeneren juntos. Esto asegura que ambos siempre contienen la misma información.

Estado de rechazo EDI

Forwarding completed

La factura se le entregó al cliente, sin embargo, todavía puede enviar una copia al cliente en PDF por correo electrónico o postal. Este estado es Aceptado por SDI, entregado al cliente.

If the SdI cannot contact your customer, they may not be registered on the AdE portal. In this case, just make sure to send the invoice in PDF via email or by mail. The invoice is then in the Accepted by SDI, Partner Delivery Failed state.

Tax integration

When you receive a vendor bill, either from SdI, from paper or from an imported XML file, the Tax Agency might request that you send some tax information integration back to the SdI. It happens when a transaction that was tax exempt becomes taxable for any reason.

Example

Aquí tiene una lista no exhaustiva:

  • Como comprador, debe pagar impuestos sobre lo que compra e integrar la información fiscal. Impuestos de revertir cargo.
  • As a PA business buyer, you have to pay taxes and integrate tax information. Be sure that you replace the 0% Sale Taxes on the vendor bill you received with the correct Split Payment taxes.
  • Consumo propio
    Como dueño de una empresa si usa un activo que compró para motivos personales y no de negocio, debe pagar esos impuestos que había deducido como coste empresarial.

Odoo may detect that your vendor bill can be interpreted as a document of a type that needs tax integration, as detailed in the Tipos de documentos section.

Importante

Be sure that you replace the 0% Sale Taxes on the vendor bill you received with the ones you’re supposed to pay to the AdE. A button then appears on the top of the single vendor bill form to send them.

Al hacer clic en el botón Enviar integración fiscal, se generará un archivo XML con el Tipo de documento adecuado se genera, se adjunta a la factura y se envía a facturas.

Botón de enviar integración fiscal EDI

Tipos de documentos

The SdI requires businesses to send customer invoices and other documents through the EDI.

Los siguientes códigos de Tipos de documentos identifican diferentes usos de caso empresariales.

TD01 - invoices

This represents the standard domestic scenario for all invoices exchanged through the SdI. Any invoice that doesn’t fall into one of the specific special cases is categorized as a regular invoice, identified by the Document Type TD01.

TD02 - down payments

Las facturas de anticipo se importan y exportan con un código TDO2 de tipo de documento distinto a las facturas regulares. Al importar la factura se crea una factura de proveedor regular.

Odoo exporta las transacciones como TD18 si se cumplen las siguientes condiciones:

  1. It is an invoice.

  2. Todas las líneas de la factura están relacionadas a las líneas de la orden de venta del anticipo.

TD04 - credit notes

It is the standard scenario for all credit notes issued to domestic clients, when we need to formally acknowledge that the seller is reducing or cancelling a previously issued invoice, for example, in case of overbilling, incorrect items, or overpayment. Just like invoices, they must be sent to the SdI, their Document Type TD04

TD07, TD08, TD09 - simplified invoicing

Las facturas simplificadas(TD07), las notas de crédito (TD08) y las notas de débito (TD09) se pueden utilizar para certificar transacciones nacionales menores a 400 euros (IVA incluido). Su estado es el mismo que el de una factura normal, pero con menos requisitos de información.

Para establecer una factura simplificada, debe incluir los siguientes datos:

  1. Customer Invoice reference: unique numbering sequence with no gaps.

  2. Invoice Date: issue date of the invoice.

  3. Company Info: the seller’s full credentials (VAT/TIN number, name, full address).

  4. VAT: the buyer’s VAT/TIN number (on the partner form).

  5. Total: el importe total (con IVA incluido) de la factura.

In the EDI, Odoo exporta facturas de forma simplificada si:

  1. It is a domestic transaction (i.e., the partner is from Italy).

  2. Your company’s required fields (VAT Number or Codice Fiscale, Fiscal Regime, and full address) are provided.

  3. The partner’s address is not fully specified (i.e., it misses the City or the ZipCode).

  4. El importe total de IVA incluido es menos que 400 EUR.

Nota

El límite de 400 euros se definió en el decreto del 10 de mayo de 2019 de la Gazzetta Ufficiale. Recomendamos que verifique el valor oficial actual.

TD16 - internal reverse charge

Internal reverse charge transactions (see Exención fiscal and Revertir un cargo) are exported as TD16 if the following conditions are met:

  • It is a vendor bill.

  • It has at least one tax on the invoice lines that targets one of these tax grids: VJ6, VJ7, VJ8, VJ12, VJ13, VJ14, VJ15, VJ16, VJ17

TD17 - buying services from abroad

Al comprar servicios a países de la Unión Europea o fuera de la Unión Europea, el vendedor extranjero factura un servicio con un precio sin IVA, ya que no está sujeto a impuestos en Italia. El IVA lo paga el comprador en Italia.

  • Within the EU: the buyer integrates the invoice received with the VAT information due in Italy (i.e., vendor bill tax integration).

  • Fuera de la UE: el comprador se envía a sí mismo la factura (es decir, se autofactura).

Odoo exporta la transacción como TD17 si se cumplen las siguientes condiciones:

  • It is a vendor bill.

  • It has at least one tax on the invoice lines that targets the tax grid VJ3.

  • Todas las líneas de la factura tienen servicios como productos o un impuesto con servicios como ámbito del impuesto.

TD18 - buying goods from EU

Las facturas emitidas en la UE cumplen con un formato estándar, por lo que solo se requiere una integración de la factura existente.

Odoo exporta la transacción como TD18 si se cumplen las siguientes condiciones:

  • It is a vendor bill.

  • The partner is from an EU country.

  • It has at least one tax on the invoice lines that targets the tax grid VJ9.

  • Todas las líneas de la factura tienen consumibles como productos o un impuesto con bienes como ámbito del impuesto.

TD19 - buying goods from VAT deposit

Compra de bienes a un proveedor extranjero, pero los bienes se encuentran en Italia en un almacén donde se aprovisionan sin estar sujetos al IVA.

  • From the EU: the buyer integrates the invoice received with the VAT information due in Italy (i.e., vendor bill tax integration).

  • Fuera de la UE: el comprador se envía a sí mismo la factura (es decir, se autofactura).

Odoo exporta la transacción como TD19 si se cumplen las siguientes condiciones:

  • It is a vendor bill.

  • It has at least one tax on the invoice lines that targets the tax grid VJ3.

  • Todas las líneas de la factura tienen consumibles como productos o un impuesto con bienes como ámbito del impuesto.

TD24 - deferred invoices

La factura diferida es una factura emitida después de la venta de bienes o la prestación de servicios. Una factura diferida deberá emitirse a más tardar el quinceavo día del mes siguiente a la entrega cubierta por el documento.

Suele ser una factura recapitulativa que incluye una lista de varias ventas de bienes o servicios realizadas en el mes. La empresa puede agrupar las ventas en una factura y por lo general se emite al final del mes a efectos contables. Las facturas diferidas son, de forma predeterminada, para el distribuidor que tiene clientes recurrentes.

Si un transportista se encarga del traslado de los bienes, cada entrega tiene un Documento di Transporto (DDT) o documento de transporte. La factura diferida debe indicar los detalles de toda la información del DDT para tener un mejor seguimiento.

Nota

E-invoicing of deferred invoices requires the l10n_it_stock_ddt module. In this case, a dedicated Document Type TD24 is used in the e-invoice.

Odoo exporta las transacciones como TD24 si se cumplen las siguientes condiciones:

  1. It is an invoice.

  2. Está asociada a entregas cuyos DDT tienen una fecha distinta a la fecha de emisión de la factura.

TD28 - San Marino

Facturas

San Marino e Italia tienen acuerdos especiales con respecto a las operaciones de facturación electrónica. Las facturas siguen las reglas habituales de cobro revertido. Puede usar el Tipo de documento dependiendo del tipo de factura: TD01, TD04, TD05, TD24, TD25. Odoo no aplica los requisitos adicionales, sin embargo, el Estado le pide al usuario que:

  • Select a tax with the Tax Exemption Kind set to N3.3.

  • Use the generic SdI Destination Code 2R4GTO8.

A continuación, una oficina especializada de San Marino envía la factura a la empresa correspondiente.

Facturas de proveedor

When a paper bill is received from San Marino, any Italian company must submit that invoice to the AdE by indicating the e-invoice’s Document Type field with the special value TD28.

Odoo exporta la transacción como TD28 si se cumplen las siguientes condiciones:

  1. It is a vendor bill.

  2. It has at least one tax on the invoice lines that targets the tax grids VJ.

  3. El país del contacto es San Marino.

Public administration businesses (B2G)

PA businesses are subjected to more control than private businesses as they handle public money coming from taxpayers. The EDI process adds some steps to the regular one, as PA businesses can accept or refuse invoices.

Nota

PA businesses have a 6-digit long Destination Code, also called CUU, that is mandatory, PEC address cannot be used in this case.

CIG, CUP, DatiOrdineAcquisto

Para garantizar el seguimiento correcto de los pagos de las administraciones públicas, las facturas electrónicas que se les expiden deben contener:

  • The CIG, except in cases of exclusion from traceability obligations provided by law n. 136 of August 13, 2010.

  • El CUP en el caso de las facturas relacionadas con obras públicas.

If the XML file requires it, the AdE can only proceed payments of electronic invoices when the XML file contains a CIG and CUP.

Nota

El CUP y el CIG deben incluirse en una de las etiquetas XML PurchaseOrderData, ContractData, ConventionData, ReceiptDate o InvoiceData.

Estos corresponden a elementos llamados CodiceCUP y CodiceCIG del archivo XML de la factura electrónica, cuya tabla se puede encontrar en el sitio web del gobierno.

Split payment

The Split Payment mechanism behaves much like Revertir un cargo.

Example

When an Italian company bills a PA business - for example, cleaning services for a public building - the PA business self-reports the VAT to the Tax Agency themselves, and the vendor just has to select the appropriate tax with the right Tax Exemption for their invoice lines.

The specific Scissione dei Pagamenti fiscal position is available to deal with partners belonging to the PA.

Procesar

Qualified electronic signature

Invoices and bills intended for the PA must include a qualified electronic signature when submitted through the SdI. This signature is automatically applied in the XAdES format when the invoice’s partner has a 6-digit long Destination Code (which indicates a PA business).

Nota

When such an invoice is transmitted to the Tax Agency, the generated .xml file is signed on the Odoo servers, returned to the database, and attached to the invoice automatically.

Acceptance or refusal

After receiving the invoice through the SdI, the PA business has 15 days to accept the invoice. If it does, then the process ends here. If the PA business refuses the invoice, it is still considered valid once it is accepted by the SdI. You then have to issue a credit note to compensate and send it to the SdI.

Expired terms

If the PA business doesn’t reply within 15 days, you need to contact the PA business directly, sending them both the invoice and the received deadline notification by email. You can make an arrangement with them and manually set the correct SdI State on your invoice.

Point of sale fiscal printers

Advertencia

Fiscal printers are distinct from ePOS printers. The IP address for a fiscal printer should not be entered in the ePOS IP address settings.

Fiscal regulations mandate using certified RT devices, such as RT printers or RT servers, to ensure compliant sales receipts and secure communication with the Tax Authority. These devices automatically transmit fiscal data daily. RT printers, designed for individual POS terminals, handle transactions, print receipts, and report to the authorities, ensuring data integrity and compliance.

Modo de prueba

Advertencia

Since the simulation mode sends data to the authorities, it should only be enabled at the very start of the printer’s configuration process. Once the printer is switched to the production mode, it cannot be reverted to the simulation mode.

To test the fiscal printer setup with Odoo, configure the fiscal printer in the simulation mode as follows:

  1. Make sure the fiscal printer is set to its default state: printer on, start-up cycle complete, and no transaction in progress.

  2. Type 3333.

  3. Press Chiave. The screen displays Scelta Funzione.

  4. Type 14. The screen displays Apprendimento.

  5. Type 62. The screen displays Simulazione.

  6. To turn the no into a si, press X.

  7. To confirm, press Contante.

  8. Press Chiave.

To configure the printer for production, repeat the steps above.

Nota

To test the printer configuration, the physical device must first be obtained and registered with the relevant authorities.

Setting up the printer to work with Odoo

Fiscal printers are meant to work only in the local network. This means the printer and the device running Odoo Point of Sale must be connected to the same network.

Fiscal printers are typically configured to use HTTP by default. To ensure compatibility with Odoo, the settings must be updated to enable HTTPS support on the printer. This can be done using either the EpsonFPWizard configuration software or the keyboard connected to the printer.

To set up the fiscal printer using the keyboard, follow these steps:

  1. Make sure the fiscal printer is set to its default state: printer on, start-up cycle complete, and no transaction in progress.

  2. Type 3333.

  3. Press Chiave. The screen displays Scelta Funzione.

  4. Type 34. The screen displays Web Server.

  5. Press Contante 3 times until the screen displays Web Server: SSL.

  6. To turn the value 0 into a 1, press X.

  7. To confirm, press Contante 3 times.

  8. Press Chiave.

Then, log in to the printer with the device that runs Odoo Point of Sale so it recognizes the printer’s certificate.

To approve and install the printer’s certificate, follow these steps:

  1. Access the printer by opening a web browser and entering https://<ip-of-your-printer> in the address bar. A Warning: Potential Security Risk Ahead security message appears.

  2. Click Advanced to show the certificate approval options.

  3. Click Proceed to validate the certificate.

Then, to ensure Odoo Point of Sale is configured with the fiscal printer, go to Point of Sale ‣ Configuration ‣ Settings. In the Connected Devices section, add the IP address in the Italian Fiscal Printer IP address and enable Use HTTPS.

Ri.Ba. (Ricevuta Bancaria)

Ri.Ba. is a payment method widely used in Italy where vendors request payments through their bank, which forwards the request to the customer’s own bank and takes responsibility for the collection. This enables payment automation and reduces risks for the vendor.

The vendor generally uploads a fixed-format text file with the list of payments to the bank’s web portal.

Nota

Ri.Ba. are exclusively for domestic payments in Italy. For recurring international payments, please use SEPA Direct Debt (SDD)

Configuración

  1. Verifique que el módulo l10n_it_riba está instalado.

  2. Go to Settings ‣ Users & Companies ‣ Companies and select the company that will use Ri.Ba..

  3. Fill out the required SIA Code.

    The company's SIA code

    Nota

    The SIA Code identifies businesses within the Italian banking network and is used to receive money through specific payment methods. It consists of one letter and four digits (e.g., T1234) and can usually be found on the bank’s portal or obtained by contacting the bank.

  4. Ensure the Company’s bank account has an Italian IBAN.

    Ver también

    How to configure Bank Accounts

Accept Ri.Ba. for your invoices

Payments of type Ri.Ba. can be registered from the Invoices (Accounting ‣ Customers ‣ Invoices).

Importante

Make sure that your invoice involves a Partner that has a bank account with an Italian IBAN.

Then, all Payments must be grouped in a Batch Payment.

Once you press the Validate button for the Batch Payment, the Ri.Ba. file is generated and attached to the Batch Payment, so you can download it and upload it through your bank’s web portal.

The Ri.Ba. file attached