Spagna

Moduli

The following modules are installed automatically with the Spanish localization:

Nome

Nome tecnico

Descrizione

Spain - Accounting (PGCE 2008)

l10n_es

Spanish fiscal localization package, complete with the Spanish chart of accounts, taxes, tax report, and fiscal positions.

Spain - Accounting (PGCE 2008) Reports

l10n_es_reports

Accounting reports for Spain.

Spain - Accounting Reports (2024 Update)

l10n_es_reports_2024

Adds extra fields regarding Rectificación for Modelo 303.

Spain - Accounting Reports (2025 Update)

l10n_es_reports_2025

Adds tax return functionalities.

Spain - Facturae EDI

l10n_es_edi_facturae

Creates EDI Facturae files required to send to AGE (Administración General del Estado).

Spain - Intrastat Declaration

l10n_es_intrastat

Adds Interstat report.

Additionally, the following modules must be manually installed:

Nome

Nome tecnico

Descrizione

Spain - Point of Sale + TicketBAI

l10n_es_pos_tbai

Sends invoices to the Diputaciones Forales of Araba/Álava, Bizkaia and Gipuzkoa.

Spain - SII EDI Suministro de Libros

l10n_es_edi_sii

Sends taxes information to SII (Suministro Inmediato de Información).

Spain - TicketBAI

l10n_es_edi_tbai

Sends invoices and vendor bills to the Diputaciones Forales of Araba/Álava, Bizkaia and Gipuzkoa.

Spain - Veri*Factu

l10n_es_edi_verifactu

Sends Veri*Factu XML to AEAT (Agencia Estatal de Administración Tributaria).

Spain - Veri*Factu for Point of Sale

l10n_es_edi_verifactu_pos

Adds Veri*Factu support to Point of Sale.

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.

Panoramica della localizzazione

The Spanish localization package ensures compliance with Spanish fiscal and accounting regulations. It includes tools for managing taxes, fiscal positions, reporting, and a predefined chart of accounts tailored to Spain’s standards.

The Spanish localization package provides the following key features:

  • Chart of accounts: a predefined structure tailored to Spanish accounting standards.

  • Taxes pre-configured tax rates, including standard VAT, zero-rated, and exempt options.

  • Fiscal positions: automated tax adjustments based on customer or supplier registration status.

  • Reporting

Nota

  • There are several distinct Spanish fiscal localization packages available, each featuring its own pre-configured PGCE (Plan General de Contabilidad) chart of accounts:

    • Spain - SMEs (2008)

    • Spain - Non-profit entities (2008)

    • Spain - Cooperatives - Complete (2008)

    • Spain - Cooperatives - SMEs (2008)

    • Spain - Complete (2008)

  • New Odoo Online databases created with Spain as the selected country are set up by default with the Spain - SMEs (2008) fiscal localization package.

Report

The Spanish-specific statement reports available are:

Resoconto fiscale

To access Spain-specific tax reports (Modelo), go to Accounting ‣ Reporting ‣ Tax Report, click Report: and select one of the following:

  • Tax Report (Mod 111)(ES)

  • Tax Report (Mod 115)(ES)

  • Tax Report (Mod 130)(ES)

  • Tax Report (Mod 303)(ES)

  • Tax Report (Mod 347)(ES)

  • Tax Report (Mod 349)(ES)

  • Tax Report (Mod 390)(ES)

Suggerimento

To export the VAT records books (Libros de IVA) in XLSX format, click Report: and select Generic Tax report. Then, click the (down arrow) and select VAT Records Books (XLSX) to generate the XLSX file.

Modelo 130

Modificare la percentuale

Se si desidera modificare il calcolo percentuale della casella [04] nella sezione I e/o della casella [09] nella sezione II:

  1. Attivare la modalità sviluppatore, andare in Contabilità ‣ Reportistica ‣ Dichiarazione fiscale e selezionare la dichiarazione Dichiarazione fiscale (Modelo 130).

  2. Fare clic sull’icona (ingranaggi) a destra di Report: Dichiarazione fiscale (Mod 130) (ES).

  3. Fare clic sulla casella che si desidera modificare e, nella finestra popup, fare clic sulla riga percentuale. Nella nuova finestra popup, modificare il valore nel campo Formula con la percentuale che si desidera applicare. Ripetere questa operazione se si desidera modificare anche l’altra casella.

