Spanish invoice template for freelancers (IVA and IRPF)
Create Spanish invoices and quotes as PDF: 21, 10, 4 or 0% VAT (IVA) per line, 15% or 7% IRPF withholding, automatic numbering and NIF and IBAN validation. Free, no sign-up.
The invoice is calculated and the PDF is created in your browser: no data leaves your device. Numbering and saved details are stored only in this browser.
This tool creates a PDF; it is not a certified invoicing software system (Verifactu). Check with your gestor (tax adviser).
What a Spanish invoice must include
Under Royal Decree 1619/2012 (art. 6), a full invoice includes the number and series, the issue date, the full name and address of both issuer and client, the issuer's tax ID (NIF, and the client's in the cases the decree lists), a description of each item with its unit price and the data needed for the taxable base, the VAT rate and the VAT amount, and the date of the supply if it differs from the issue date. Invoices are numbered consecutively within each series. If a line has 0% VAT, the invoice must state why (the exemption article or reverse charge).
VAT (IVA)
VAT is calculated on the taxable base of each rate: 21% standard, 10% reduced (hospitality, passenger transport, home renovation work…), 4% super-reduced (bread, books, medicines…) and 0% for exempt or out-of-scope supplies. This tool rounds each line to the cent and computes the VAT amount once per rate.
IRPF withholding: 15% or 7%
When a self-employed professional invoices a company or another freelancer, the client withholds income tax (IRPF) and pays it to the tax agency: 15% in general, or 7% in the year the activity starts and the two following years. There is no withholding when the client is a private individual, nor for most business (non-professional) activities. It is calculated on the taxable base (VAT excluded) and subtracted from the amount due.
How to use it
- Under “Document” choose the “Document type” (Invoice or Quote), an optional “Series” and the “Number”: the tool suggests the next one in that series. Enter the “Issue date” and, if you like, the due date.
- Fill in “Issuer (you)” and “Client” with the full name or company name, the NIF / NIE / CIF and the address. The tax ID is checked as you type: its control letter or digit must be right.
- Under “Items” add each line with its description, quantity, unit price excluding VAT and VAT rate (21, 10, 4 or 0%). If any line is at 0%, fill in “Reason for 0% VAT”.
- Choose the “IRPF withholding” (none, 7% or 15%) and, optionally, the payment method, IBAN and notes.
- Check the totals and press “Download the PDF”. If a mandatory field is missing, the tool tells you which one. The number used is saved only in this browser.
Worked example
A consultant invoices a company for two items at 21% VAT: 12 hours of consulting at €37.50 (€450.00) and a fixed-price report of €120.00. The total taxable base is €570.00 and the 21% VAT, calculated once on that rate's base, is €119.70. As a professional with the standard 15% withholding, €85.50 of IRPF is deducted. The invoice total the client must pay is 570.00 + 119.70 − 85.50 = €604.20. With series 2026 and number 7, the PDF is issued as invoice 2026-0007 and the tool suggests number 8 for the next one.
Frequently asked questions
What must a Spanish invoice include?
Under Royal Decree 1619/2012, art. 6, a full invoice has a number and, where used, a series; the issue date; the name and address of issuer and client; the issuer's tax ID (and the client's in the cases the decree lists); a description of the items with unit prices; the VAT rate and amount; and the date of the supply if it differs from the issue date. This tool requires those fields before creating the PDF.
How must invoices be numbered?
Invoices are numbered consecutively within each series, with no gaps. You can use different series, for example one per year (2026) or one per type of operation (A, B). The tool suggests the next number in the series and saves it in this browser when you download the PDF; if you switch computers, check the last number you issued.
What must I write when a line has 0% VAT?
The invoice must state why no VAT is charged: the article of the VAT Act 37/1992 that grants the exemption (for example art. 20), or the wording “Inversión del sujeto pasivo” when the client accounts for the VAT under reverse charge. That is why “Reason for 0% VAT” is required whenever a line is at 0%.
When do I use 15% withholding and when 7%?
When a self-employed professional invoices a company or another autónomo, the client withholds 15% of the taxable base, or 7% in the year the activity starts and the two following years (Income Tax Act 35/2006, art. 101.5). If the client is a private individual, or your activity is a business rather than a profession, choose “No withholding”.
Is this a Verifactu invoicing system?
No. The tool creates a PDF with the invoice data, calculated in your browser without sending anything to a server, but it is not a certified invoicing software system (Verifactu). It also doesn't support credit notes with negative amounts. If you are required to use a certified system, check with your gestor.
Everything is calculated in your browser: this site doesn't send what you type anywhere.