Guide 19 min read

Spanish Tax Inspection: What Happens and How to Prepare

A practical account of how AEAT tax inspections unfold, what inspectors review and how Spanish freelancers and companies can prepare.

Senior tax adviser and business owner preparing an organised inspection file in a bright office

An inspection notice changes the atmosphere in a business. A routine accounting question suddenly feels like a threat to the company, the director and every decision made over the previous few years. For a freelancer, the effect can be even sharper: there is no finance department to absorb the letter, so the same person who serves clients must also work out what Hacienda wants.

After more than 25 years helping taxpayers through real inspections, I can say this without drama: the first notice is serious, but it is not a verdict. Most of the damage caused in the opening days comes from confusion. People answer a question that was not asked, send a disorganised archive, make a confident statement before checking it, or assume that every contact from the Agencia Estatal de Administración Tributaria (AEAT) is a full inspection.

A Spanish tax inspection is a formal procedure in which AEAT checks declared tax matters, investigates facts that may not have been declared correctly and, where appropriate, regularises the taxpayer’s position through one or more assessments. That is the AEAT’s own description of the procedure, not a prediction that every inspection will produce additional tax. AEAT: tax inspection procedure

This article explains what the process feels like and how to prepare for it. It does not provide a defence for a particular file. The notice, the tax periods, the evidence and the procedural history can change the right response. If an inspection has already started, advice should be based on the complete official communication rather than a summary from memory.

First, establish whether it is actually an inspection

People use “inspection” to describe almost any contact from Hacienda. That shorthand is understandable, but it can lead to the wrong response.

A notification may be an information request, a proposal, a census matter, a collection action or the start of a tax management procedure. A comprobación limitada, usually translated as a limited check, can examine return data, information already held by the administration, tax records, official documents, invoices and specified accounting material within the boundaries set by Article 136 of the General Tax Law. It can end with a provisional assessment or an express decision that no adjustment is required. Articles 136 and 139 of the General Tax Law

An inspection has broader investigative powers. The General Tax Law allows inspectors to examine principal and auxiliary accounting records, files, invoices, supporting documents, tax-relevant correspondence, databases, programs and electronic records connected with an economic activity. The procedure can check what appeared in a return and investigate tax-relevant facts that were not declared or were declared incorrectly. Articles 142 and 145 of the General Tax Law

The practical test is the document, not the subject line in an email alert. Look for the named procedure, the issuing body, the taxes and periods covered, whether the scope is general or partial, what AEAT asks you to provide, and where and when the first action will take place.

If you have received a document but still do not know which procedure it initiates, begin with our guide to reading and responding to an AEAT letter. Do not borrow a strategy from somebody else’s inspection until you have identified your own.

Why was this taxpayer selected?

There is rarely a useful answer to the anxious question, “What one thing triggered this?” Selection does not mean that an inspector already knows the outcome. A published control priority does not mean that every taxpayer with that characteristic will be inspected either.

The 2026 control plan says AEAT will intensify work on complex tax contingencies, international taxation, large-company risks and tax groups. It also names high-turnover businesses, people with substantial wealth, improper use of corporate structures, irregular invoicing, ecommerce, real estate and construction among the areas receiving attention. Separately, it describes preventive communications for businesses whose risk indicators persist over several years. AEAT: 2026 control plan guidelines

This tells us where the administration plans to focus resources. The published plan identifies areas of risk, but it does not disclose the formula used to select an individual taxpayer for inspection. In business terms, selection may follow information mismatches, data supplied by third parties, patterns across several returns, sector campaigns, connected-party work or information obtained in another file. The plan supports several of those risk areas, but it does not let an outsider reconstruct the exact selection decision in a particular case. AEAT: 2026 control plan guidelines

That distinction matters. If you spend the first week trying to identify who “reported” you, you may miss the questions in the opening communication. Preparation should start with the declared scope and the records, not a theory about motive.

How the inspection begins

The ordinary route is an official opening communication. Under the General Tax Law, the taxpayer must be informed at the start about the nature and scope of the inspection and about their rights and obligations during it. The scope may be general or partial. Articles 147 and 148 of the General Tax Law

The regulation says that the communication may require the taxpayer to appear at a stated place, date and time and to have specified documents or other items available. It also permits an inspection to start, where appropriate, when inspectors appear at business premises, offices, facilities, workplaces, warehouses or another place where evidence may exist, without a prior communication. Articles 177 and 178 of Royal Decree 1065/2007