Dichiarare attività agricola

Se si desidera inserire un importo nella sezione II (dalle caselle [08] a [11]), è necessario modificare il settore del contatto corrispondente in Agricoltura:

  1. Andare al modulo contatto (Contabilità ‣ Clienti ‣ Clienti o Contabilità ‣ Fornitori ‣ Fornitori, ad esempio) e selezionare un contatto.

  2. Nella scheda Vendite e acquisti, impostare il campo Settore su Agricoltura.

Ripetere questa operazione per tutti i contatti relativi al settore agricolo.

Veri*Factu

Nota

I produttori di sistemi di fatturazione Veri*Factu devono autocertificare la loro conformità alle normative. Scarica la "declaración responsable" di Odoo

Veri*Factu is the Spanish Tax Agency’s verifiable invoice issuance system. It is mandatory for most taxpayers in Spain, except for those who use the SII system or are under a regional tax regime (i.e., TicketBai).

Odoo consente l’invio automatico delle fatture e degli ordini del Punto vendita alle autorità fiscali.

Configurazione

Per abilitare Veri*Factu, seguire questi passaggi:

  1. Aprire l’app Impostazioni per assicurarsi che il Paese e la Partita IVA della propria azienda siano impostati correttamente nella sezione Aziende.

  2. Install the Spain - Veri*Factu (l10n_es_edi_verifactu) module.

  3. Go to Accounting ‣ Configuration ‣ Settings or Invoicing ‣ Configuration ‣ Settings, scroll to the Veri*Factu section, check the Enable Veri*Factu option, and click Manage certificates to add a certificate.

  4. Nella vista elenco Certificates for Veri*Factu, fare clic su Nuovo.

  5. Fare clic su Upload your file, quindi selezionare un file certificato e inserire la Password necessaria per aprire il certificato (se presente).

Nota

  • È necessario caricare almeno un certificato.

  • By default, Veri*Factu is in testing mode. The data is sent to test servers and is not considered official. When official data can be sent to the production servers, go to the Veri*Factu section in the Settings and disable Test Environment.

Fatture

Una volta confermata una fattura, può essere inviata. Nella finestra Invia, l’opzione Veri*Factu è disponibile se Veri*Factu è stato abilitato.

Fare clic su Invia per generare un file JSON contenente i dettagli della fattura. Questo file viene memorizzato come documento Veri*Factu. Nella scheda Veri*Factu, tutti i documenti corrispondenti sono elencati per data di creazione e stato corrente.

Suggerimento

Per scaricare un file JSON, fare clic sul relativo documento nella scheda Veri*Factu. Quindi, nella finestra Open: Veri*Factu Documents, fare clic sul link nel campo JSON.

Nota

  • Il documento dovrebbe essere inviato immediatamente all”AEAT. Tuttavia, potrebbe essere ritardato a causa dei periodi di attesa obbligatori tra gli invii richiesti dall”AEAT. In questi casi, il documento viene inviato automaticamente alla successiva esecuzione di un’azione pianificata.

  • Un codice QR Veri*Factu appare sul PDF della fattura. Scansionare questo codice per verificare che la fattura sia stata ricevuta e riconosciuta dall”AEAT.

Ordini del punto vendita

Una volta che un ordine è stato pagato, viene generato un file JSON contenente i dettagli dell’ordine. Questo file viene archiviato come documento Veri*Factu.

Andare in Punto vendita ‣ Ordini ‣ Ordini. Nella vista elenco Ordini, selezionare l’ordine pertinente. Nella scheda Veri*Factu, tutti i documenti corrispondenti sono elencati per data di creazione e stato corrente.

Suggerimento

Per scaricare un file JSON, fare clic sul relativo documento nella scheda Veri*Factu. Quindi, nella finestra Open: Veri*Factu Documents, fare clic sul link nel campo JSON.

