ประเทศสเปน

โมดูล

The following modules are installed automatically with the Spanish localization:

ชื่อ

ชื่อทางเทคนิค

คำอธิบาย

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 - Facturae EDI

l10n_es_edi_facturae

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

Spain - Facturae EDI - Administrative Centers Patch

l10n_es_edi_facturae_adm_centers

Patch module for Administrative Centers in EDI Facturae.

Spain - Facturae EDI - Invoice Period

l10n_es_edi_facturae_invoice_period

Patch module for Invoice Period in EDI Facturae.

Additionally, the following modules must be manually installed:

ชื่อ

ชื่อทางเทคนิค

คำอธิบาย

Spain - Modelo 130

l10n_es_reports_modelo130

Allows Modelo 130 Tax report specifications.

Spain - Modelo 130 Tax report

l10n_es_modelo130

Allows Modelo 130 Tax report specifications.

Spain - Point of Sale

l10n_es_pos

Spanish localization for Point of Sale.

Spain - POS + 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.

Note

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.

Localization overview

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

Note

  • 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.

รายงาน

The Spanish-specific statement reports available are:

รายงานภาษี

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)

Tip

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

การเปลี่ยนแปลงเปอร์เซ็นต์

หากคุณต้องการเปลี่ยนการคำนวณเปอร์เซ็นต์ของกล่อง [04] ภายใต้ส่วน I และ/หรือของกล่อง [09] ภายใต้ส่วน II:

  1. เปิดใช้งาน โหมดนักพัฒนา ไปที่ ระบบบัญชี ‣ การรายงาน ‣ รายงานภาษี และเลือกรายงาน รายงานภาษี (Modelo 130)

  2. คลิกไอคอน (cogs) ทางด้านขวาของ รายงาน : รายงานภาษี (Mod 130) (ES)

  3. คลิกกล่องที่คุณต้องการเปลี่ยนแปลง จากนั้นในหน้าต่างป๊อปอัป ให้คลิกที่บรรทัด เปอร์เซ็นต์ ในหน้าต่างป๊อปอัปใหม่ ให้เปลี่ยนค่าในฟิลด์ สูตร เป็นเปอร์เซ็นต์ที่คุณต้องการใช้ ทำซ้ำขั้นตอนนี้หากคุณต้องการปรับเปลี่ยนกล่องอื่นด้วย

รายงานกิจกรรมการเกษตร

หากคุณต้องการให้ใส่จำนวนในส่วน II (จากกล่อง [08] ถึง [11]) คุณต้องเปลี่ยน อุตสาหกรรม ของผู้ติดต่อที่เกี่ยวข้องเป็น เกษตรกรรม:

  1. ไปที่แบบฟอร์มติดต่อ (เช่น ระบบบัญชี ‣ ลูกค้า ‣ ลูกค้า หรือ ระบบบัญชี ‣ ผู้ขาย ‣ ผู้ขาย) และเลือกผู้ติดต่อ

  2. ในแท็บ การขายและการจัดซื้อ ให้ตั้งค่าฟิลด์ อุตสาหกรรม เป็น การเกษตร

ทำซ้ำการดำเนินการนี้สำหรับการติดต่อทั้งหมดที่เกี่ยวข้องกับอุตสาหกรรม เกษตรกรรม

Veri*Factu

Note

ผู้ผลิตระบบการออกใบแจ้งหนี้ Veri*Factu ต้องรับรองตนเองว่าปฏิบัติตามข้อบังคับ ดาวน์โหลด "declaración responsable" ของ 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 อนุญาตให้:ref:`ใบแจ้งหนี้ <localizations/spain/veri-factu-invoices>`และ:ref:`คำสั่งซื้อ <localizations/spain/veri-factu-orders>`การขายหน้าร้านถูกส่งไปยังหน่วยงานภาษีโดยอัตโนมัติ

การกำหนดค่า

ในการเปิดใช้งาน Veri*Factu ให้ทำตามขั้นตอนเหล่านี้:

  1. เปิดแอปการตั้งค่าเพื่อตรวจสอบให้แน่ใจว่า:guilabel:ประเทศ`และ:guilabel:`Tax ID`ของบริษัทของคุณถูกตั้งค่าอย่างถูกต้องในส่วน:ref:`บริษัท <general/companies/company>

  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. ในมุมมองรายการ:guilabel:ใบรับรองสำหรับ Veri*Factu คลิก:guilabel:สร้าง

  5. คลิก:guilabel:อัปโหลดไฟล์ของคุณ จากนั้นเลือกไฟล์ใบรับรองและใส่:guilabel:`รหัสผ่าน`ที่จำเป็นในการเปิดใบรับรอง (หากมี)

Note

  • ต้องอัปโหลดใบรับรองอย่างน้อยหนึ่งใบ

  • โดยค่าเริ่มต้น Veri*Factu อยู่ในโหมดทดสอบ ข้อมูลจะถูกส่งไปยังเซิร์ฟเวอร์ทดสอบและไม่ถือว่าเป็นทางการ เมื่อสามารถส่งข้อมูลอย่างเป็นทางการไปยังเซิร์ฟเวอร์การใช้งานจริงได้ ให้ไปที่ส่วน:guilabel:Veri*Factu`ใน:guilabel:`การตั้งค่า`และปิดการใช้งาน:guilabel:`สภาพแวดล้อมทดสอบ

การแจ้งหนี้

เมื่อ:doc:ใบแจ้งหนี้ <../../finance/accounting/customer_invoices>`ได้รับการยืนยันแล้ว จะสามารถ:ref:`ส่ง <accounting/invoice/sending>`ได้ ในหน้าต่าง:guilabel:`ส่ง ตัวเลือก Veri*Factu จะพร้อมใช้งานหาก Veri*Factu ได้รับการเปิดใช้งานแล้ว

คลิก:guilabel:ส่ง`เพื่อสร้างไฟล์ JSON ที่มีรายละเอียดใบแจ้งหนี้ ไฟล์นี้จะถูกจัดเก็บเป็นเอกสาร Veri*Factu ในแท็บ:guilabel:`Veri*Factu เอกสารที่เกี่ยวข้องทั้งหมดจะแสดงรายการตามวันที่สร้างและสถานะปัจจุบัน

Tip

ในการดาวน์โหลดไฟล์ JSON ให้คลิกที่เอกสารนั้นในแท็บ:guilabel:Veri*Factu จากนั้นในหน้าต่าง:guilabel:เปิด: เอกสาร Veri*Factu ให้คลิกลิงก์ในฟิลด์:guilabel:JSON

Note

  • เอกสารควรถูกส่งไปยัง:abbr:AEAT (Agencia Estatal de Administración Tributaria)`ทันที อย่างไรก็ตาม อาจมีความล่าช้าเนื่องจากระยะเวลารอที่บังคับใช้ระหว่างการส่งที่กำหนดโดย:abbr:`AEAT (Agencia Estatal de Administración Tributaria) ในกรณีเช่นนี้ เอกสารจะถูกส่งโดยอัตโนมัติในครั้งถัดไปที่การดำเนินการตามกำหนดเวลาทำงาน

  • รหัส QR ของ Veri*Factu จะปรากฏบน PDF ของใบแจ้งหนี้ สแกนรหัสนี้เพื่อตรวจสอบว่าใบแจ้งหนี้ได้รับและรับทราบโดย:abbr:AEAT (Agencia Estatal de Administración Tributaria)

คำสั่งซื้อการขายหน้าร้าน

Once an order has been paid, a JSON file containing the order details is generated. This file is stored as a Veri*Factu document.

ไปที่:menuselection:การขายหน้าร้าน --> คำสั่งซื้อ --> คำสั่งซื้อ ในมุมมองรายการ:guilabel:คำสั่งซื้อ เลือกคำสั่งซื้อที่เกี่ยวข้อง ในแท็บ:guilabel:Veri*Factu เอกสารที่เกี่ยวข้องทั้งหมดจะแสดงรายการตามวันที่สร้างและสถานะปัจจุบัน

Tip

ในการดาวน์โหลดไฟล์ JSON ให้คลิกที่เอกสารนั้นในแท็บ:guilabel:Veri*Factu จากนั้นในหน้าต่าง:guilabel:เปิด: เอกสาร Veri*Factu ให้คลิกลิงก์ในฟิลด์:guilabel:JSON

Note

  • เอกสารควรถูกส่งไปยัง:abbr:AEAT (Agencia Estatal de Administración Tributaria)`ทันที อย่างไรก็ตาม อาจมีความล่าช้าเนื่องจากระยะเวลารอที่บังคับใช้ระหว่างการส่งที่กำหนดโดย:abbr:`AEAT (Agencia Estatal de Administración Tributaria) ในกรณีเช่นนี้ เอกสารจะถูกส่งโดยอัตโนมัติในครั้งถัดไปที่การดำเนินการตามกำหนดเวลาทำงาน

หากมีการสร้างใบแจ้งหนี้สำหรับคำสั่งซื้อระหว่างกระบวนการชำระเงิน เอกสาร Veri*Factu จะถูก:ref:`สร้างและส่งสำหรับใบแจ้งหนี้ <localizations/spain/veri-factu-invoices>`แทน

Note

รหัส QR ของ Veri*Factu จะปรากฏบนใบเสร็จรับเงินของคำสั่งซื้อ แม้ว่าจะมีการสร้างใบแจ้งหนี้สำหรับคำสั่งซื้อก็ตาม สแกนรหัสนี้เพื่อตรวจสอบว่าใบแจ้งหนี้ได้รับและรับทราบโดย:abbr:AEAT (Agencia Estatal de Administración Tributaria)

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.

Note

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.