An unannounced visit is the image people remember from films and headlines. It is not the form every inspection takes. If inspectors do attend premises, however, the response should be calm and exact:

  1. Verify identities and the official basis for the action.
  2. Notify the person responsible for the business and the appointed tax adviser.
  3. Read the stated scope before consenting to or refusing any step.
  4. Preserve normal operations and existing records. Do not delete, alter or create documents.
  5. Record what is requested, copied, accessed or stated during the visit.

Access to business premises and access to a constitutionally protected domicile are not the same legal question. Article 142 sets conditions for entry into business locations, while access to a constitutionally protected domicile is governed by Article 113 and may require judicial authorisation. Article 142 of the General Tax Law This is an area for immediate case-specific advice, not improvised arguments at the door.

What inspectors actually review

The opening communication is your boundary document. It should tell you which taxpayer, taxes, periods and scope are involved. A partial inspection does not cover every element of the obligation for the period; a general one does, subject to the legal definition. The regulation states that inspection work is general unless the opening communication or a later notified agreement says otherwise. Article 178 of Royal Decree 1065/2007

Inside that boundary, the review is usually about whether several versions of the same business agree with one another. The tax returns tell one version. The annual accounts, ledgers and invoice series tell another. Bank movements, contracts, payroll, stock records, emails and software can add more. One isolated document may look perfectly reasonable while the complete trail does not reconcile.

The law’s list is broad: documents, books, principal and auxiliary accounts, files, invoices, supporting records, tax-relevant correspondence, databases, software and electronic archives relating to economic activities may all be examined. Inspectors may also review assets, operations and other information needed to enforce tax obligations. Article 142 of the General Tax Law

For a freelancer, recurring pressure points include the connection between issued invoices and declared income, the business purpose and documentary support for expenses, VAT treatment, withholding tax, bank receipts and the separation of private and professional costs. For a company, the same logic extends across corporate tax, VAT, payroll withholdings, related-party transactions, director or shareholder accounts, expense reimbursements, fixed assets, financing and the link between the accounts and filed returns.

Those are preparation categories, not a claim that AEAT will request all of them. Dumping the entire archive onto the inspector can be as unhelpful as withholding a requested document. Build the response around each request and the stated scope.

The file that makes an inspection manageable

An inspection file should let another person understand the evidence without knowing your folder structure or accounting software.

Start with a control sheet. Record the communication date, legal deadline, appointment, tax, period, scope, request number, person responsible and submission status. Beneath it, reproduce each request in AEAT’s wording. Do not paraphrase until the exact wording is safely captured.

Then create an evidence index. Each row should identify:

  • the request it answers;
  • the document name and date;
  • the relevant invoice, transaction, ledger account or tax period;
  • where the original is kept;
  • who checked it; and
  • any limitation that still needs an explanation.

The documents should reconcile before they are submitted. If sales in the ledger differ from the VAT return, identify the timing, accounting or tax reason. If a bank payment covers several invoices, prepare the bridge between them. If an expense was paid personally and reimbursed later, preserve both the commercial proof and the payment trail. If a contract was amended, do not provide only the version that is easiest to find.

Contemporary evidence usually carries more weight than an explanation written after the inspection begins. That is a practical assessment, not a separate rule of evidence: a dated contract, invoice, delivery record, email or bank trail can show what happened at the time, while a later narrative must still be tested against the underlying records. Spanish tax law places the burden of proving a claimed right on the person relying on it and recognises invoices as a primary means of evidencing deductible operations, although an invoice alone is not privileged proof that the operation occurred. Article 106 of the General Tax Law

Do not “improve” missing records by recreating them as if they were original. Make the gap visible to the adviser, determine whether another authentic source can support the fact and explain the limitation accurately. A document problem is difficult. A credibility problem spreads into every other issue.

What the first meeting is for

The first meeting is quieter than many people expect. Its purpose is to set the working method for the file.

You need clarity on five points: who is authorised to speak, how communications will be received, what material is due, how it should be supplied and what the next recorded date is. Keep a written log of every communication, attendance, document delivery and receipt. Inspection actions are formally documented through communications, formal records of proceedings (diligencias), reports and inspection reports (actas). Article 143 of the General Tax Law

Answer factual questions only when the answer has been checked. “I need to verify that against the records” is better than a quick estimate that later proves wrong. At the same time, do not use caution as a pretext for obstructing the procedure. A taxpayer required to attend must appear personally or through a representative and must provide or make available the requested material. Article 142 of the General Tax Law

