Skip to content

docs(antichurning): warn that a London-only share needs a manual check, since the engine gives every ISIN 2 months - #462

Merged
GeiserX merged 1 commit into
mainfrom
fix/antichurning-452-notes
Nov 18, 2026
Merged

GeiserX merged 1 commit into
mainfrom
fix/antichurning-452-notes

Conversation

@GeiserX

@GeiserX GeiserX commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Problem

DeclaRenta does not know which market a security trades on. It applies the 2-month anti-churning window to every security with an ISIN (#452). The law gives 1 year to a share listed only in London, on SIX, in Toronto, in Tokyo or on OTC Markets.

docs/casillas.md and the FAQ already say this. Three other places state the 1-year rule as if the engine applied it:

  • the «Regla anti-churning» line in docs/modelos-fiscales.md;
  • the Renta Web guide hint on blocked losses, in all 5 locales;
  • the warning hint for sales whose window runs past the uploaded data. It gives a "latest" end date computed with 2 months. For a London-only share, the real window runs to one year after the sale.

So a user with a London-only share and a repurchase 3 months after a loss sale would see no blocked loss and no prompt to check. CodeRabbit found this in its review of #461's exact diff on the geiresx fork mirror.

Fix

Text only. No engine change and no change to any number.

…rever the 1-year rule is stated, so a London-only repurchase gets a manual check (#452)
@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@GeiserX
GeiserX merged commit f114d6d into main Nov 18, 2026
5 of 6 checks passed
@GeiserX
GeiserX deleted the fix/antichurning-452-notes branch November 18, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant