---
schema_version: "1"
id: 56aa4501368336529ead53a236b6662534d84af82484a6212e55aeba733317cc
title: Fiscalization Requirements for Spain
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/rt_cms_settings_fiscalization_requirements_for_spain.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.rt_cms_settings_fiscalization_requirements_for_spain.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e7b353c717a878a24569143e711d5cb586b0a6c7deed151e3cdc47f06f9b5106
description: Set up Point of Sale CMS to follow Spain's tax rules, including Verifactu and TicketBAI. These tools check how much VAT is being reported and if it's being paid.
products:
  - Commerce
release: "264"
---
# Fiscalization Requirements for Spain

Set up Point of Sale CMS to follow Spain's tax rules, including Verifactu and TicketBAI. These tools check how much VAT is being reported and if it's being paid.

Starting January 2026, retail merchants subject to corporate tax in Spain shall follow Verifactu, the Spanish Tax Agency’s (AEAT) new invoice reporting system.

Merchants that are based in the Basque Country (Araba, Gipuzkoa, Bizkaia) shall also follow TicketBAI. TicketBAI is a set of rules that were created by the provinces.

## Which System Applies to You?

Your reporting obligations depend on your company’s fiscal residency, not the physical location of your stores:

- **Verifactu**: applies to businesses fiscally registered in all regions of Spain except Navarre and the Basque Country.
- **TicketBAI**: Applies to businesses fiscally registered in the Basque Country, even if their stores operate outside that region.

## Key Differences Between Verifactu and TicketBAI

  
| Requirement | **Verifactu** | **TicketBAI** |
| --- | --- | --- |
| **Transmission** | Real-time or deferred with secure storage | Real-time only |
| **Certificates** | Not required | Device certificates required |
| **Software Setup** | AEAT compliance | Must be registered with provincial authorities |

## High-Level Requirements

Both Verifactu (for most of Spain) and TicketBAI (for Basque Country) aim to combat tax fraud by imposing requirements on POS systems, verifying:

- **Traceability and Integrity**
    - Sequential and unalterable transaction records
    - XML file generation for all transactions
    - Secure storage of all generated XML files
- **Reporting**
    - Mandatory use of certified software for electronic invoicing
    - Capability to send billing records to tax authorities (real time for TicketBAI)
    - Digital signatures for XML files (TicketBAI)
- **Invoice Features**
    - QR codes and identification codes on invoices

## Receipt Requirements

[Verifactu](https://docs.efsta.net/efr/ES/receipt-layout-verifactu/)

[TicketBAI](https://docs.efsta.net/efr/ES/receipt-layout-ticketbai/)

## Reporting Requirements

Transactions are reported to Verifactu or TicketBAI in real time via EFSTA middleware.

Merchants will be granted access to the EFSTA portal to retrieve these reports as needed. Detailed instructions on how to retrieve these files are provided [here](https://help.salesforce.com/s/articleView?id=commerce.rt_cms_fiscalization_accessing_efsta_fiscal_reports.htm&release=264.0.0&type=5 "Generate fiscal reports using Point of Sale and EFSTA to sign every transaction with TSE.").

## Third-Party Responsibilities

Point of Sale collaborates with EFSTA, a middleware provider that verifies the fiscalization, security, and archiving of all order data.

EFSTA's documentation related to Spain is available [here](https://docs.efsta.net/efr/ES/).

## Offline Behavior

Receipts can be printed in offline mode, but the transaction is only fiscalized after the POS system goes online. The receipts indicate that the fiscal service was offline after the transaction finished. After the POS system goes online, the data is synced with EFSTA to fiscalize the transaction.

Review the offline and online capabilities comparison [here](https://help.salesforce.com/s/articleView?id=commerce.rt_cms_fiscalization_online_and_offline_capabilities.htm&release=264.0.0&type=5 "Quickly learn which fiscalization methods countries support in online and offline mode. Use this when configuring fiscalization in Point of Sale.").

## Set up and Configure EFTSA

Initial merchant setup on EFTSA is performed by the Point of Sale team, and merchant users can log in to the EFSTA portal. Merchants can ‌access their reports on the portal.

### Turn on Fiscalization for Spain

Point of Sale CMS groups fiscalization settings in one place. The navigation path you use depends on whether you’re setting up fiscalization for the first time.

1. For new merchants, go to **Integrations > Fiscalization** and create a configuration. If you can’t create a configuration, switch to a merchant region that supports fiscalization. For example, a U.S. merchant region that doesn’t support fiscalization won’t allow you to create one.
2. For legacy merchants, go to **Store Management > Store Settings > Fiscal.**
    1. Expand All and enable/configure these settings:
        
        Enabling Fiscalization
        
        Tax Identifier (merchant tax ID).

### Configure Receipts for Spain Fiscalization

Metadata that needs to be included in ‌receipt headers and footers along with other standard fields:

 
| Required Information | Expected Information / [PS Tags](https://help.salesforce.com/s/articleView?id=commerce.rt_cms_layouts_receipts_tags_config_print.htm&release=264.0.0&type=5 "Print tags are placeholder strings that dynamically display data in Point of Sale layouts. Add print tags to native or HTML text overlays to display information such as order totals, customer names, or store details. You can also use print tags in certain app-level settings.") |
| --- | --- |
| Número de identificación fiscal (NIF) | _<Enter Client Tax ID to be provided by client>_ |
| Version | :ps\_major\_version |
| Fecha de la transacción | :ps\_order\_time |
| Imprimir fecha | :ps\_current\_timestamp |
| Número de impresión | :ps\_print\_number |
| Número de líneas | :ps\_transaction\_line\_items\_count |
| Transacción | :ps\_transaction\_id |
| ID del billete | :ps\_receipt\_id |

For printing the Fiscal QR code on printed receipts, specific fiscal tags shall be added to the receipt template (more details on the printed receipt template can be found [here](https://help.salesforce.com/s/articleView?id=commerce.rt_cms_layouts_receipts.htm&release=264.0.0&type=5 "Customize your customer's checkout experience by setting up various receipt layouts, including alterations and SKU-level gift receipts in Point of Sale. Efficiently manage invoice documents and meet specific Mexico requirements for order receipts. This flexible configuration process allows you to present essential transaction details clearly and even brand your receipts with a logo image, enhancing customer satisfaction and streamlining record-keeping.")).

- :ps\_fiscal\_label
- :ps\_fiscal\_value

If a merchant intends to use Point of Sale's email receipt template for printing Fiscal data on the email receipts, specific fiscal tags shall be added to the email receipt template (more information on the email receipt templates can be found [here](https://help.salesforce.com/s/articleView?id=commerce.rt_cms_layouts_templates_email.htm&release=264.0.0&type=5 "Explore the diverse range of Point of Sale email templates designed to enhance communication efficiency. Retail professionals can quickly generate consistent and effective messages, improving customer engagement and satisfaction.")).

- {fiscal\_print\_placeholder\_start}
- {fiscal\_print\_label}
- {fiscal\_print\_value}
- {fiscal\_print\_placeholder\_end}

### Obtain Digital Certificates

Merchants shall obtain a company seal certificate for Verifactu compliance. This certificate lets their billing software sign invoicing records automatically and digitally. This makes it safe for tax authorities to verify the records and make sure they're valid.

Verifactu - [Process Guide](https://docs.efsta.net/efr/ES/verifactu) by EFSTA. Refer Certificate Setup section

TicketBAI - [Process Guide](https://docs.efsta.net/efr/ES/ticketbai) by EFSTA. Refer Certificate Registration section