Accounting books for a Spanish company: what you must keep and how they are legalised
A box of invoices is not a set of books. Spanish law requires every company to keep specific accounting books, have them legalised each year at the Mercantile Registry and store them for years. Here is what that means for foreign owners and directors, in plain English.
Led by Patrick Gordinne Pérez, economist registered with the Colegio de Economistas de Alicante (Alicante Association of Economists), no. 2722, since 2004. We work in English, Spanish and French.
What does “keeping the books” mean for a Spanish company?
The Spanish Commercial Code (Código de Comercio) requires every business to keep orderly accounts: all transactions recorded in date order, so that balance sheets can be drawn up regularly. Entries are made in euros.
Those books are the basis for everything else: the annual accounts, the corporate income tax return, and what the company can prove to the Tax Agency, a bank or a court.
The owners can live abroad, the books cannot be skipped
A Spanish SL owned by British, Irish, Dutch or Scandinavian shareholders has exactly the same obligations as one owned by Spaniards. So does a company that only holds a property.
Accounting books and VAT books are not the same
The accounting books come from the Commercial Code; the VAT record books come from the Tax Agency. A company keeps both, and they must match.
A Spanish branch of a foreign company (a permanent establishment, for tax purposes) must keep separate accounts for its own transactions and assets, and meet the same accounting obligations as a Spanish company.
Four numbers every director should know
From year end. If your financial year ends on 31 December, by 30 April.
At least every quarter, a trial balance with totals and balances goes into the Inventory and Annual Accounts book.
From the last entry, together with invoices, receipts and correspondence. Even if the company closes.
The time the Tax Agency has to check past losses that the company offsets against profits.
Which books a Spanish company must keep
A Spanish SL or SA does not keep one ledger but several. Some are required by the Commercial Code, some by the Companies Act (Ley de Sociedades de Capital) and some by the Tax Agency. Here is the full map.
Records every transaction day by day. Totals for periods of up to three months are allowed, as long as the detail is kept in other records.
Opens with the initial balance sheet, includes a trial balance at least every quarter and, at year end, the closing inventory and the annual accounts.
Resolutions of shareholders’ meetings and of the board, if there is one. In a single-shareholder company, the sole shareholder’s decisions.
Who owns each share in an SL (or registered share in an SA), plus transfers and charges. The company only treats as a shareholder someone recorded in this book.
Contracts between the sole shareholder and the company, such as a loan or a lease, are entered in this book.
Invoices issued, invoices received, capital assets and certain EU transactions. More on our VAT for companies page.
Companies that file VAT monthly, for example those with a turnover above 6 million euros in the previous year, do not keep their VAT books in their own software: they keep them on the Tax Agency’s website, sending the details of each invoice. This is the SII (Immediate Supply of Information).
How the books are legalised every year
Legalising means filing the books with the Mercantile Registry (Registro Mercantil, Spain’s companies register) so there is official proof of their content and date. It is a Spanish formality that often surprises foreign owners, and today it is all done online: the old blank paper books stamped in advance are no longer accepted.
The books are kept electronically
We record the transactions in the accounting software and keep the minutes and the register of shareholders up to date. No piling everything up for year end.
The books are closed and the files generated
Once the accounts are closed, one file is prepared for each book, in the format the Registry requires.
They are sent to the Registry with an electronic signature
They are filed online with the Mercantile Registry of the province where the company has its registered office, signed with an electronic certificate. If you do not have one, see what a digital certificate is. With a calendar year, the deadline is 30 April.
- If they are filed late, the Registry still legalises them, but records that they were filed out of time.
The registrar certifies the legalisation
The registrar checks the requirements and issues an electronic certificate with a validation code. The company must keep an identical copy of the files it sent.
How long a Spanish company must keep its accounts
Two different laws apply here, which is why there is so much confusion. The Commercial Code sets one period and the Tax Agency another, which can be longer.
6 years under the Commercial Code
Books, invoices, receipts and correspondence, counted from the last entry. If the company closes, the duty remains: in a dissolved company it passes to the liquidators.
4 years for the Tax Agency, as a general rule
This is how long the Tax Agency has to review a tax. Until it runs out, it can ask for that year’s books and invoices.
Up to 10 years if there are losses
If the company offsets losses from previous years or applies pending tax credits, the Tax Agency can check them for 10 years and ask for the books of the year in which they arose.
If your company is still offsetting losses from eight or nine years ago, you need the books from those years to prove them. Before destroying anything, check which losses or credits are still pending.
What happens when the accounting goes wrong
For the Spanish Tax Agency, accounting failures are a serious offence even if no tax has gone unpaid. These are the fines set by the General Tax Act (Ley General Tributaria):
Fixed fine for keeping the books or records more than four months late.
Of the amount of the missing or inaccurate entries, with a minimum of €150 and a maximum of €6,000.
With a minimum of €600. Example: a company with a turnover of €400,000 a year faces a fine of €4,000.
For each financial year affected.
And there is something worse than the fine: without reliable books, the company will struggle to justify its expenses and figures in a tax inspection.
What we do and what we do not do
We do not offer bookkeeping as a one-off job: it is part of our accounting service for companies, where we look after your company’s accounts and taxes all year round. That way the year end, the annual accounts and the corporate income tax return all come from the same figures. One English-speaking contact who knows your company, wherever in Spain it is and wherever you live.
We take care of
- Your company’s bookkeeping under the Spanish General Accounting Plan, up to date and in date order.
- Quarterly trial balances and the year-end close.
- The VAT record books, reconciled with the accounts.
- The minute book and the register of shareholders.
- Online legalisation of all the books at the Mercantile Registry.
- Bringing overdue accounts up to date when a company becomes a client.
Outside our scope
- The audit itself: it is carried out by an independent auditor. If your company needs one, we work with them.
- Legalising only the books of a company whose accounts are kept by someone else: we work with year-round accounting and tax management.
- Representing the company in a dispute between shareholders: if it goes to court, a lawyer must step in.
Written and reviewed by Patrick Gordinne Pérez, economist registered with the Colegio de Economistas de Alicante (Alicante Association of Economists), no. 2722, since 2004, director of Asesoría Orihuela Costa. Read more about us.
Your questions about keeping books in Spain
The Journal and the Inventory and Annual Accounts book, required by the Commercial Code. Also the minute book, the register of shareholders and, in a single-shareholder company, the book of contracts with that shareholder. For the Tax Agency, the VAT record books as well.
Within four months of the financial year end. If the year ends on 31 December, the deadline is 30 April of the following year.
Online. A file is prepared for each book, signed with an electronic certificate and sent to the Mercantile Registry of the province of the registered office. The registrar issues a certificate with a validation code.
Six years from the last entry under the Commercial Code, even if the company closes. If the company offsets past losses, keep them longer, because the Tax Agency can check those losses for ten years.
Yes. As long as the company exists, it must keep its books, have them legalised every year and file its annual accounts, even with very few transactions.
The entries must be expressed in euros, as the Commercial Code requires. What matters is that the books are clear, in date order and match the invoices; we keep them for you and explain everything in English.
Yes. You can send us your invoices and bank statements online, and we keep the books, have them legalised and prepare the annual accounts, wherever you live.
Not keeping or not storing them is a serious offence: the fine is 1% of the year’s turnover, with a minimum of €600. Keeping them more than four months late carries a €300 fine.
We do not legalise books as a one-off job. We legalise the books of the companies whose accounts and taxes we manage all year round, so we can stand behind what is filed. If your company is behind, we bring it up to date when you become a client.
Shall we talk about your company’s books?
Tell us about your company, who keeps its books today and whether any year has not been legalised. We will explain how we would work and what we need to get started, in English.
Asesoría Orihuela Costa, S.L.
Avenida Adelfas 12, Local 5, Dehesa de Campoamor, 03189 Orihuela Costa (Alicante)
Winter hours (October to June)
Monday to Thursday 9:00 to 17:00; Friday 9:00 to 14:00
Summer hours (July to September)
Monday to Friday 8:00 to 15:00
We work with foreign-owned companies all over Spain, except the Basque Country and Navarre, which have their own tax systems. Everything can be done remotely, in English.
Last reviewed: 16 November 2026. General information based on the Spanish Commercial Code (arts. 25 to 30), the Companies Act (Ley de Sociedades de Capital, arts. 16, 26, 104 and 116), Law 14/2013 (art. 18), the Instruction of the Directorate General of Registries and Notaries of 12 February 2015 on legalisation of books, the SME General Accounting Plan (Royal Decree 1515/2007, art. 2), the General Tax Act (arts. 66, 66 bis, 70 and 200), the Corporate Income Tax Act 27/2014 (art. 120), the Non-Resident Income Tax Act (art. 22), the VAT Regulation (arts. 62 and 71) and the Personal Income Tax Regulation (art. 68). It does not replace advice on your own case.




