Voixa Consultors · corporate services in Spain
Spain · VAT Act

Spanish VAT: taxpayer obligations, invoicing and payment data

Law 37/1992 on Value Added Tax, articles 164 to 166 quinquies: the formal obligations of taxpayers (census declarations, tax identification number, invoicing, accounting records, information returns, returns and payment, appointment of a representative), the rules on issuing and keeping invoices, and accounting obligations. They also cover the records that digital interfaces must keep and the records of cross-border payments that payment service providers must keep and make available to the tax administration.

Unofficial English translation from the Spanish by Voixa Consultors S.L. Alexander Baranov is responsible for the translation. Source: Ley 37/1992, de 28 de diciembre, del Impuesto sobre el Valor Añadido, consolidated text, last modification 7 October 2026, BOE-A-1992-28740 ↗. Check wording, figures, dates and legal effect against the Spanish original before relying on this reading. Source snapshot: 10 November 2026. This page: Title X, Chapters I and II, articles 164 to 166 quinquies. The whole Act is translated across 28 pages; see the contents of the VAT Act.

Title X. Obligations of taxpayers

Chapter I. General rules

Article 164. Obligations of taxpayers

One. Without prejudice to the provisions of the preceding Title, taxpayers of the Tax shall be obliged, with the requirements, limits and conditions determined by regulation, to:

1st) File declarations relating to the commencement, modification and cessation of the activities that make them subject to the Tax.

2nd) Apply to the Administration for a tax identification number, and communicate and evidence it in the cases that are established.

3rd) Issue and deliver an invoice for all their transactions, in accordance with what is determined by regulation.

4th) Keep the accounts and the records that are established, in the form defined by regulation, without prejudice to the provisions of the Commercial Code and other accounting rules.

5th) Submit periodically, or at the request of the Administration, information relating to their economic transactions with third parties and, in particular, a recapitulative statement of intra-Community transactions.

6th) File the corresponding returns and pay the amount of the resulting Tax.

Without prejudice to the provisions of the preceding paragraph, taxpayers shall file an annual summary return.

In the cases of article 13, number 2nd, of this Law, payment of the Tax must be evidenced in order to carry out the definitive registration of the means of transport.

7th) Appoint a representative for the purposes of complying with the obligations imposed by this Law where they are taxpayers not established in the Community, unless they are established in the Canary Islands, Ceuta or Melilla, or in a State with which there are instruments of mutual assistance similar to those instituted in the Community.

Two. The obligation to issue and deliver an invoice for the transactions carried out by businesses or professionals may be fulfilled, on the terms established by regulation, by the customer of those businesses or professionals or by a third party, who shall in all cases act in the name and on behalf of the business or professional.

Where that obligation is fulfilled by a customer of the business or professional, there must be a prior agreement between both parties. In addition, acceptance by that business or professional of each of the invoices issued in its name and on its behalf by its customer must be ensured.

Invoices may be issued by the business or professional, by its customer or by a third party, in the name and on behalf of that business or professional, by any means, on paper or in electronic format, provided that, in the latter case, the recipient of the invoices has given its consent.

The invoice, whether on paper or electronic, must guarantee the authenticity of its origin, the integrity of its content and its legibility, from the date of issue and throughout the entire retention period.

The requirements to be met in the issue, sending and retention of invoices shall be determined by regulation.

Three. The provisions of the preceding paragraphs shall also apply to those who, without being taxpayers of this Tax, nevertheless have the status of businesses or professionals for its purposes, with the requirements, limits and conditions determined by regulation.

Four. The tax administration, where it considers it necessary for the purposes of any action aimed at verifying the tax position of the business or professional or taxpayer, may require a translation into Castilian Spanish, or into any other official language, of the invoices relating to supplies of goods or services carried out in the territory where the tax applies, and of those received by businesses or professionals or taxpayers established in that territory.

Article 165. Special rules on invoicing

One. Invoices received, accounting vouchers and copies of invoices issued must be kept, including by electronic means, for the limitation period of the Tax. This obligation may be fulfilled by a third party, who shall act in the name and on behalf of the taxpayer.

Where the documents referred to in the preceding paragraph relate to acquisitions for which Value Added Tax amounts have been borne or paid whose deduction is subject to an adjustment period, they must be kept for the adjustment period corresponding to those amounts and the following four years.

The requirements for complying with the obligations established in this paragraph shall be laid down by regulation.

Two. Alternative arrangements may be established by regulation for complying with the obligations of invoicing and of keeping the documents referred to in the preceding paragraph, in order to prevent disruption to the conduct of business or professional activities.

Three. Where the taxpayer keeps the documents referred to in paragraph One of this article by electronic means, the tax administration must be guaranteed both online access to them and their remote downloading and use. This obligation shall apply irrespective of the place where the documents are kept.

Article 166. Accounting obligations

One. The accounts must make it possible to determine precisely:

1st The total amount of Value Added Tax that the taxpayer has charged to its customers.

2nd The total amount of Tax borne by the taxpayer.

Two. All transactions carried out by taxpayers in the course of their business or professional activities must be entered in the accounts or recorded within the time limits established for the self-assessment and payment of the Tax.

Three. The head of the Ministry of Finance and Public Administration may provide for adaptations or modifications of the record-keeping obligations of certain business or professional sectors.

Chapter II. Special provisions

Section 1. Obligations of digital interfaces

Article 166 bis. Record of transactions

One. Where a business or professional, acting as such, by using a digital interface such as an online marketplace, platform, portal or other similar means, facilitates the supply of goods or services to persons who are not businesses or professionals acting as such, and is not the taxpayer in respect of those supplies of goods or services, it shall be obliged to keep a record of those transactions.