One person inside the business should coordinate retrieval. In a small company, that may be the director. In a larger one, it may be the financial controller. The adviser should control the procedural and tax response, but somebody who understands the systems must still be able to locate source records and explain how they were created.

How long does an inspection really last?

People often hear “18 months” and translate it into a diary prediction. It is a statutory framework, not an appointment length.

The general maximum period for inspection proceedings is 18 months. It is 27 months where Article 150 conditions apply, including when annual turnover reaches the threshold that requires an audit, when the taxpayer belongs to an inspected tax consolidation group or VAT group, or when the procedure examines the Complementary Tax. The period runs from notification of the opening to notification, or deemed notification, of the resulting administrative act, and the law contains specific rules that can extend the calculation. Article 150 of the General Tax Law

The lived duration depends on the scope, the quality and location of records, the number of periods and entities, requests to third parties, technical disagreements and the sequence of submissions. There can be intense weeks followed by quiet periods. Silence does not necessarily mean that the file has ended.

For internal planning, run two calendars. The first contains legal dates from the official file. The second contains earlier working dates for retrieving, reconciling and reviewing evidence. If the business treats the legal deadline as the day to begin, the adviser has no time to find contradictions before AEAT sees them.

Your rights are part of the procedure

Cooperation does not mean giving up control of the file. Article 34 of the General Tax Law gives taxpayers rights that include information and assistance, knowing the status of a procedure, knowing the identity of the responsible authorities and staff, obtaining copies of documents, not supplying documents already provided and held by the acting administration, making submissions and being treated with respect. Article 34 of the General Tax Law

At the opening, you also have the right to be informed of the inspection’s nature and scope. If the work is partial, the law allows a taxpayer to request that it become general for the relevant tax and periods, but Article 149 sets a 15-day period from notification of the partial inspection to make that request. Articles 147 to 149 of the General Tax Law

Whether requesting general scope is sensible depends on the file. It may offer wider closure for the obligation and periods, but it also expands what is reviewed. That is a decision to make after examining the opening communication and the state of the records, not a standard box to tick.

Representation is another right that must be organised rather than assumed. The General Tax Law allows taxpayers with legal capacity to act through a representative, while requiring the representation to be evidenced for specified substantive steps. Article 46 of the General Tax Law Give the adviser the formal authority required for the relevant action, decide who receives electronic notifications and keep access arrangements current. A representative can manage communications and submissions. The company or freelancer still owns the facts.

What determines the result

No checklist can guarantee an outcome. The inspection is decided by the facts, the applicable tax rules, the scope and the evidence that can be established in the file.

In practice, a defensible position starts with consistency. Returns, books, invoices, contracts, bank movements and explanations should tell the same story or contain a documented reconciliation.

Timing matters as well. Evidence created around the transaction is easier to test than a later reconstruction. So does traceability: a reviewer should be able to move from the tax return to the ledger entry, invoice, commercial basis and payment without guesswork. Each submission then needs to answer the request accurately, preserve its context and leave unsupported additions out.

The end of the work is recorded in an inspection report. By law, that report identifies the material facts and legal grounds, any proposed regularisation and assessment, whether the taxpayer agrees or disagrees, and the inspector’s view on possible tax infringements. Reports may be by agreement, in conformity or in disagreement. Articles 153 and 154 of the General Tax Law

Signing is therefore not an administrative formality to get out of the way. Facts accepted in an inspection report are presumed true and can generally be corrected only by proving a factual error. Article 144 of the General Tax Law Read the facts, calculations, legal characterisation and next procedural steps before deciding how the report should be handled.

An inspection can conclude with a proposed regularisation, one or more assessments, or a declaration that the examined position is correct. The AEAT’s procedure page describes a hearing, signing of reports and submissions in disagreement cases before the final assessment route. AEAT: phases and conclusion of an inspection A separate penalty procedure may follow where the administration considers that an infringement exists; additional tax and a penalty should not be treated as the same decision. Article 208 of the General Tax Law

Mistakes that turn a limited issue into a larger problem

The most damaging errors are usually ordinary:

Guessing before checking. A director gives a plausible explanation in the first meeting. The ledger later shows something different. The file now contains both the original issue and an inconsistency.

Supplying an unfiltered document dump. More pages do not equal better proof. Unindexed material obscures the answer, consumes review time and can introduce unrelated transactions.

