Digital certificate

A digital certificate in Spain is an electronic credential that proves your identity online. It allows individuals and businesses to securely access and interact with official websites and services, including the Spanish tax authority (Agencia Tributaria), social security systems, and many other public or semi-public platforms.

Digital certificates are essential for submitting tax returns, checking tax account status, filing company documentation, and performing many other compliance activities online.

What a digital certificate does

A digital certificate acts like a trusted digital identity card. It:

  • Confirms your identity online
  • Allows you to sign documents electronically
  • Enables secure transmission of data to authorities
  • Makes it possible to complete official procedures without visiting offices in person

For expats and remote users, the digital certificate is often the key to interacting with Spanish systems from abroad.

How digital certificates are used

Common uses of a digital certificate include:

  • Filing tax returns with the Spanish tax authority
  • Submitting payroll and social security filings
  • Registering or updating business information
  • Interacting with town halls (ayuntamientos) and regional platforms
  • Signing official documents electronically

Without a digital certificate, you may be limited to in-person procedures or use of a representative with power of attorney.

Types of digital certificates

There are several types of digital certificates available in Spain, including:

  • Personal certificates for individuals
  • Company certificates for legal entities
  • Representative certificates allowing third parties to act on your behalf

Certificates are usually issued by a recognised certification authority that is trusted by Spanish government platforms.

How to obtain a digital certificate

To obtain a digital certificate, you generally need to:

  1. Apply through an authorised certification authority
  2. Verify your identity (often in person or via video calling where permitted)
  3. Download and install the certificate on your browser or device
  4. Use it to log in to official platforms

Some organisations also allow certificates to be stored in secure external devices.

Why digital certificates matter for accounting & tax

For anyone dealing with Spanish compliance (tax returns, social security filings, corporate reporting), a digital certificate:

  • Makes remote compliance possible
  • Reduces the need for physical appointments
  • Helps with faster submission and acknowledgment of filings
  • Allows authorised representatives to act on your behalf

Especially for expats, having a digital certificate prior to key deadlines simplifies the whole process.

Common pitfalls

Some common mistakes when dealing with digital certificates include:

  • Installing the certificate in the wrong browser
  • Failing to renew before expiry
  • Misplacing backup copies
  • Not understanding certificate scope (whether it covers personal or business filings)

Professional setup and guidance help avoid these issues.

Read our guide on digital certificates

This glossary page explains the basics of digital certificates, but how you obtain, store, and use yours can vary depending on the authority and purpose.

For a detailed step-by-step guide — including which authorities issue them, identity verification options, and how to install and use certificates for tax filings — see our in-depth guide:

Digital certificates in Spain: how to obtain and use them for tax and legal compliance

Related accounting & tax terms

Tax registration in Spain

Modelo 030

Spanish tax residency

Spanish income tax (IRPF)

Non-resident income tax

Double taxation agreements