Its content shall comply with article 54c(2) of Council Implementing Regulation (EU) No 282/2011 of 15 March 2011 laying down implementing measures for Directive 2006/112/EC on the common system of value added tax, and it must be made available electronically, on request, to the Member States concerned.

The record shall be kept for a period of ten years from the end of the year in which the transaction was carried out.

Two. Where a business or professional, acting as such, by using a digital interface such as an online marketplace, platform, portal or other similar means, facilitates the supply of goods on the terms of article 8 bis of this Law, or where it takes part in a supply of electronically supplied services for which it is deemed to act in its own name in accordance with article 9a of the aforementioned Regulation (EU) No 282/2011, it shall be obliged to keep the following records:

a) The records established in article 63c of the aforementioned Regulation (EU) No 282/2011, where that business or professional is under the special schemes provided for in Chapter XI of Title IX of this Law.

b) The records established in article 164.One.4th of this Law, where it is not under the special schemes provided for in Chapter XI of Title IX of this Law.

Section 2. Obligations of payment service providers

Article 166 ter. Definitions

For the purposes of this section, the following shall be understood as:

a) “payment service provider”: the entities and bodies referred to in paragraphs 1 and 2 of article 5 of Royal Decree-law 19/2018 of 23 November on payment services and other urgent financial measures, and the natural or legal persons that avail themselves of the exemptions provided for in articles 14 and 15 of that Royal Decree-law;

b) “payment service”: one or more of the business activities listed in letters c) to f) of article 1.2 of Royal Decree-law 19/2018;

c) “payment”: subject to the exclusions provided for in article 4 of Royal Decree-law 19/2018, a “payment transaction” as defined in article 3, point 26, of that Royal Decree-law, or a “money remittance service” as defined in article 3, point 36, of that Royal Decree-law;

d) “payer”: the natural or legal person who holds a payment account and authorises a payment order from that account or, where there is no payment account, the natural or legal person who gives a payment order;

e) “payee”: the natural or legal person who is the intended recipient of the funds that have been the subject of a payment transaction;

f) “home Member State”: one of the following:

a′) The Member State of the European Union in which the payment service provider has its registered office, or

b′) If the payment service provider has no registered office under its national law, the Member State of the European Union in which it has its head office;

g) “host Member State”: the Member State of the European Union other than the home Member State in which the payment service provider has an agent or a branch or provides payment services;

h) “payment account”: an account held in the name of one or more payment service users which is used for the execution of payment transactions;

i) “IBAN”: an international payment account identifier number which unambiguously identifies an individual payment account in a Member State and whose elements are specified by the International Organization for Standardization (ISO);

j) “BIC”: a business identifier code which unambiguously identifies a payment service provider and whose elements are specified by the ISO.

Article 166 quater. Obligations of payment service providers

Payment service providers whose home or host Member State is the Kingdom of Spain shall, under the conditions determined by regulation, be obliged to:

a) Keep sufficiently detailed records of payees and of payments in relation to the payment services they provide in each calendar quarter.

The above obligation shall apply only to payment services provided in relation to cross-border payments. A payment shall be regarded as cross-border where the payer is located in one Member State and the payee is located in another Member State or in a third country or territory.

This obligation shall apply where, in the course of a calendar quarter, a payment service provider provides payment services corresponding to more than 25 cross-border payments to the same payee.

The number of cross-border payments referred to in the preceding paragraph shall be calculated by reference to the payment services provided by the payment service provider per Member State and per each of the identifiers referred to in article 166 quinquies.Two. Where the payment service provider has information that the payee has several identifiers, the calculation shall be made per payee.

This obligation shall not apply to payment services provided by the payment service providers of the payer as regards any payment where at least one of the payment service providers of the payee is located in a Member State, as shown by that payment service provider’s BIC or by any other business identifier code that unambiguously identifies the payment service provider and its location. However, the payment service providers of the payer shall include those payment services in the calculation referred to in the third and fourth paragraphs of this letter a).

The records shall be kept by the payment service providers in electronic format for a period of three calendar years from the end of the calendar year of the date of payment.

b) Make the records referred to in the preceding letter available to the tax administration.

Threshold. Under article 166 quater, letter a), the record-keeping obligation applies only to cross-border payments and only where a provider handles more than 25 cross-border payments to the same payee in a calendar quarter; the records are kept for three calendar years.

Article 166 quinquies. Location of the payer and the payee

One. For the purposes of applying article 166 quater, letter a), second paragraph, of this Law, the payer shall be regarded as located in the Member State that corresponds:

a) to the IBAN of the payer’s payment account or to any other identifier that unambiguously identifies, and gives the location of, the payer, or in the absence of such identifiers;

b) to the BIC or to any other business identifier code that unambiguously identifies, and gives the location of, the payment service provider acting on behalf of the payer.

Two. For the purposes of applying article 166 quater, letter a), second paragraph, of this Law, the payee shall be regarded as located in the Member State or third territory or country that corresponds:

a) to the IBAN of the payee’s payment account or to any other identifier that unambiguously identifies, and gives the location of, the payee, or in the absence of such identifiers;

b) to the BIC or to any other business identifier code that unambiguously identifies, and gives the location of, the payment service provider acting on behalf of the payee.

Where this sits

Previous: Import one-stop shop. Next: Returns, suspension and penalties. All parts: contents of the VAT Act.

Related on voixa.es: Verifactu and e-invoicing in Spain; Modelo 036, filled in without mistakes; ROI registration: the intra-EU VAT number.

Nothing here is advice on your own position, and this reading is not the official text. Where the wording matters to a decision, read it against the Spanish original published in the BOE.