Filing online and from abroad
You will know which channel to file through, how to submit and prove it, and what to do when the technology fails.
Much of dealing with Spanish administration now happens online, through electronic offices where you identify yourself, submit a form and save your proof. This topic shows you how those offices work, how to submit a filing and keep a receipt, and how to fix technical problems. It also covers…
Pick the article that fits your situation
How Spain's online offices (sede electrónica) work
Explains what a sede electrónica is, why it matters for your filings, and which ways of proving your identity work for foreigners. For anyone who needs to deal with a Spanish public office online.
Submitting an online filing and keeping your receipt
How to send a filing to a Spanish public body online, which portal to use, what to check about your files, and how to keep the receipt that proves when you filed. For anyone filing without visiting an office.
Fixing AutoFirma, browser and certificate problems
Most problems when signing a Spanish online filing come from three places: AutoFirma, your browser, or where your certificate is stored. This page shows how to tell which one is failing and the standard fix for each. It is for anyone filing with a digital certificate.
Filing at a registry or post office without an appointment
How to file paperwork with a Spanish public body on paper, at a registry or a Correos post office, without booking an online appointment. For anyone who cannot or prefers not to file online, and needs to keep proof of the filing date.
Filing Spanish paperwork before you arrive, from abroad
Some Spanish filings can be started before you arrive, through a consulate, a representative in Spain or online. Many cannot. This page shows which is which, so you can plan your pre-arrival steps if you are still abroad.
Tracking your filing and getting a copy of your file
How to follow the progress of a procedure with the Spanish administration online, and how to ask for a copy of your file. For anyone with an open file, such as a residence or nationality application, who wants proof of where it stands.
Checking a Spanish document with its verification code (CSV)
How to check that a Spanish official document or printed copy is genuine, using the code printed on it. For anyone who has received an electronic document from a Spanish public body and needs to confirm it is real.
About this topic
It is for anyone thinking about, planning or carrying out a move to Spain. After reading it, you will know which channel to use, how to submit and prove that you did, and what to do when the technology fails.
Start with "How Spain's online offices (sede electrónica) work". It explains the electronic office model and how you identify yourself, which every other page builds on.
Getting an electronic ID such as Cl@ve or a certificate, handling notifications after you file, and gathering evidence for your application are covered elsewhere.
Key rules
- Filing receipt: After filing online, download and save the receipt (justificante), which shows the registry number, date and time and is your proof of filing.
- Post office filing: To keep your filing date at the post office, hand the document in at the counter in an open envelope so the clerk can stamp and date it before sending it by certified mail.
- Portal outage: If a portal is down, a deadline extension is not automatic: it only applies if the administration publishes a notice, so file on paper at any registry before the deadline instead of waiting.
- Legal effect: Only the official sede gives your filing legal effect, so confirm the address and secure connection first.
- TIE: Your TIE card is not an electronic ID, so it will not log you in by itself.
- Specific procedure first: If the body has a specific procedure for your matter, use it instead of the general registry.
Filing online and from abroad: the whole process, step by step
-
Get a Spanish tax number (NIE) if you do not have one. Start with "How Spain's online offices (sede electrónica) work": before you file anything online, especially from abroad
-
Get a way to identify yourself online: Cl@ve or an electronic certificate. See "How Spain's online offices (sede electrónica) work": before you start the filing, because most online filings cannot be made without it
-
If you are abroad, choose how to file: online yourself, or through a representative in Spain. See "Filing Spanish paperwork before you arrive, from abroad": before you arrive in Spain
-
Complete and sign the online submission, then download the justificante. See "Submitting an online filing and keeping your receipt": on the day you file, before you close the page
-
If AutoFirma, your browser or your certificate fails, work through the fixes. See "Fixing AutoFirma, browser and certificate problems": as soon as signing fails, well before the deadline
-
If you cannot file online at all, file on paper at a registry or post office. See "Filing at a registry or post office without an appointment": before the deadline, rather than waiting for a portal to come back
-
Follow your procedure and ask for a copy of your file if you need one. See "Tracking your filing and getting a copy of your file": after filing; a transparency request for a closed file gets a reply within 1 month
-
Check an electronic copy of a document with its verification code. See "Checking a Spanish document with its verification code (CSV)": whenever you receive or must hand over an electronic document
Documents you may need
Identity and residence
- A copy of your passport — How Spain's online offices (sede electrónica) work, Filing Spanish paperwork before you arrive, from abroad
- Your NIE or foreigner ID card — How Spain's online offices (sede electrónica) work
- Form EX-15 for a NIE request — Filing Spanish paperwork before you arrive, from abroad
- Your identity document — Tracking your filing and getting a copy of your file
Other documents
- The documents you want to send — Submitting an online filing and keeping your receipt
- A digital certificate — Fixing AutoFirma, browser and certificate problems
- Fee form modelo 790 código 012 — Filing Spanish paperwork before you arrive, from abroad
- The electronic administrative document or printed copy you want to check — Checking a Spanish document with its verification code (CSV)
- A backup of your certificate as a .pfx or .p12 file that includes the private — Fixing AutoFirma, browser and certificate problems
Each article lists the other documents it asks for, where you need them.
Filing online and from abroad: questions that cross several articles
Can I file online as a foreigner without Cl@ve or a digital certificate?
Mostly no, because most online filings require identification, but a representative with their own ID, such as a gestor or lawyer, can file for you. Some procedures also allow limited routes, such as a reference number, and paper filing is the fallback. Read "Filing Spanish paperwork before you arrive, from abroad" and "Filing at a registry or post office without an appointment".
Which ID can a foreigner get to file online?
A foreigner can get Cl@ve with a NIE or foreigner ID (TIE), or an FNMT electronic certificate with a NIE or passport. See How Spain's online offices (sede electrónica) work.
What does the receipt (justificante) prove after I file?
The justificante proves that you filed on that date and time, with that content, so it counts as your proof of presentation for deadlines. It shows the registry number, date, time and a verification code, but it does not mean the application will be accepted. See "Submitting an online filing and keeping your receipt" and "Checking a Spanish document with its verification code (CSV)".
Can I file any paperwork at a registry or post office instead of online?
No, paper is not always allowed: companies, professionals with mandatory registration and their representatives must file electronically. Tax and Social Security filings often have their own electronic channel, and some immigration applications use exclusive channels.
What should I do if AutoFirma will not sign close to a deadline?
Try the standard fixes first: reinstall the latest version as administrator, restart, and try another browser such as Chrome or Edge. If it still fails, try another computer or file on paper before the deadline. See "Fixing AutoFirma, browser and certificate problems" and "Filing at a registry or post office without an appointment".
Explore places
Where you live changes the details. See how Spanish regions and cities compare on rent, jobs, weather, safety and healthcare.
What to read next
More in Documents, appointments, translations, and apostilles
Planning your documents for Spain
You will know exactly which documents to collect, whether each needs an apostille or sworn translation, and how to sequence the work so nothing expires before filing day.
Apostilles and legalisation
You will know which route applies to your documents, where to get it, and what to do when a Spanish office refuses it.
Booking appointments (cita previa)
You will know how to find the right office, secure an appointment, arrive prepared and protect yourself when slots run out.
Also in Moving, documents, and setup
Need certainty before you act?
For important relocation decisions, speak with a qualified human specialist.
Always verify important information with the relevant official authority or a qualified adviser before acting. This website uses large language models together with various public data sources, official government documents and other established sources. Due to the amount of data on this website, some information might be wrong. Information may also be incomplete or outdated.