Repository navigation
docs(antichurning): warn that a London-only share needs a manual check, since the engine gives every ISIN 2 months - #462
Merged
Conversation
…rever the 1-year rule is stated, so a London-only repurchase gets a manual check (#452)
Contributor
|
Caution Review failedThe pull request is closed.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdand the FAQ already say this. Three other places state the 1-year rule as if the engine applied it:docs/modelos-fiscales.md;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
report.tswrites the same Spanish text ases.ts.docs/modelos-fiscales.mdand the «Qué no hace» list indocs/index.mdstate the same limitation and link Regla de los 2 meses: los valores que solo cotizan fuera de un mercado regulado del EEE o equivalente (Londres desde 2021, SIX, OTC) deberían usar 1 año (art. 33.5.g) #452.guide-consistency.test.tspins the note in every locale, inreport.tsand in both docs. Without the text changes the new test fails.Text only. No engine change and no change to any number.