Official data and documents API

API for retrieving the personal income tax return (IRPF, modelo 100)

Official name: Declaración de IRPF (modelo 100), último ejercicio

Verify declared income with the latest IRPF return filed with the Agencia Tributaria. The data subject authorises it with Cl@ve and you receive the amounts as data, alongside the original files.

Available Individuals

What data it retrieves

The response includes the latest personal income tax return filed by the data subject:

  • Return identification: tax year, filing date, receipt number, secure verification code and type of taxation.
  • Data subject and spouse: identification and name of the persons who appear on the return.
  • Tax bases, liabilities and result: general and savings taxable bases and net taxable bases, state and regional tax liabilities, withholdings and payments on account, and the amount payable or refundable.
  • Original files: the filed XML and the PDF receipt, encoded in Base64.
{
  "success": true,
  "payload": {
    "tax_returns": [
      {
        "model": "100",
        "fiscal_year": 2025,
        "filing_date": "2026-05-14",
        "filing_type": "individual",
        "general_taxable_base": 38250.17,
        "savings_taxable_base": 412.6,
        "result_amount": -1284.36,
        "secure_verification_code": "QJ7M4KXT9PLD2WHV",
        "xml_file": "PD94bWwgdmVyc2lvbj0i…",
        "pdf_file": "JVBERi0xLjcK…"
      }
    ]
  }
}

Excerpt from the response. The values are illustrative.

What it is used for

  • Lending and mortgages. Check the income the applicant declares against their official return.

  • Rental. Assess a tenant’s creditworthiness from their income tax return, with no forwarded documents.

  • Risk engines. Feed your models with normalised amounts, without transcribing boxes by hand.

How to integrate it through an API

The flow is the same for every document in the catalogue, on the Wealthreader API.

  1. Your system calls the API with your API key and the document code.

  2. The data subject identifies themselves and authorises the request.

  3. Your system repeats the call with the same session and collects the data and the original document.

View the integration guide
curl https://api.wealthreader.com/entities/ \
  -d api_key=$API_KEY \
  -d code=modelo100

What authorisation is required

The data subject scans a QR code with the Cl@ve app and approves the request. They share no passwords with you or with Govreader.

View security and compliance

Points to note

  • The most recent return the data subject has filed is returned.
  • The return reflects what the taxpayer filed. If you need the document issued by the Agencia Tributaria, use the IRPF tax certificate.

See how Govreader fits your process

We review your use case and available coverage to show you the identification, retrieval and response flow you need.

Request a demo