Getting started

This page routes you to the right guide. The guides are grouped the way a filing year actually runs: set up who the taxpayer is, see what is due and when, keep the ledger of what happened, and prepare each filing. Cadrumo is the product; the Agencia Estatal de Administración Tributaria (AEAT) is the external tax authority, and Cadrumo never submits a return or acts as AEAT - read how records become filing-ready figures for that boundary.

Start with the installation guide if the aeat command does not run. For a map of the whole journey from bank records to a filed modelo, read the filing journey. For terminology, use the glossary; for exact options and refusals, the command-line reference.

For an ordinary failure, follow Diagnose and repair and open a public issue with redacted output if the problem remains. Never publish taxpayer data, credentials, or a vulnerability in an issue.

Run through a filing year

Two modelo-based run-throughs carry one example taxpayer through a complete filing year, command by command. Start here to see the whole workflow before running your own.

The income-tax year: Modelo 130 → 100

Four quarterly Modelo 130 instalments, each building on the ones before it, closing with the annual Modelo 100 Renta declaration.

The income-tax year: four instalments and the annual Renta
The IVA year: Modelo 303 → 349 → 390

Four quarterly Modelo 303 returns with the IVA credit carrying between them, a Modelo 349 branch, and the annual Modelo 390 summary.

The IVA year: quarterly returns and the annual summary
Quickstart

Shortest path from profile and ledger to an exported modelo file: one modelo, one period, copy-paste commands.

Quickstart: prepare a modelo filing
Your first quarterly filing

First-time walk-through of one Modelo 130 quarter: import a statement, classify the rows, prepare the draft, and confirm it verifies.

Prepare your first quarterly IRPF filing

Your profile

Who the taxpayer is, and the facts that decide what you owe.

Set up your taxpayer profile

Create, inspect, export, import, rename, or delete taxpayer profiles, and log in to the one you want active.

Set up your taxpayer profile
Authenticate with AEAT

Configure read-only AEAT authentication for live-read workflows.

Authenticate Cadrumo with AEAT
Maintain Modelo 036 census facts

Keep AEAT census facts correct in the active profile.

Maintain Modelo 036 census facts in your profile
Find out which modelos apply

Ask which modelos apply to you and why, from your saved profile facts.

Find out which modelos apply to you
Protect access to your data

Store your passphrase safely, log out, or reset local state.

Protect access to your data

Your calendar

What is due, and when.

Plan your filing calendar

See what may be due, when filing windows open and close, and which period tokens address them.

Plan your filing calendar
Read AEAT notifications

Capture official notifications and read live AEAT data, view-only.

Read AEAT notifications and other live data
Check that a filing is ready

Check readiness, what a filing depends on, its full history, and year-over-year changes.

Check that a filing is ready

Your ledger

The record of what happened: bring transactions in, classify them, and keep the evidence.

Import and manage transactions

Import, add, edit, remove, and review ledger rows.

Import and manage transactions
Classify transactions

Classify rows manually, in bulk, with allocation, or through the review queue.

Classify transactions
Classify with an LLM

Set up a provider, preview and apply suggestions, and classify from an attached invoice.

Classify transactions with an LLM
Attach invoices and receipts

Store invoices and receipts and link them to the transactions they support.

Attach invoices and receipts to ledger transactions
Manage business invoices

Record issued and received invoices and feed intra-community operations to Modelo 349.

Manage business invoices
Correct mistakes in your ledger

Update, remove, split, merge, stash, or archive transactions safely.

Correct mistakes in your ledger
Apply IVA prorrata deductions

Deduct input IVA under general or especial prorrata and declare differentiated sectors.

Apply IVA prorrata deductions

Your filings

The per-modelo work: prepare, review, verify, export, file, and reconcile.

The filing workflow

Understand drafts, verification, export, filing markers, and history.

The filing workflow
Modelo 036

Record an alta, modificacion, or baja you filed at AEAT’s sede.

Record a Modelo 036 declaration you filed at AEAT
Modelo 100 (Renta)

Prepare the annual Renta declaration that gathers the whole year.

Prepare the annual Modelo 100 Renta declaration
Modelo 130

Prepare the quarterly IRPF instalment, cumulative across the year.

Prepare a Modelo 130 IRPF instalment
Modelo 303

Prepare, verify, and export a quarterly IVA return.

Prepare a Modelo 303 IVA filing
Modelo 349

Declare intra-community operations from your invoice records.

Prepare a Modelo 349 recapitulative declaration
Modelo 390

Prepare the annual IVA summary.

Prepare the annual Modelo 390 IVA summary
Review calculation inputs

Review which form boxes were filled, supply missing values, and handle offsets.

Review and supply calculation inputs
Review with Google Sheets

Export, edit, and pull back modelo calculations using a Google Sheets spreadsheet.

Review calculations with Google Sheets
Verify a filing

Run verification, read the report findings, and fix what blocks export.

Verify a draft filing and act on the findings
File at AEAT

Export the file, upload it at the AEAT portal yourself, record, and reconcile.

File your modelo at the AEAT portal
Reconcile a filing

Pull and store the AEAT justificante, then compare it with your local filing record.

Reconcile a filed modelo against its justificante

Tools and help

Connect an agent (MCP)

Expose the toolset to Claude or any MCP client, with the safety boundary intact.

Connect an agent (MCP)
Troubleshooting

Fix active-profile, storage, registry, and authentication problems.

Diagnose and repair your local setup
Publish runtime authority

Publish and verify a signed registry authority as a release operator.

How to publish a validated runtime authority