- Home
- Skills
- APIs & Backend
- Autónomo España: Modelo 303, 130 y 390 desde tus CSV
Autónomo España: Modelo 303, 130 y 390 desde tus CSV
by Ignasi
Calcula los modelos 303, 130 y 390 para autónomos españoles en estimación directa.
Free
Autónomo España: Modelo 303, 130 y 390 desde tus CSV
Example session with this skill installed
Calcula el 3T de 2026. Tengo 5000€ en ventas (21% IVA, 15% retención) y 1200€ en gastos deducibles (21% IVA). He pagado 450€ en el 130 durante el año.
- Read your context and instructions
- Compiled the aut nomo espa
- Generated the data export
Procesadas las facturas para el tercer trimestre de 2026. Se han aplicado los criterios de estimación directa simplificada y se han verificado los totales acumulados para el cálculo del IRPF.
Informe Fiscal 3T 2026
| Concepto | Detalle | Importe |
|---|---|---|
| Modelo 303 (IVA) | ||
| IVA Devengado | 5.000,00 € al 21% | 1.050,00 € |
| IVA Deducible | 1.200,00 € al 21% | 252,00 € |
| Resultado 303 | A ingresar | 798,00 € |
| Modelo 130 (IRPF) | ||
| Ingresos Acumulados | Total bases ventas | 5.000,00 € |
| Gastos Deducibles | Total bases gastos | 1.200,00 € |
| Rendimiento Neto | Ingresos - Gastos | 3.800,00 € |
| Pago Fraccionado (20%) | 3.800,00 € * 0.20 | 760,00 € |
| Retenciones Soportadas | 5.000,00 € * 0.15 | -750,00 € |
| Pagos Previos 130 | Trimestres anteriores | -450,00 € |
| Resultado 130 | A deducir en próximos | -440,00 € |
Avisos:
- El resultado del Modelo 130 es negativo. Se presenta con resultado 0,00 € y la cantidad de -440,00 € queda pendiente para minorar futuros pagos del mismo ejercicio.
- Se ha verificado que la cuota de autónomo (RETA) debe incluirse en los gastos deducibles de IRPF si no estaba en el CSV.
- Asegúrate de que las facturas de gastos contienen tu NIF y nombre completo; de lo contrario, el IVA de 252,00 € no será deducible.
Plazo:
- Presentación disponible hasta el 20/10/2026.
- Fecha límite para domiciliación bancaria: 15/10/2026.
Next steps
- Exporta el desglose a CSV usando
modelos.py --emitidas emitidas.csv --gastos gastos.csv --trimestre 3 --anio 2026 --pagos-previos-130 450.00. - Accede a la Sede Electrónica de la AEAT para volcar las casillas en el formulario Pre303.
- Confirma si existen gastos de suministros (luz, agua) para aplicar el porcentaje de afectación a la vivienda.
emitidas.csv
CSV · data export
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing quarterly taxes for Spanish freelancers (Autónomos) involves tedious manual calculations and tracking deadlines across multiple forms. This skill automates the data processing required for quarterly tax filings directly from your invoice data.
What it does
- Prepares Model 303 by calculating VAT totals for accrued and deductible amounts across different tax rates.
- Calculates Model 130 using the accumulated net yield method, accounting for the 20% fractional IRPF payment.
- Generates Model 390 summaries by aggregating quarterly data for the annual VAT reconciliation.
- Validates deductibility by checking expense requirements, including specific rules for home office supplies and mixed-use assets.
- Monitors deadlines providing specific filing windows and domiciliation dates for each quarter.
How it works
- Provide source data in CSV or Excel format containing issued invoices and received expenses with NIF and tax breakdowns.
- Specify parameters including the specific quarter, year, and any IRPF payments already made in previous quarters of the same year.
- Execute calculations via the
modelos.pyscript to map raw data to specific AEAT form boxes. - Review the tax report which highlights VAT outcomes, IRPF balances, and warnings for questionable invoices.
Frameworks & tools
The skill utilizes a Python-based calculation engine (modelos.py) designed to process structured financial data from CSV or Excel files. It follows the official AEAT (Agencia Tributaria) calculation logic for Estimación Directa.
Why this beats prompting it yourself
Standard LLM prompts often hallucinate tax calculations or fail to track accumulated IRPF balances across quarters. This skill uses a deterministic script for the math while the agent handles the complex nuances of Spanish tax deductibility rules that generic models miss.
Use cases
- Preparing the 3T quarterly filing from monthly export files.
- Determining if an expense is IRPF-deductible versus VAT-deductible for home office utilities.
- Calculating the final 4T settlement and the annual 390 summary.
- Verifying if the 70% retention threshold is met to exempt the user from Model 130.
Known limitations
Does not support prorrata or recargo de equivalencia. Designed for Estimación Directa only. Requires invoices to be formatted with specific columns like base, IVA quota, and NIF.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 11 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in APIs & Backend
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.