Nota

  • Il documento dovrebbe essere inviato immediatamente all”AEAT. Tuttavia, potrebbe essere ritardato a causa dei periodi di attesa obbligatori tra gli invii richiesti dall”AEAT. In questi casi, il documento viene inviato automaticamente alla successiva esecuzione di un’azione pianificata.

Se viene generata una fattura per un ordine durante il processo di pagamento, il documento Veri*Factu viene creato e inviato per la fattura invece.

Nota

Un codice QR Veri*Factu compare sulla ricevuta dell’ordine, anche se viene creata una fattura per l’ordine. Scannerizzare questo codice per verificare che la fattura sia stata ricevuta e riconosciuta dall”AEAT

TicketBAI

Ticket BAI or TBAI is an e-Invoicing system used by the Basque government and its three provincial councils (Álava, Biscay, and Gipuzkoa). Odoo supports the TicketBAI (TBAI) electronic invoicing format for all three regions of the Basque Country.

Nota

To use TicketBAI, make sure:

  • Country and Tax ID fields on the company record are filled in.

  • Spain -TicketBAI (l10n_es_edi_TBAI) module is installed.

To configure TicketBAI, follow these steps:

  1. Go to Accounting ‣ Configuration ‣ Settings and scroll down to the Spain Localization section.

  2. In the Registro de Libros connection TicketBAI section, select a region in the Tax Agency for TBAI field and Save.

  3. Click Manage certificates (TicketBAI).

  4. In the Certificates for EDI TicketBAI invoices on Spain view, click New.

  5. Click Upload your file to upload the certificate, enter the Certificate Password provided by the tax agency, and select TBAI in the Certificate scope field.

Avvertimento

To test certificates, go to Accounting ‣ Configuration ‣ Settings and, in the Spain Localization section, enable TBAI Test Mode.

Caso d’uso

Once an invoice is created and confirmed, follow these steps:

  1. Fare clic su Invia.

  2. In the Print & Send window, make sure the TicketBAI option is enabled and click Send

  3. In the TicketBAI invoice tab, the TicketBAI status is updated to Sent, and the XML file is available in the TicketBAI Post File field.

Nota

Il codice QR TBAI viene visualizzato sul PDF della fattura.

Codice QR del TicketBAI sulla fattura.

FACe

Nota

Make sure the Spain - Facturae EDI (l10n_es_edi_facturae) module is installed.

FACe è la piattaforma di fatturazione elettronica utilizzata dalle amministrazioni pubbliche in Spagna per inviare fatture elettroniche.

Per configurare FACe, seguire questi passaggi:

  1. Go to Accounting ‣ Configuration or Invoicing ‣ Configuration, and select Certificates in the Spain Facturae EDI section.

  2. Fare clic su Nuovo per creare un nuovo certificato.

  3. Click Upload your file to upload the certificate, enter the Certificate Password provided by the tax agency, and select Facturae in the Certificate scope field.

Caso d’uso

Once an invoice is created and confirmed, follow these steps:

  1. Make sure the customer has a valid VAT number and that their country is set to Spain.

  2. Fare clic su Invia.

  3. In the Print & Send window, make sure the Factura-e option is enabled and click Send.

  4. The generated XML file, available in the chatter, must then be sent manually.

Avvertimento

The XML file is NOT sent automatically.

Suggerimento

FACe XML files can be sent in batch through the governmental portal.

Centri amministrativi

For FACe to work with administrative centers, the invoice must include specific data about the centers.

Nota

Make sure the Spain - Facturae EDI (l10n_es_edi_facturae) module is installed.

To add administrative centers, create a new contact for the partner company. Select FACe Center as the type, assign one or more role(s) to that contact, and Save. The three roles usually required are:

  • Órgano gestor: Destinatario (Receiver);

  • Unidad tramitadora: Pagatore (Payer);

  • Oficina contable: Fiscale (Fiscal).

Modulo contatto centro amministrativo per enti pubblici.

Suggerimento

  • If administrative centers need different Codes per role, different centers must be created for each role.

  • When an electronic invoice is created with a partner that has administrative centers, all administrative centers are included in the invoice.

  • A contact can hold multiple roles, or multiple contacts can each have different roles.