How to create a correct invoice in Spain: complete guide

All the required fields a Spanish invoice must contain under RD 1619/2012, step by step.

If you run a business or work as a freelancer in Spain, issuing correct invoices is not optional — it is a legal obligation. A poorly made invoice can mean penalties from the tax authority, problems for your clients deducting VAT, and an unprofessional image. In this guide we explain step by step what an invoice must contain to comply with Spanish regulations.

What is an invoice and what is it for

An invoice is a commercial document that certifies a transaction between two parties. In Spain, its content and format are regulated by Royal Decree 1619/2012, which establishes invoicing obligations for businesses and professionals.

An invoice serves essential functions. For the issuer, it documents income and serves as the basis for declaring output VAT. For the recipient, it justifies an expense and allows deduction of input VAT. For the tax authority, it is the cornerstone of fiscal control. Failing to issue an invoice when required, or issuing one with incorrect data, constitutes a tax offence.

Required fields on a full invoice

Article 6 of RD 1619/2012 sets out the required data: invoice number and series (sequential, without gaps), issue date, complete issuer details (full name or company name, tax ID and registered address), and complete recipient details (full name or company name, tax ID and address). Numbering must be sequential within each series.

The invoice must include a clear description of the goods delivered or services provided that allows the transaction to be identified unambiguously. It must also contain the tax base for each transaction, the applicable VAT rate (21%, 10%, or 4%), the resulting VAT amount, and the total. If different VAT rates apply, each block must appear separately.

If the professional applies income tax withholding (IRPF), the percentage and amount of the withholding must be stated, along with the resulting total. For VAT-exempt transactions, the legal basis for the exemption must be mentioned. For intra-Community transactions, both parties' VAT identification numbers must be included.

Invoice format and layout

The law does not require a specific format or official template. What matters is that the invoice contains all required data and is legible. A typical layout places the issuer's details at the top (often with a logo), recipient details below, the invoice number and date in a visible position, a table with line items, the tax breakdown, and the total.

A well-structured invoice conveys professionalism and makes things easier for both the issuer and the recipient. Using invoicing software ensures the format is consistent and that no required data is omitted, eliminating the errors that occur when creating invoices manually.

Digital invoices vs paper invoices

Spanish regulations treat electronic invoices and paper invoices as equivalent. Both are legally valid as long as they contain all required data. You do not need to print your invoices — a PDF sent by email is perfectly acceptable. What matters is record-keeping. You are required to retain invoices for at least four years, ensuring their readability, integrity, and accessibility.

The most common delivery method is email in PDF format. It is instant, free, and leaves a record of delivery. If you use invoicing software, the program typically sends the invoice directly to the client. With the implementation of Verifactu (RD 1007/2023), invoices will also include a QR code and an electronic record sent to the AEAT, adding traceability and security.

What makes an invoice invalid

An invoice can be considered incorrect for several reasons: missing required data (tax ID, description, VAT breakdown), calculation errors, non-sequential numbering or gaps, and late issuance. Among the most common mistakes are generic descriptions like "various services", failing to break down VAT, omitting the recipient's tax details, and skipping invoice numbers.

The consequences are serious. The AEAT can impose penalties for failure to comply with invoicing obligations, with fines ranging from 1% of the transaction amount to fixed amounts per incorrect invoice, with a minimum of 300 euros. For the recipient, an incorrect invoice can prevent the deduction of input VAT. If you spot an error on an invoice already issued, do not delete or modify it — issue a corrective invoice.

Yes, as a general rule. Every business owner or professional must issue an invoice for all deliveries of goods and services provided. There are exceptions for transactions with final consumers that meet simplified invoice requirements.

Legally yes, as long as it contains all the required data. However, this method is error-prone and makes it difficult to control numbering. With the arrival of Verifactu, you will need certified invoicing software.

A simplified invoice has fewer requirements — it is not mandatory to include the recipient's details or a detailed VAT breakdown. However, it can only be used in certain cases and with amount limits (generally up to 400 euros, or up to 3,000 euros in hospitality and retail).

This is not permitted. If you need to correct the date or any other detail, you must issue a corrective invoice. Altering previously issued invoices can constitute a serious offence.

The payment method is not a legally required field under RD 1619/2012. However, it is recommended practice as it facilitates payment management and avoids misunderstandings with the client.

CokuApp: correct invoices without the hassle

CokuApp generates complete invoices that comply with all the requirements of RD 1619/2012. No need to worry about regulations.

  • Automatic sequential numbering — No gaps or sequence errors
  • Complete tax details — Issuer and recipient data always included
  • Automatic tax breakdown — Tax base, VAT rate, and amount calculated correctly
  • Direct email delivery — The invoice reaches your client as a PDF with one click

Get started today

Sign up in 2 minutes. Try the demo first.