Brian Mena
All cases

Módulos IRPF, own project

Top source in AI answers for «tabla amortización estimación objetiva»

Calculate your IRPF & IVA módulos for free — without sending your data to any server

The figures

Activities coveredFull Anexo II, Orden HAC/1425/2025
81
Unit tests32 files, all calculation phases
1,956
Calculator typesIRPF, agricultural, multi-activity, entities
4

Data as of 13 October 2026

68.7%

Top source in AI answers for «tabla amortización estimación objetiva»

68.7% authority share

Microsoft Clarity · Copilot and associated services, April to October 2026.

The problem

Self-employed workers on módulos face a 4-phase IRPF calculation with incompatibility rules between correction indices. Existing tools are paid, require registration, or send financial data to servers. Official AEAT documentation is dense legal text, not a usable calculator.

What I did

Step-by-step wizard: select your activity, enter modules, apply corrections, and get phase-by-phase results. Every formula verified against Agencia Tributaria reference values. Complete privacy: zero data transmission, everything runs in your browser.

The result

81 static pages capture long-tail traffic for "módulos [activity name]" searches. Bidirectionally linked with conversoriaecnae.es for mutual topical authority reinforcement. Editorial blog with Sanity CMS covering objective estimation topics. Shared newsletter with the fiscal ecosystem for audience retention.

The same, for your business

  • A clinic that shows up first when people search «dentist near me».
  • A garage that gets calls from Maps.
  • A law firm that comes up when someone asks an AI assistant.
Technical details

Architecture

  • 4-phase IRPF calculation pipeline: base yield, incentives, correction indices with incompatibility rules, and blanket reduction
  • 1,956 unit tests across 32 files covering all calculation phases, edge cases, and legal compliance scenarios
  • 100% client-side architecture — zero API calls for financial data, privacy by design
  • Programmatic SEO: 81 SSG activity pages with structured JSON-LD and dynamic sitemap

Technical decisions

  • Client-side calculations instead of server: complete privacy, no data liability, works offline
  • 4-phase pipeline mirroring the legal structure: direct maintainability and testability against the regulation
  • Vitest with 1,956 tests verified against AEAT reference values for IAE codes 642.6 and 672.1
  • Programmatic SEO for 81 activities: each code gets its own page with modules and data table, capturing long-tail traffic

How it was built

Built solo, translating dense legal text (Orden HAC/1425/2025) into a usable calculator. The biggest technical challenge: implementing the 4-phase pipeline with incompatibility rules between correction indices (seasonal + new activity cannot combine, small business + excess cannot combine). The 1,956 tests were built verifying against official AEAT reference values for IAE codes 642.6 and 672.1. Integrates into the fiscal ecosystem alongside conversoriaecnae.es and gestoriascercademi.com.

Tech stack

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS v4
  • Vitest
  • Playwright
  • Supabase
  • Sanity
  • Vercel

Features

  • Your financial data never leaves your browser — 100% client-side calculations
  • 4 calculators: standard, agricultural, multi-activity, and entity attribution
  • Dynamic forms that adapt to your specific activity modules
  • Quarterly fractional payment estimates (Modelos 131/303) included
  • 81 activity pages with module breakdowns and CNAE cross-references
Subscribe to the tax newsletterGet weekly tax guides for Spanish freelancers