Go to Accounting ‣ Configuration ‣ Settings and scroll down to the Spain Localization section. In the Tax Agency for TBAI field, select a region and Save. Then, click Manage certificates (SII/TicketBAI).

In the Certificates for EDI invoices on Spain view, click New, then Upload your file to upload the certificate and enter the Password provided by the tax agency.

Warning

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

กรณีการใช้งาน

Once an invoice has been created and confirmed, a The invoice will soon be sent to TicketBAI (ES) - Process now banner appears at the top.

แบนเนอร์ TicketBAI ที่ด้านบนของใบแจ้งหนี้เมื่อส่งแล้ว

Invoices are automatically sent through TicketBAI once a day. To manually trigger the scheduled action and send the invoice, click Process Now.

When the invoice is sent, the Electronic Invoice field status changes to Sent, and the XML file can be found in the chatter. Under the EDI Documents tab, the traceability of other generated documents related to the invoice (e.g., whether the invoice should also be sent through the SII) is displayed.

Note

TBAI รหัส QR โค้ด จะแสดงอยู่ในใบแจ้งหนี้ PDF

รหัส QR โค้ดของ TicketBAI บนใบแจ้งหนี้

FACe

FACe เป็นแพลตฟอร์ม e-Invoicing ที่ใช้โดยหน่วยงานภาครัฐในประเทศสเปนเพื่อส่งใบแจ้งหนี้ทางอิเล็กทรอนิกส์

Before configuring the FACe system, install the Spain - Facturae EDI (l10n_es_edi_facturae) module and other Facturae EDI-related modules.

หากต้องการเปิดใช้งาน FACe ให้ไปที่ การตั้งค่า -> การตั้งค่าทั่วไป คลิก อัปเดตข้อมูล ในส่วน บริษัท จากนั้นคลิก อัปเดตข้อมูล และตั้งค่า :guilabel :ประเทศ และ หมายเลขประจำตัวผู้เสียภาษี ของบริษัทของคุณ จากนั้น เพิ่ม ใบรับรองลายเซ็น Factorae โดยคลิก เพิ่มรายการ อัปโหลดใบรับรองที่หน่วยงานภาษีให้มา และกรอกรหัสผ่านที่ให้มา

กรณีการใช้งาน

เมื่อคุณได้ สร้าง ใบแจ้งหนี้และยืนยันแล้ว ให้คลิก ส่งและพิมพ์ ตรวจสอบให้แน่ใจว่า สร้างไฟล์ edi Facturae ได้เปิดใช้งานอยู่ และคลิก ส่งและพิมพ์ อีกครั้ง เมื่อส่งใบแจ้งหนี้แล้ว ไฟล์ XML ที่สร้างขึ้นจะพร้อมใช้งานใน ช่องแชท

Warning

ไฟล์นี้ ไม่ถูกส่ง โดยอัตโนมัติ คุณต้องส่งด้วยตนเอง

Tip

คุณสามารถส่งไฟล์ XML FACe เป็นกลุ่มผ่าน พอร์ทัลของรัฐบาล

ศูนย์บริหาร

เพื่อให้ FACe ทำงานร่วมกับ ศูนย์บริหาร ใบแจ้งหนี้ ต้อง มีข้อมูลเฉพาะเกี่ยวกับศูนย์

Note

Make sure to have the Spain - Facturae EDI - Administrative Centers Patch (l10n_es_edi_facturae_adm_centers) module installed.

หากต้องการเพิ่ม ศูนย์บริหาร ให้สร้าง ผู้ติดต่อ ใหม่เพื่อเพิ่มให้กับบริษัท พาร์ทเนอร์ เลือก ศูนย์ FACe เป็น ประเภท มอบหมาย หน้าที่ อย่างน้อยหนึ่งหน้าที่ให้กับผู้ติดต่อนั้น และ บันทึก โดยทั่วไป สาม หน้าที่ที่ต้องการได้แก่:

  • Órgano gestor: Receptor (Receiver);

  • Unidad tramitadora: Pagador (Payer);

  • Oficina contable: Fiscal (Fiscal).

แบบฟอร์มติดต่อศูนย์บริหารสำหรับหน่วยงานภาครัฐ

Tip

  • หากศูนย์การจัดการต้องการ รหัส ที่แตกต่างกันในแต่ละหน้าที่ คุณ ต้อง สร้างศูนย์ที่แตกต่างกันสำหรับแต่ละหน้าที่

  • เมื่อมีการสร้างใบแจ้งหนี้อิเล็กทรอนิกส์โดยใช้คู่ค้ากับ ศูนย์การจัดการ ศูนย์การจัดการ ทั้งหมด จะรวมอยู่ในใบแจ้งหนี้

  • คุณสามารถเพิ่มผู้ติดต่อหนึ่งรายที่มีหลายหน้าที่ หรือผู้ติดต่อหลายรายที่มีหน้าที่ต่างกันก็ได้