Saltar al contenido principal
    Skip to main content

    AI for accountants and gestorías in Spain: real uses that save hours, and what not to delegate

    Sort client paperwork, post invoices and summarise tax office notices with their deadlines. What not to delegate and what GDPR and professional secrecy require.

    By Filip Balik, co-founder · Updated on 28 October 2026

    In an accountancy firm or gestoría, AI saves hours when it reads: it sorts the paperwork clients send, pulls the data out of invoices, summarises notices from the Spanish tax agency and drafts replies. Deadlines are worked out by a fixed rule, not by the model. Tax judgement, signing, filing and decisions about employees stay with you. And because you process data on your clients' behalf, you need their authorisation before bringing in an AI provider.

    Which tasks in an accountancy firm can AI take on?

    In Spain, an asesoría is an accountancy and tax advisory firm, and a gestoría is an administrative agency that handles paperwork with public bodies; many offices do both. Every day they receive documents from many clients and several authorities: invoices as PDFs and photos, bank statements, contracts, payslips, information requests, tax assessments. Almost all of it is text that someone has to read, file and turn into a figure or a date. That is where AI is good. For working out deadlines and amounts, a fixed rule is better, because it always gives the same result. And the decisions are still yours.

    At a glance:

    Area Task What AI does What a rule does What a person decides
    Accounting Client paperwork Recognises each file: client, type and period Lists what is missing before each deadline What to chase and from whom
    Accounting Purchase invoices Extracts issuer, tax ID, dates, bases and VAT, and suggests the account Checks base, VAT and total add up and looks for duplicates Doubtful invoices and the final entry
    Tax Tax agency notices Summarises what it is, the amount, the appeal and its deadline Works out the payment deadline and sends a reminder Pay, appeal or submit arguments
    Tax Client questions Drafts a plain-language answer Nothing The position taken and the reply that is sent
    Payroll Starters, leavers and contracts Sorts documents and prepares drafts Checks dates and that nothing is missing Review and file
    Gestoría Case files and procedures Classifies documents and spots missing ones Flags expiry dates File and sign

    How does AI help sort the paperwork clients send?

    Documents arrive by email, by WhatsApp, through a shared folder or on paper. Start with rules: if the sender is already in your database, you know which client it is. AI comes in for the rest. It reads each file and suggests three things: the client (from the tax ID, the NIF, printed on the document), the type (sales invoice, purchase invoice, receipt, bank statement, contract, payslip) and the period. Anything it does not recognise with confidence goes to a person.

    The big saving is not in filing but in knowing what is missing and when. The quarterly VAT return is filed in the first twenty calendar days of the month after the quarter, and the return for the last quarter in the first thirty calendar days of January (VAT Regulation, Reglamento del IVA, art. 71.4). With everything sorted, a rule can produce, at the start of the month, a list of clients you have no invoices from for the quarter, or far fewer than last quarter, and prepare the email asking for them. You decide who it goes to.

    If you are a gestor administrativo (a regulated administrative agent), your professional statute also requires you to keep a record of the matters you handled for five years after they end (Decreto 424/1963, art. 24). An archive that is sorted on arrival meets that with no extra effort.

    Can you post invoices with AI without mistakes?

    Without any mistakes, no. With few mistakes, all of them visible, yes. Every Spanish invoice must show, among other things, the number and series, the issue date, the issuer's name and tax ID, the address, a description of the transactions, the tax rate and the tax amount (Royal Decree 1619/2012, art. 6). Those are the fields AI extracts from each PDF or photo.

    Then a few simple rules check what it has read:

    1. The tax ID matches a supplier you already have. If it is new, it goes to a person.
    2. The base times the rate gives the VAT, and the base plus the VAT gives the total.
    3. There is no other invoice from the same supplier with the same number.
    4. The date falls in the period you are closing.

    The system can suggest the ledger account based on how you booked that supplier's invoices before. The first invoice from a new supplier, and any doubt about whether an expense is deductible, are judgement calls: a person decides.

    This matters. The Commercial Code (Código de Comercio) allows the books to be kept by other authorised people, but "sin perjuicio de la responsabilidad" (without prejudice to the responsibility) of the business owner (art. 25.2). Your client is still answerable for their books and expects what you hand over to have been checked.

    One more precaution: invoices come from outside, and a PDF can carry hidden text with instructions for the model. Microsoft explains that Copilot uses classifiers to block this kind of attack, known as prompt injection, but warns that they may not be available in every scenario (Microsoft Learn). The simple defence is that the system reading invoices can only suggest data: it cannot send emails, change bank details or make payments.

    Can AI read and summarise notices from the Spanish tax agency?

    Yes, and it is one of the uses that saves the most time when you have many clients. The law even gives you the template. Every tax assessment (liquidación) must be notified with the following (General Tax Act, Ley General Tributaria, art. 102.2):

    1. The identity of the taxpayer.
    2. The elements that determine the amount owed.
    3. The reasons, when it departs from what the taxpayer declared.
    4. The available appeals, the body they go to and the deadline.
    5. The place, deadline and method of payment.
    6. Whether it is provisional or final.

    With that list, AI fills in a record for each notice: client, tax and period, amount, a two-line summary of the reasons, the appeal with its deadline, and how to pay. The appeal deadline is copied from the notice itself, never from what the model thinks it remembers.

    The payment deadline, on the other hand, is worked out by a rule, because the law sets it by the day of notification (General Tax Act, art. 62.2 and 62.5):

    What is notified If it arrives between the 1st and the 15th If it arrives between the 16th and the end of the month
    Assessment (voluntary payment period) Up to the 20th of the following month Up to the 5th of the second following month
    Enforcement order (providencia de apremio) Up to the 20th of the same month Up to the 5th of the following month

    If that day is not a working day, the deadline moves to the next working day. For example, an assessment notified on 10 March is payable by 20 April; if it is notified on 20 March, by 5 May.

    What happens if software opens the notices for you?

    They count as notified at that moment. The law says an electronic notification is deemed served when its content is accessed, and that access by the person concerned or by their properly identified representative counts (Law 39/2015, art. 43). If you hold a registered power to receive a client's notifications, you can enter their electronic mailbox (dirección electrónica habilitada) with your own electronic signature (Royal Decree 1363/2010, art. 6). So if a system logs in with your signature and opens the notices, they are served at that moment, whether anyone reads them or not.

    Not opening them is no way out either. When electronic notification is mandatory, or the person chose it, and nobody accesses it within ten calendar days of it being made available, it is deemed rejected (art. 43.2), and rejection means the step is treated as done (art. 41.5). The tax agency (Agencia Tributaria, AEAT) says the same: after those 10 calendar days the notification expires and is treated as served for the purposes of the procedure. Notices are read in the government's DEHú mailbox or on the AEAT website (AEAT, mandatory electronic notifications).

    What a system can do without opening anything is read the alerts. Public bodies send an alert to the email address or phone that has been registered when they make a notification available (art. 41.6). That email is for alerts, not for serving notifications (art. 41.1). A system can read the alerts, log them by client and tell whoever looks after that client to go in. But the law adds that a missing alert does not make the notification invalid, so this is not enough on its own: someone has to check the DEHú regularly.

    For holidays there is a safety valve. Anyone in the AEAT's electronic notification system can choose up to 30 days a year on which no notifications will be made available to them (Royal Decree 1363/2010, third additional provision). They are calendar days of your choice, requested on the AEAT website at least seven calendar days in advance, and they can also be set by whoever is registered as the client's agent for receiving notifications. They do not pause deadlines that are already running (Order EHA/3552/2011, arts. 1, 3, 4 and 5). It is a perfect job for a rule: in early July, a list of the clients you have not yet blocked August for.

    All of this depends on valid digital certificates. If one has expired, see renewing your company's digital certificate in Spain.

    Can AI answer clients' tax questions?

    For drafting, yes. For deciding the position, no. A model writes fluent, confident answers that can be wrong. Microsoft says so about its own Copilot: generative AI responses are not guaranteed to be 100% factual, and you should use your judgement when reviewing them before sending them (Microsoft Learn). Spain's data protection authority (Agencia Española de Protección de Datos, AEPD) asks the same of every user: stay critical of what AI tells you and check it against other sources (AEPD, January 2026).

    In Spanish tax there is a source that does carry weight: the answers to written tax queries (consultas tributarias escritas), known as rulings. They bind the tax authorities in their dealings with whoever asked, and the authorities must apply the same criteria to any taxpayer with identical facts and circumstances (General Tax Act, art. 89.1). An answer from an AI has no such value, or any other.

    A workflow that works:

    1. AI drafts the answer and says which rulings or articles it relies on.
    2. You open each ruling in the official search tool of the Directorate General for Taxation (Dirección General de Tributos, DGT), which holds its rulings from 1997 to 2026 (DGT rulings search). You check that it exists and that its facts resemble your client's.
    3. Anything you cannot find goes.
    4. You set the position and sign the reply.

    Another low-risk use: turning an information request from the tax agency into plain language for the client. What they are being asked for, by when, and which documents you need from them.

    What about payroll and employment work?

    Starters, leavers, contracts and payslips create a lot of paper that AI can sort: recognising each document, filing it on the employee's record and flagging what is missing. Drafts of messages to the client also save time. But there are two special precautions here.

    Health data. A sick note or a disability certificate reveals information about an employee's health. The GDPR calls this data concerning health (art. 4.15) and lists it among the special categories whose processing it prohibits, subject to exceptions (art. 9). Do not put it into a general-purpose AI tool. If a workflow needs it, it should run in a controlled system with only the data it strictly needs.

    Decisions about people. If a client asks you to help screen job applicants with AI, keep two rules to hand:

    • The works council (comité de empresa) has the right to be told "los parámetros, reglas e instrucciones" (the parameters, rules and instructions) on which algorithms or AI systems are based when they affect decisions on working conditions, access to and keeping a job, including profiling (Workers' Statute, Estatuto de los Trabajadores, art. 64.4.d).
    • Everyone has the right not to be subject to a decision based solely on automated processing that produces legal effects concerning them or similarly significantly affects them (GDPR, art. 22).

    The AEPD applied this in 2026 to a company preparing an AI tool to screen and score job applications. The company said the final decision was always human. The AEPD warned it that human involvement has to be effective: it must allow the system's score to be assessed critically and the decision taken without being determined, in practice, by the automated result. It also reminded the company of the prior impact assessment if the risk is high, and of the duty to inform applicants and staff (AEPD, warning EXP202600427).

    What should you not leave to AI?

    1. Judgement. Classifying a transaction, deciding whether an expense is deductible, choosing the type of employment contract. AI prepares; you decide.
    2. Filing and signing. Let the system prepare the draft return and have a person review and file it.
    3. Opening notices that nobody reads. Opening them starts the clock.
    4. Decisions about employees or applicants. Hiring, dismissal or disciplinary action, for the reasons the GDPR and the AEPD give.
    5. Payments and bank detail changes. If a supplier or client emails to say their IBAN has changed, confirm it by phone on a number you already had.
    6. Sending to the client without review. A mistake in a draft becomes yours once it goes out with your signature.

    Do you need your clients' permission to use AI?

    If the AI will process your clients' personal data, yes. When you keep a client's books or run their payroll, you process personal data on their behalf: their employees', their customers' and their own if they are self-employed. The GDPR calls whoever processes personal data on behalf of the controller a processor (art. 4.8). If you bring in an AI provider that handles that data, the provider is a further processor below you.

    The GDPR says a processor shall not engage another processor without the controller's prior specific or general written authorisation. With a general authorisation, the processor must tell the controller about any intended change of provider so the controller can object (art. 28.2). The new processor must be bound by contract to the same data protection obligations as you (art. 28.4). The AEPD points out that the processing contract must set out the conditions for that authorisation (AEPD, content of the processing contract).

    In practice:

    1. Check your processing contracts. See whether they include a general authorisation to use sub-processors and how you report changes.
    2. Tell your clients which AI provider you will use before you use it.
    3. Use a business account with a contract and check whether the provider trains its models on your data and where it processes it. For example, Microsoft says Copilot prompts, responses and data are not used to train its foundation models, and that traffic from its EU users stays within its EU Data Boundary, although Anthropic models it offers as a sub-processor are currently excluded from that boundary (Microsoft Learn).
    4. Set permissions by client. Copilot only shows each user data they have permission to see, according to the same page. If every client sits in one folder open to the whole office, the assistant can mix them up in an answer.
    5. Send only what is needed. The GDPR requires data to be adequate, relevant and limited to what is necessary (art. 5.1.c). Reading an invoice does not need the client's whole file.
    6. Write an internal policy. At work, the AEPD recommends following your organisation's information and security policies and not including information that reveals confidential data about the organisation, its staff or its clients (AEPD, January 2026). Put in writing which tools may be used and for what.

    Professional secrecy comes on top. Spain's data protection act places a duty of confidentiality on controllers, processors and everyone involved in the processing; it is in addition to professional secrecy and continues after the relationship ends (Organic Law 3/2018, LOPDGDD, art. 5). Gestores administrativos must "guardar el secreto profesional" (keep professional secrecy) about what they learn through their work (Decreto 424/1963, art. 24), and registered employment advisers (graduados sociales) must not reveal any fact they learn in the course of their profession (Royal Decree 1415/2006, art. 32.j). If you belong to another regulated profession, check your own statute and code of conduct.

    Where should a firm start?

    1. Pick one workflow with a deadline. Two good first candidates: a record for every tax agency notice, or the list of missing paperwork before the quarter closes.
    2. Measure for a month. How many notices or documents come in and how long they take to process. With those figures you can do the savings sum in automating business processes with AI, which also covers what the EU AI Act asks of you.
    3. Sort the paperwork first. Processing contracts, sub-processor authorisation, a business account with the provider and an internal policy.
    4. Run in draft mode for two to four weeks. The system suggests and a person decides. Log every mistake.
    5. Decide with data. If it is accurate enough, move on to the next workflow: invoices first, then draft replies.

    If you would rather we built it, we design and build automations and AI agents connected to the tools your firm already uses, with a free 2 to 5 day assessment, a fixed price and data hosted in the EU. A typical automation is up and running in 2 to 4 weeks. There are more examples in automation for advisory firms and AI solutions.

    Two of our products also fit an accountancy firm: Archive finds any document in the office by what it says, scanned ones included, with OCR on your own machine and no cloud, and the Financial dashboard calculates each client's sales, EBITDA, margins and break-even point from their accounting export, compared with the previous year.

    Frequently asked questions

    Can I upload my clients' invoices to an AI tool?

    If they contain personal data, only with a business account under a processing contract and with your client's specific or general authorisation to use that provider (GDPR, art. 28.2). Also check whether the provider trains on your data and where it processes it. And send only what is needed.

    If software opens a tax agency notice, does the deadline start?

    Yes. An electronic notification is deemed served when the person concerned or their identified representative accesses its content (Law 39/2015, art. 43). And if it is mandatory and nobody opens it within ten calendar days, it is deemed rejected and the step is treated as done.

    Is an AI's answer to a tax question binding on the tax agency?

    No. What binds the tax authorities are the answers to written tax queries, on the terms of art. 89 of the General Tax Act. If the AI cites a ruling, open it in the DGT's official search tool before using it.

    How many notification-free days can you ask the Spanish tax agency for?

    Up to 30 calendar days a year, freely chosen, if the taxpayer is in the AEAT's electronic notification system. They are requested on the AEAT website at least seven calendar days in advance, and the taxpayer's agent for receiving notifications can also do it. They do not pause deadlines already running.

    Do employees have to be told if AI is used in recruitment?

    The works council has the right to know the parameters, rules and instructions of AI systems that affect access to employment (Workers' Statute, art. 64.4.d). And the GDPR requires applicants and staff to be informed, as the AEPD pointed out in its 2026 warning.

    Sources

    This article explains the law and published criteria as of the update date. It is not a substitute for advice from a lawyer on a specific case.

    We write each article with the help of AI and check every fact against primary sources before publishing it. If you spot a mistake, write to info@quantumnovaagency.com and we will correct it.

    Terms in this article

    Book your free diagnosis.

    Emailinfo@quantumnovaagency.comWhatsApp+34 678 428 710
    LocationTorrevieja (Alicante) · all of Spain

    What happens next

    1. 1We reply within 24 hours.
    2. 2We have a call to look at your case.
    3. 3We send you a proposal with a fixed price.

    By submitting this form you agree to your data being handled under the Privacy Policy.