Answering only part of a request without saying so. If a document is unavailable, identify the gap and manage it. Silence can look like oversight or avoidance.

Letting several people communicate independently. The accountant, director and external adviser may each be accurate in isolation but use different dates, terminology or assumptions. One response log prevents that drift.

Changing records after the opening. Correcting a genuine accounting error may be necessary, but it must be transparent and advised. Quietly altering source data destroys the distinction between the original record and a later correction.

Treating the inspector as the enemy. Hostility does not improve the evidence. Neither does excessive informality. Keep communications professional, factual and recorded.

Missing the difference between fact and argument. First establish what happened and what proves it. Then apply the tax analysis. A legal position built on an uncertain factual account is fragile.

Waiting for the next request to prepare. Once the first issue appears, review adjacent periods and connected records within the declared scope. That is not an invitation to volunteer unrelated material. It is a way to avoid discovering your own contradiction at the submission deadline.

What to do in the first 24 hours

If an opening communication has arrived, the first day has a narrow purpose: secure the file and stop improvisation.

The first-day process is to secure the official notice, define its scope, preserve the records, appoint one coordinator, index the evidence and review it before responding. Article 177 of Royal Decree 1065/2007 The individual steps are:

  1. Download the complete communication and annexes through the official channel. Record the notification evidence.
  2. Extract the taxpayer, procedure, taxes, periods, scope, appointment, requested items and deadlines verbatim.
  3. Preserve the accounting exports and source records relevant to those periods. Do not edit originals.
  4. Appoint one internal coordinator and decide who may communicate with AEAT.
  5. Send the complete bundle to the adviser, including earlier related communications and anything already submitted.
  6. Build the request-by-request evidence index and flag missing or contradictory material.
  7. Agree working deadlines that leave time for reconciliation and review.

This sequence is a preparation method, not a substitute for the opening document. The regulation allows the initial communication to specify attendance and material to be produced, so the notice controls the immediate obligation. Article 177 of Royal Decree 1065/2007

If you are choosing support, look for somebody who will read the records before offering a confident conclusion. TaxFactory’s tax and accounting advisory service can coordinate the tax position, evidence and procedural response, while our team page explains who will work with you. A useful adviser should be able to tell you what is known, what still needs proof and what should not be said yet.

Prepare before there is a notice

The best inspection preparation happens during ordinary months, when nobody is rushing.

Close each tax period with a reconciliation between filings and accounts. Keep contracts and amendments with the invoices they support. Link unusual journal entries to an explanation and source document. Separate private and business spending. Preserve evidence of delivery or performance, not only the invoice. Document related-party decisions when they are made. Test whether another person can retrieve a transaction from return to payment.

Review access too. A perfectly kept archive is useless if it sits in a former employee’s email, an obsolete accounting system or a storage account nobody can open. Keep document retention, backups, export procedures and electronic notification responsibilities visible.

That discipline does not prevent inspection. It changes the first conversation from “Where could that file be?” to “This is the record, this is how it reconciles and this is the point that still needs analysis.” After 25 years, that remains the most reliable difference between a demanding inspection and a chaotic one.

Frequently asked questions

Does an AEAT letter always mean a tax inspection has started?

No. AEAT communications can relate to information, a requirement, a limited check or another procedure. An inspection starts through the procedure and scope identified in the official communication, or in some cases through an inspector appearing without prior notice under the conditions set by the regulation.

What does AEAT review during a tax inspection?

The legal scope can include returns, invoices, supporting records, principal and auxiliary accounts, correspondence with tax relevance, databases, software, electronic records, assets and other information needed to check tax obligations. The opening communication should identify the taxes, periods and general or partial scope involved.

How long can a Spanish tax inspection last?

The general statutory period is 18 months. It is 27 months in the cases listed in Article 150 of the General Tax Law, including certain audit-size businesses, inspected tax groups and inspections involving the Complementary Tax. The calculation can be affected by the statutory extension rules, so the dates of the specific file must be reviewed.

Can my adviser deal with the inspection for me?

A taxpayer may act through a representative, subject to the representation rules that apply to the step concerned. The business still needs an internal person who can retrieve records, explain systems and approve factual answers; appointing an adviser does not replace access to the underlying evidence.

What should I do in the first 24 hours after an inspection notice?

Verify the complete communication, record the notification date, taxes, periods, scope, appointment and requested documents, preserve the original files, appoint one internal coordinator and obtain advice before sending explanations or a large document bundle.

Sources