The solicitor hangs up and jots down the third enquiry of the morning on a sticky note. In her office in La Línea, a kilometre from the border gate, the new calls have all sounded alike since 15 July: someone who lives here and works in Gibraltar wants to know what changes for them, someone asks which papers they need for an immigration procedure, someone wants to know how their case is going. Each call takes fifteen minutes. Almost none of them is a client yet.
Twenty minutes away, in an accountancy practice in central Algeciras, the quarter has just closed and the adviser's phone is still buzzing: photos of invoices, photos of receipts, a photo of a delivery note propped on a counter. Dozens of self-employed clients, the same deadlines for all of them at once and one person typing out whatever each photo shows.
What artificial intelligence can automate in a law firm or an accountancy practice in general, and what it should never automate, is covered in our guide to AI for solicitors and accountancy firms in Spain. This page brings that down to the local area: the border that has just reopened, the quarterly deadline for the self-employed in the Campo de Gibraltar and the paperwork that arrives by WhatsApp.
What has changed with the open border for a law firm in La Línea?
The land border between Gibraltar and La Línea opened on 15 July 2026, with the provisional application of the EU-UK agreement that reorganises mobility and controls, according to the analysis published in The Conversation. For most businesses in La Línea, that means traffic and customers. For a firm that handles immigration and border matters, it is something else: a long season of new questions that repeat on a loop.
The substantive answers need each case to be studied, and no machine has a place there. But before every case there is a layer that is identical in the first enquiry and in the fortieth: what documents are needed to start the procedure, how the firm works, what the first visit includes, what stage an open case is at. A conversational assistant trained on the procedures your firm handles can hold that first conversation on your website or on WhatsApp, in Spanish and in English (on this border, part of the enquiries arrive in the language of the other side), collect the details and leave you a qualified enquiry for when you sit down with the client.
There is one limit the assistant does not cross: it does not tell anyone what to do about their residence permit or their contract. Informing about the process, yes. Advising, no. That is reserved for the professional, and the assistant is configured that way.
And in an accountancy practice that looks after self-employed clients in the area, what can I take off my plate?
The typical client of an accountancy practice in Algeciras or La Línea is not a company with an administration department. It is the company with no employees at all that the INE Central Business Directory describes: 54.4% of Spain's business base on 1 January 2025. The installer, the woman at the market stall, the haulier who works around the port. People who invoice, keep the receipt and send it to you however they can. And "however they can" has a name: according to Eurostat, 94.7% of the population in Spain used instant messaging in 2025, against a European average of 82.3%. In practice, the inbox of a local accountancy practice is a chat full of photos.
Document automation works exactly there: it reads the photo or the PDF, extracts the date, amount, VAT and issuer, and passes it to wherever your software needs it. The adviser stops typing and starts reviewing. What the system cannot read with enough certainty, it flags and asks about; it does not fill it in blindly. How it works inside is explained in invoice automation.
And more paper is coming, not less: Royal Decree 238/2026 makes the electronic invoice mandatory between businesses and professionals. The self-employed person in the area is not going to read that decree: their accountancy practice is going to take it on, multiplied by every client who sends photos today and tomorrow will have to issue and receive invoices in electronic format. That transition is work, and it is also the best moment to tidy up the whole flow, because the data that used to arrive in a crooked photo will arrive structured.
One task is left that almost no law firm or accountancy practice automates: getting paid. The average payment period in Spain was 80.5 days on average in 2025, according to the CEPYME Late Payment Observatory, against the legal maximum of 60 days. Your fees and monthly retainers are no exception. A systematic, polite payment reminder that goes out by itself and gets firmer as the delay grows is one of the first things you notice at the end of the month.
Can an AI touch files protected by professional secrecy?
It is the right question, and the one that rightly holds the sector back. Our short answer: the AI proposes, the professional signs. No draft goes out without review, no reply with legal or tax consequences is given by a machine on its own, and the system only reads the data you decide it should read.
Your clients' data is personal data, often especially sensitive, and processing it with AI has its own guidance: the Spanish data protection authority (AEPD) guide on GDPR compliance for processing that involves artificial intelligence. The detail of how it is set up (who is the data processor, where the data lives, what goes into the system and what does not) is covered point by point in the general guide linked above. The principle does not change because you are in the Campo de Gibraltar: professional secrecy is not outsourced; the system is designed around it.
Where would we start in a law firm or accountancy practice here?
- Count a week of incoming requests. In La Línea, how many border and immigration enquiries repeat the same three questions. In Algeciras, how many photos of invoices come in through the chat. That number tells you whether your problem is the front door or the paperwork.
- Start with the layer that needs no judgement. The first conversation and the incoming document. Nothing legal is at stake there, and it is where the hours go.
- Build human validation into the design, not as a patch. Whatever is filed, signed or answered to a client goes through the professional. Always.
We are from the Campo de Gibraltar. If we need to sit down with you to see what comes in through the chat on a quarter-end Monday, or what people ask in the waiting room of a firm on Calle Real, we will come: we are a short trip from your office, not a video call with a supplier in Madrid. You can also see our pages on AI automation in Algeciras and in La Línea, and the AI use cases by sector in the Campo de Gibraltar.
Frequently asked questions
Can the assistant give legal or tax advice? No. Documents, appointments and case status, yes; as soon as the conversation calls for judgement (what to do about a refused residence permit, whether to appeal a penalty, how a transaction is taxed) the system stops and hands it to you with the data already collected. That boundary is set when it is built and it is not crossed.
What happens with a blurry photo or a crumpled receipt? The system flags what it cannot read with enough confidence and leaves it in a review tray. It does not invent an amount: it prefers to ask.
Does it work in English for clients on the other side of the border gate? Yes. The first layer of service can be bilingual, which in La Línea is not an extra: it is the clientele.
There are two of us in the office. Isn't this for big firms? The opposite: the fewer people you have, the fewer hands for the repetitive layer. Where there is nobody to delegate to, the alternative to automating is doing it yourself at night.
Tell us your case and we will say whether we can do it, how we would approach it and what it would cost. If it is not for us, we will tell you that too. Write to us from the contact page.
Xora IntelligenceAI consultancy and custom software in Los Barrios (Cádiz). We write about what we build for businesses in the province. If you have a question about your case, write to us.




